Directory Sparql Service
From n² wiki
Represents a sparql endpoint for the directory
- URI
- http://api.talis.com/1/dir/sparql
- Allowed Methods
- GET, POST
- Status
- Public
- Public Documentation
- http://www.talis.com/tdn/platform/reference/api/directory-sparql
[edit] GET and POST
Required Parameters
- query – the Sparql query to perform. Either this query_uri must be supplied.
- query_uri – specify a url from which the query can be retrieved. Either this query must be supplied.
- api_key – the user’s API key
Optional parameters
- xsl – the URL of an XSL stylesheet to apply to the output
- output – specify an output format for the results. By default, SELECT and ASK queries will return the results in the SPARQL Query Results XML Format. CONSTRUCT and DESCRIBE queries will return an RDF graph in the RDF/XML syntax. Other supported options:
- xml – applies to SELECT queries only, this returns output in the same SPARQL Query Results XML Format as the default option, but overrides the mimetype to text/plain (useful for debugging)
- json – applies to SELECT queries only, return the results in JSON according to the draft specification Serializing SPARQL Query Results in JSON
- callback – if JSON output has been specified, supplying a function name in the callback parameter wraps the output text in parentheses and a function of that name.

