Skip to content

Instantly share code, notes, and snippets.

@AlBaker
Created January 28, 2013 02:44
Show Gist options
  • Save AlBaker/4652608 to your computer and use it in GitHub Desktop.
Save AlBaker/4652608 to your computer and use it in GitHub Desktop.
Stardog Add and Remove triples example
// insert and remove
stardog.insert([["urn:test3", "urn:test:predicate", "hello world"],
["urn:test4", "urn:test:predicate", "hello world2"]])
stardog.remove(["urn:test3", "urn:test:predicate", "hello world"])
stardog.remove(["urn:test4", "urn:test:predicate", "hello world2"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment