Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cellar: Semantic Database of EU Law - Diplohack Brussels

506 views

Published on

Cellar: Semantic Database of EU Law, presentation by the Publications Office. This presentation was part of the Diplohack Brussels Data Market on 29-30 April 2016.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Cellar: Semantic Database of EU Law - Diplohack Brussels

  1. 1. Cellar: semantic DB of EU Law fulgencio.sanmartin@publications.europa.eu Publications Office Bruxelles, 29.04.2015
  2. 2. http://publications.europa.eu/webapi/rdf/sparql 2/x
  3. 3. List of countries http://publications.europa.eu/webapi/rdf/sparql 3/x
  4. 4. prefix cdm: <http://publications.europa.eu/ontology/cdm#> prefix eurovoc: <http://eurovoc.europa.eu/schema#> prefix skos: <http://www.w3.org/2004/02/skos/core#> SELECT ?country_name ?law ?year WHERE { ?code a eurovoc:Country . ?code skos:prefLabel ?country_name . FILTER(LANGMATCHES(LANG(?country_name), "en")) . ?law cdm:work_is_about_concept_eurovoc ?code . ?law cdm:resource_legal_year ?year . ?code skos:inScheme <http://eurovoc.europa.eu/100280> . } ORDER BY asc( ?country_name ) desc( ?year ) 4/x List of African countries and related EU laws per year SPARQL query
  5. 5. 5/x List of African countries and related EU laws per year (results in csv, json, turtle…) country_name,"num_of_laws","year" Algeria,3,2015-01-01 Algeria,11,2014-01-01 Algeria,15,2013-01-01 Algeria,18,2012-01-01 Algeria,34,2011-01-01 Algeria,15,2010-01-01 Algeria,2,2009-01-01 Algeria,3,2008-01-01 Algeria,12,2007-01-01 Algeria,6,2006-01-01 Algeria,13,2005-01-01 Algeria,6,2004-01-01
  6. 6. 6/x List of African countries and related EU laws per year csv in CartoDB
  7. 7. Cellar: semantic DB of EU Law  1.5 billion triples { subject property object }  Ontology (structure of DB): <http://publications.europa.eu/mdr/resource/cdm/>  Authority tables in 24 languages: currencies, places, corporate bodies… <http://publications.europa.eu/mdr/authority/index.html>  Cellar REST API reference: <http://publications.europa.eu/en/web/access-reuse- conference/reuse-workshop> 7/x
  8. 8. Cellar: semantic DB of EU Law fulgencio.sanmartin@publications.europa.eu Publications Office Bruxelles, 29.04.2015

×