SPARQLer

# SPARQLer - An RDF Query Demo

Example queries (or edit and write your own!). All the text boxes invoke the same "books" service - they just get initialised with different examples.

SELECT - get variables (apply XSLT stylesheet)

PREFIX books: <http://example.org/book/> PREFIX dc: <http://purl.org/dc/elements/1.1/> SELECT ?book ?title WHERE { ?book dc:title ?title }
Output:
XSLT style sheet (blank for none):
Force the accept header to `text/plain` regardless

CONSTRUCT - return a graph

PREFIX dc: <http://purl.org/dc/elements/1.1/> CONSTRUCT { $book dc:title $title } WHERE { $book dc:title $title }