hsparql

A SPARQL query generator and DSL, and a client to query a SPARQL server.

https://github.com/robstewart57/hsparql

Latest on Hackage:0.3.8

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Jeff Wheeler, Rob Stewart
Maintained by Rob Stewart

hsparql includes a DSL to easily create queries, as well as methods to submit those queries to a SPARQL server, returning the results as simple Haskell data structures. Supports SELECT, CONSTRUCT, ASK and UPDATE queries. Example queries are included in the tests: https://github.com/robstewart57/hsparql/blob/master/tests/DBPedia.hs.