← ClaudeAtlas

eu-sparql-searchlisted

Search EU legislation, publications and CJEU case law using the Publications Office SPARQL endpoint and Cellar knowledge graph (CDM ontology). Use this skill whenever the user wants to find EU acts (regulations, directives, decisions), search EUR-Lex by CELEX number, date or subject, retrieve CJEU rulings, download EU documents in specific languages or formats, or build SPARQL queries against https://publications.europa.eu/webapi/rdf/sparql. Also trigger when the user asks about EU law programmatically, wants to query Cellar metadata, or mentions CDM ontology, EUR-Lex, EU publications, or SPARQL + EU/legislation.
matematicsolutions/awesome-matematic-skills-pl · ★ 0 · AI & Automation · score 60
Install: claude install-skill matematicsolutions/awesome-matematic-skills-pl
# EU SPARQL Search - Cellar / EUR-Lex ## Endpoint ``` https://publications.europa.eu/webapi/rdf/sparql ``` Accepts HTTP GET and POST. Key parameters: - `query` - SPARQL query string (URL-encoded) - `format` - output format (see below) - `timeout` - milliseconds (use ~30000 for safety) ## CDM Data Model Every document exists at 4 levels: ``` Work <- abstract document (e.g. "Regulation 2016/679") Expression <- language version (e.g. Polish, English) Manifestation <- file format (pdfa2a, fmx4, xhtml) Item <- downloadable file URL ``` Main ontology prefix: `cdm:` -> `http://publications.europa.eu/ontology/cdm#` ## Standard Prefixes (include in every query) ```sparql PREFIX cdm: <http://publications.europa.eu/ontology/cdm#> PREFIX annot: <http://publications.europa.eu/ontology/annotation#> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ``` ## Key CDM Properties | Property | Description | Example value | |---|---|---| | `cdm:work_has_resource-type` | Document type URI | see Resource Types below | | `cdm:resource_legal_id_celex` | CELEX number | `"32016R0679"` | | `cdm:work_date_document` | Document date | `"2016-04-27"^^xsd:date` | | `cdm:resource_legal_in-force` | Currently in force | `"true"^^xsd:boolean` | | `cdm:expression_uses_language` | Language resource |