GET /{BASE}/ldpath/pathEvaluate a single LDPath selection using the path passed as argument and starting at the resource identified
by the uri. Returns a list of RDF Nodes using the same syntax as RDF/JSON, i.e.
-
{ "type": "uri", "value": "..." } for resources
{ "type": "literal", "value": "...", "language": "...", "datatype": "..."} for literals (datatype and language optional)
- HTTP Example:
GET /{BASE}/ldpath/path?path=…&uri=… | - API Example:
LDPathWebService.evaluatePathQuery({'path': , 'uri': }); |
- Output:
- Response - a list of RDF Nodes using the same syntax as RDF/JSON
- Query parameters:
- path - the LDPath expression to evaluate
- uri - the URI of the resource from which to start the resource
- Produces:
- application/json
- HTTP return codes:
- 404 - in case the resource with the given URI does not exist
- 400 - in case the path could not be parsed or the resource is not a valid URI
- 200 - in case the query was evaluated successfully
|
{ "type": "uri", "value": "..." }
for resources{ "type": "literal", "value": "...", "language": "...", "datatype": "..."}
for literals (datatype and language optional)