Skip to content

Instantly share code, notes, and snippets.

@AlBaker
Last active August 29, 2015 13:57
Show Gist options
  • Save AlBaker/9560881 to your computer and use it in GitHub Desktop.
Save AlBaker/9560881 to your computer and use it in GitHub Desktop.
@Grab('com.complexible.stardog:stardog-groovy:2.1.2')
import com.complexible.stardog.ext.groovy.Stardog
def stardog = new Stardog([url: "snarl://localhost:5820/", to:"testdb", username:"admin", password:"admin"])
stardog.query("select ?x ?y ?z WHERE { ?x ?y ?z } LIMIT 2", { println it } )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment