EU Publications Office Cellar: SPARQL Query
cellar/sparql-select
Runs a read-only SPARQL SELECT query against Cellar, the Publications Office of the European Union's repository of EU legal acts, treaties, case law and publications (CDM ontology). You write the SPARQL, for example PREFIX cdm: <http://publications.europa.eu/ontology/cdm#> SELECT ?work ?date WHERE { ?work cdm:work_date_document ?date } LIMIT 5. The answer is the standard SPARQL JSON result: `head.vars` and `results.bindings`, one object per solution with each variable as {type, value} (plus datatype or xml:lang). The query must end with LIMIT n (1 to 100), optionally followed by OFFSET m; page with OFFSET. SELECT only (PREFIX lines allowed before it), at most 2000 characters, no SERVICE clause. A query that matches nothing returns empty bindings. Use celex-lookup for the common case of one act by its CELEX number.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
Publications Office of the European Union
Data from the Publications Office of the European Union (Cellar), reusable with the source acknowledged under the Office's copyright notice (https://op.europa.eu/en/web/about-us/legal-notices/publications-office-of-the-european-union-copyright), passed through unmodified. Served by Eden Engine; not an official Publications Office product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "cellar/sparql-select" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "cellar/sparql-select" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "cellar/sparql-select", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "cellar/sparql-select", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 25, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"pattern": "^(?![\\s\\S]*(?:(?:^|[^A-Za-z?$:])[Ss][Ee][Rr][Vv][Ii][Cc][Ee](?![A-Za-z0-9_.-]*:)|\\\\[uU]))(\\s*([Pp][Rr][Ee][Ff][Ii][Xx]\\s+[A-Za-z0-9_.-]*:\\s*<[^<>\\s]*>|[Bb][Aa][Ss][Ee]\\s*<[^<>\\s]*>))*\\s*[Ss][Ee][Ll][Ee][Cc][Tt]\\b[\\s\\S]*\\b[Ll][Ii][Mm][Ii][Tt]\\s+([1-9][0-9]?|100)(\\s+[Oo][Ff][Ff][Ss][Ee][Tt]\\s+[0-9]{1,7})?\\s*$",
"maxLength": 2000,
"minLength": 20,
"description": "A SPARQL SELECT query of at most 2000 characters that ends with LIMIT n (n from 1 to 100), optionally followed by OFFSET m, for example SELECT ?s ?p ?o WHERE {?s ?p ?o} LIMIT 5. PREFIX or BASE lines may come first. A query without the LIMIT, one with a limit above 100, one that is not a SELECT, one containing a SERVICE clause, or one containing a Unicode escape sequence (a backslash followed by u or U) is refused before any call is made; a query the SPARQL parser rejects is refused as invalid."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"head",
"results"
],
"properties": {
"head": {
"type": "object",
"properties": {
"vars": {
"type": "array",
"items": {
"type": "string"
},
"description": "The selected variable names."
}
},
"additionalProperties": true
},
"results": {
"type": "object",
"required": [
"bindings"
],
"properties": {
"bindings": {
"type": "array",
"items": {
"type": "object",
"description": "One solution: each selected variable maps to {type, value}, plus xml:lang or datatype where the term has one.",
"additionalProperties": true
},
"description": "One object per solution; empty when the query matches nothing."
}
},
"additionalProperties": true
}
},
"description": "The standard SPARQL 1.1 JSON result of the SELECT query.",
"additionalProperties": true
}