Last active
August 29, 2015 14:22
-
-
Save daniel-dgi/a9335b5080fafb8f86c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== FIRST QUERY === | |
PREFIX dc: <http://purl.org/dc/terms/> | |
DELETE WHERE | |
{ | |
<> dc:title ?o0 . | |
} ; | |
INSERT DATA { | |
<> dc:title "Stuff" . | |
} | |
=== SECOND QUERY === | |
=== FIRST TIME YOU RUN THIS YOU'LL GET BOTH TITLES INSTEAD OF UPDATING === | |
=== RUN A SECOND TIME AND IT WORKS FINE === | |
PREFIX dc: <http://purl.org/dc/terms/> | |
DELETE WHERE | |
{ | |
<> dc:title ?o0 . | |
<> dc:author ?o1 . | |
} ; | |
INSERT DATA { | |
<> dc:title "Things" . | |
<> dc:author "Danny" . | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment