Created
December 8, 2013 19:25
-
-
Save AlBaker/7862684 to your computer and use it in GitHub Desktop.
This file contains 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
// Accepts the SPARQL Update queries | |
stardog.update("DELETE { ?a ?b \"hello world2\" } INSERT { ?a ?b \"aloha world2\" } WHERE { ?a ?b \"hello world2\" }") | |
def list = [] | |
stardog.query("SELECT ?x ?y ?z WHERE { ?x ?y \"aloha world2\" } LIMIT 2", { list << it } ) | |
assertTrue(list.size == 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment