Skip to content

Instantly share code, notes, and snippets.

@AlBaker
Created April 21, 2014 02:23
Show Gist options
  • Save AlBaker/11130603 to your computer and use it in GitHub Desktop.
Save AlBaker/11130603 to your computer and use it in GitHub Desktop.
;; Graph results converted into Clojure data using the values methods
(with-open [c (connect test-db-spec)]
(let [g (graph c "CONSTRUCT { <urn:test> ?p ?o } WHERE { <urn:test> ?p ?o } ")]
g) => (list [(as-uri "urn:test") (as-uri "urn:test:clj:prop3") "Hello World"]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment