Matsu is a DSL for constructing SPARQL queries: (query (select :person) (where :person a [:foaf "Person"] \; [:foaf "mbox"] (URI. "mailto:m...@me.com") \.))
Which would yield the following string (but not formatted with tabs & newlines): PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?person WHERE { ?person a foaf:Person ; foaf:mbox <mailto:m...@me.com> . } I'm very interested to get feedback - if anoyne has interest in RDF & SPARQL, and has any ideas on how to improve the syntax. Check out the github repo for more examples on usage: https://github.com/boutros/matsu In particular see doc/example.clj for an example repl session querying the DBpedia SPARQL endpoint Thanks, Petter -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en