GET /{BASE}/sparql/selectExecute a SPARQL 1.1 tuple query on the LMF triple store using the query passed as query parameter to the
GET 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/
- HTTP Example:
GET /{BASE}/sparql/select?query=…&output=… | - API Example:
SparqlWebService.selectGet({'query': , 'output': }); |
- Output:
- Response - the query result in the format passed as argument
- Query 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
|
POST /{BASE}/sparql/selectExecute 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/
- HTTP Example:
POST /{BASE}/sparql/select?output=…
query=… | - API Example:
SparqlWebService.selectPostForm({'output': , 'query': }); |
- Output:
- Response - the query result in the format passed as argument
- Query parameters:
- output - the format for serializing the query results ("html", "json", or "xml")
- Form parameters:
- query - the SPARQL 1.1 Query as a string parameter
- Consumes:
- application/x-www-url-form-urlencoded
- application/x-www-form-urlencoded
- HTTP return codes:
- 200 - in case the query was executed successfully
- 500 - in case there was an error during the query evaluation
|
POST /{BASE}/sparql/selectExecute a SPARQL 1.1 tuple query on the LMF triple store using the query passed in the body of 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/
- HTTP Example:
POST /{BASE}/sparql/select?output=… | - API Example:
SparqlWebService.selectPost({'output': }); |
- Output:
- Response - the query result in the format passed as argument
- Query parameters:
- output - the format for serializing the query results ("html", "json", or "xml")
- Consumes:
- */*
- HTTP return codes:
- 200 - in case the query was executed successfully
- 500 - in case there was an error during the query evaluation
|