The following API calls are available using GET or POST requests against the following server's address:
http://sparqlpedia.org:8080/tbl/tbl/actions
This service is free to the public and not limited by a daily quota.
Adds a new query entry to the repository.
Arguments:
| Name | Description |
| action | ="sparqlmotion" |
| id | ="submitQuery" |
| text | The SPARQL expression string. Must be a valid ASK, CONSTRUCT, DESCRIBE or SELECT query. The server uses Jena ARQ to parse the query, and most of the ARQ extensions will be understood, including LET, COUNT and property paths. |
| comment | A human-readable description that summarizes what the query does. |
| userName | The name of the user submitting the query. |
| password | The password of the user. |
Result: The URI that identifies the new query entry (string).
Deletes a previously added query from the repository.
Arguments:
| Name | Description |
| action | ="sparqlmotion" |
| id | ="deleteQuery" |
| uri | The URI of the query entry to delete. |
| password | The password of the user who has submitted the query. |
Result: "OK" (string) or an HTTP error code if the arguments were invalid.
Finds queries that match the provided search criteria. All search criteria are optional, but at least one criteria must be specified.
Arguments:
| Name | Description |
| action | ="sparqlmotion" |
| id | ="findQueries" |
| namespace | A namespace that must be mentioned in the query. |
| nodes | A comma-separated list of URIs that must be mentioned in the query. For example, "http://aldi.de,http://lidl.de" will find all queries that mention these two resources at the same time. |
| submitter | The name of the submitter to match. |
Result: A constructed RDF model in RDF/XML serialization.