Path: / {BASE} / sparql / snorql

Execute a SPARQL 1.1 tuple query on the LMF triple store using the query passed as form parameter to the POST request. Result will be formatted using the result type passed as argument (either "html", "json" or "xml").

see SPARQL 1.1 Query syntax at http://www.w3.org/TR/sparql11-query/


Method Summary
ResourceDescription
POST /{BASE}/sparql/snorqlExecute a SPARQL 1.1 tuple query on the LMF triple store using the query passed as form parameter to the POST request.

Method Detail
HTTP Example:
POST /{BASE}/sparql/snorql

query=…&output=…
API Example:

SparqlWebService.snorqlPost({'query': /* query the SPARQL 1.1 Query as a string parameter */,
  'output': /* resultType the format for serializing the query results ("html", "json", or "xml") */});

Execute a SPARQL 1.1 tuple query on the LMF triple store using the query passed as form parameter to the POST request. Result will be formatted using the result type passed as argument (either "html", "json" or "xml").

see SPARQL 1.1 Query syntax at http://www.w3.org/TR/sparql11-query/

Output:
javax.ws.rs.core.Response - the query result in the format passed as argument
Form parameters:
query - the SPARQL 1.1 Query as a string parameter
output - the format for serializing the query results ("html", "json", or "xml")
HTTP return codes:
200 - in case the query was executed successfully
500 - in case there was an error during the query evaluation