Cellar Sparql
cellar_sparqlRun your own read-only SPARQL SELECT or ASK against the Publications Office of the European Union CELLAR endpoint, for EU-document questions no purpose-built tool covers, citation graphs, amendment chains, EuroVoc concept traversal, cross-institution counts. The Common Data Model prefix cdm: is http://publications.europa.eu/ontology/cdm#. Writes (INSERT/DELETE/LOAD/CLEAR) are refused, and results are capped.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 5,
"query": "PREFIX cdm: <http://publications.europa.eu/ontology/cdm#>\nSELECT ?celex ?date WHERE { ?w cdm:resource_legal_id_celex ?celex ; cdm:work_date_document ?date . FILTER(?date > \"2026-01-01\"^^<http://www.w3.org/2001/XMLSchema#date>) }"
},
"name": "cellar_sparql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (default 50, max 500). Applied on top of any LIMIT already in the query. | |
| query | Yes | A SPARQL SELECT or ASK query. Virtuoso full-text search is available as `?lit bif:contains "'phrase'"`. CELEX literals are typed xsd:string, a plain string will match nothing. |