EU Datathon : National and EU law using ELI

Slides:



Advertisements
Similar presentations
Building a Semantic IntraWeb with Rhizomer and a Wiki Roberto Garcia and Rosa Gil GRIHO (Human Computer Interaction Research Group) Universitat de Lleida,
Advertisements

Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
EU Open Data Portals and Infrastructures Open EU Publications Office Luca Martinelli Publications Office of the European Union Seminar Open Government.
UKOLN, University of Bath
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
ELI Ontology V1.0. LegalResource LegalExpression Format Can be expressed in various Can be published in various Is expressed in concrete files Can contain.
Developing a Metadata Exchange Format for Mathematical Literature David Ruddy Project Euclid Cornell University Library DML 2010 Paris 7 July 2010.
 Copyright 2004 Digital Enterprise Research Institute. All rights reserved. SPARQL Query Language for RDF presented by Cristina Feier.
CSCI 572 Project Presentation Mohsen Taheriyan Semantic Search on FOAF profiles.
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
ReQuest (Validating Semantic Searches) Norman Piedade de Noronha 16 th July, 2004.
Semantic Web Presented by: Edward Cheng Wayne Choi Tony Deng Peter Kuc-Pittet Anita Yong.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
Information Literacy Jen Earl: Academic Support Librarian- HuLSS.
ACCESS TO QUALITY RESOURCES ON RUSSIA Tanja Pursiainen, University of Helsinki, Aleksanteri institute. EVA 2004 Moscow, 29 November 2004.
ECPRD seminar on the net IX”, Brussels, 2011 Faceted Search Some examples of applied faceted search on websites developed by the EP Jerry.
UKOLUG - July Metadata for the Web RDF and the Dublin Core Andy Powell UKOLN, University of Bath UKOLN.
Semantic Sensor/Device Description System EEEM042-Mobile Applications and Web Services Assignment- Spring Semester 2015 Prof. Klaus Moessner, Dr Payam.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Multilingual Issues in the Representation of International Bibliographic Standards for the Semantic Web Gordon Dunsire Independent Consultant; Chair of.
Entity Recognition via Querying DBpedia ElShaimaa Ali.
RDA data and applications Gordon Dunsire Presented to staff of the British Library, Boston Spa, 20 Mar 2014.
OWL Capturing Semantic Information using a Standard Web Ontology Language Aditya Kalyanpur Jennifer Jay Banerjee James Hendler Presented By Rami Al-Ghanmi.
Normal versionJapanese version. cka: Community Knowledge tl:Interval cka:interval xsd:dateTime tl:beginAt DateTime tl:endAt DateTime soic:Community cka:sharedBy.
Logics for Data and Knowledge Representation
The Semantic Web Web Science Systems Development Spring 2015.
A centre of expertise in digital information management The MEG Metadata Schemas Registry Pete Johnston, Research Officer (Interoperability),
Meta Tagging / Metadata Lindsay Berard Assisted by: Li Li.
Supported by EU projects 12/12/2013 Athens, Greece Open Data in Agriculture Hands-on with data infrastructures that can power your agricultural data products.
RDF and triplestores CMSC 461 Michael Wilson. Reasoning  Relational databases allow us to reason about data that is organized in a specific way  Data.
1 Caselex: an e-Government Application favouring Interoperability Roberta Nannucci ITTIG/CNR Supported by the European Commission.
Introduction to the advanced search functionality of Joinup March 2014 PwC EU Services.
Publications Office Metadata Registry (MDR) INSPIRE Registry and Registers Workshop Willem van Gemert Publications Office of the EU Dissemniation and Reuse.
Catherine Tabone 04 June ELI Compliant URI Scheme Implementation.
1 SPARQL A. Emrah Sanön. 2 RDF RDF is quite committed to Semantic Web. Data model Serialization by means of XML Formal semantics Still something is missing!
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
Introduction to the Semantic Web and Linked Data
Welcome to de Gruyter Reference Global. De Gruyter Reference Global provides you with comprehensive access to high quality academic content Run a quick.
Metadata and Meta tag. What is metadata? What does metadata do? Metadata schemes What is meta tag? Meta tag example Table of Content.
R. Winkels Comparing XML standards Alexander Boer Leibniz Center for Law University of Amsterdam.
RDF David R Newman 15 May 2009.
Catherine Tabone 04 June 2014 European Legislation Identifier (ELI)
RDFa Primer Bridging the Human and Data webs Presented by: Didit ( )
Describing resources II: Dublin Core CERN-UNESCO School on Digital Libraries Rabat, Nov 22-26, 2010 Annette Holtkamp CERN.
Rinke Hoekstra Use of OWL in the Legal Domain Statement of Interest OWLED 2008 DC, Gaithersburg.
PUBLICATIONS OFFICE ELI PATTERNS
Ontology Technology applied to Catalogues Paul Kopp.
RDA and linked data Gordon Dunsire Presented to Code4Lib Ottawa, MacOdrum Library, Carleton University, Ottawa, 27 April 2016.
Subjects in the FR family
HOW CONSOLIDATED TEXTS GET THEIR LEGAL FORCE ESTONIAN EXPERIENCE
XML: Extensible Markup Language
XML Related Technologies
DATA INTEGRATION FOR LANGUAGE DOCUMENTATION
RDFa How and Why Ralph R. Swick World Wide Web Consortium
ECLI and Beyond: Improving online access to court decisions
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
Recording RDA data as linked data
Akoma Ntoso and functionally equivalent naming conventions (FENC)
CONSOLIDATED TEXTS ESTONIAN EXPERIENCE Silver Raukas, Jüri Heinla
Zachary Cleaver Semantic Web.
OBO Foundry Principles
Ag.no.14.1 Dissemination of A65
How to publish in a format that enhances literature-based discovery?
When terminology and semantic web meet
Ag.no.15.1 and 15.3 Dissemination of A65 data
RDA Community and linked data
Semantic-Web, Triple-Strores, and SPARQL
ELI extension to describe draft legislation
Singapore Legislation Conducted by Carol Wee
Presentation transcript:

EU Datathon : National and EU law using ELI Thomas Francart thomas.francart@sparna.fr – 2018-06-08

ELI History European Legislation Identifier Work started in “European Forum of Official Gazettes” Conclusions of the EU Council “European Legislation Identifier (ELI)” Published in the Official Journal of the European Union on October 26th 2012, “2012/C 325/02” EU funding for the project starting 2014

ELI Stakeholders and documentation (http://eur-lex.europa.eu/eli)

1. Identifiers 2. Metadata Browse Describe Link Identify legislation Browse 2. Metadata Describe legislation Link 3. Content structure ? Not in scope of ELI !

ELI proposes URI components that can be selected and arranged in any order to define your own URI structure.

What are the datasets ? Datasets available under the « ELI » group on the ODP : https://data.europa.eu/euodp/en/data/group/eli?groups=eli EU (Eur-Lex) Finland Luxembourg Ireland Denmark Soon : Portugal Soon : Italy Others

How were the datasets created ? ELI publishers embed structured metadata in their webpages, using RDFa Volunteer ELI publishers have submitted their list of ELI URIs The pages were fetched and parsed to extract structured data and aggregate it into a dataset Luxembourg & Finland directly provided their ELI datasets

RDFa : metadata « for machines »

Sample ELI list http://www.retsinformation.dk/eli/fob/1989/100 http://www.retsinformation.dk/eli/fob/1989/104 http://www.retsinformation.dk/eli/fob/1989/109 http://www.retsinformation.dk/eli/fob/1989/112 http://www.retsinformation.dk/eli/fob/1989/119 http://www.retsinformation.dk/eli/fob/1989/122 http://www.retsinformation.dk/eli/fob/1989/130 http://www.retsinformation.dk/eli/fob/1989/134 http://www.retsinformation.dk/eli/fob/1989/138 http://www.retsinformation.dk/eli/fob/1989/141 http://www.retsinformation.dk/eli/fob/1989/148 http://www.retsinformation.dk/eli/fob/1989/152 http://www.retsinformation.dk/eli/fob/1989/157 http://www.retsinformation.dk/eli/fob/1989/159 http://www.retsinformation.dk/eli/fob/1989/164 http://www.retsinformation.dk/eli/fob/1989/165 http://www.retsinformation.dk/eli/fob/1989/168 http://www.retsinformation.dk/eli/fob/1989/171 http://www.retsinformation.dk/eli/fob/1989/175 http://www.retsinformation.dk/eli/fob/1989/184 http://www.retsinformation.dk/eli/fob/1989/188 http://www.retsinformation.dk/eli/fob/1989/192 http://www.retsinformation.dk/eli/fob/1989/197 …

Which information can be found ? ELI URIs of country legislation in scope of ELI (Countries usually apply ELI on a subset of their legislation) Type of act Law, decree, decision, etc… (depending on jurisdiction) Dates : … of signature/decision … of publication … of entry into force / no longer in force Keywords Titles Can be multilingual Links to other acts (« Legal graph ») Cites, changes, corrects, repeals, consolidates, etc. Links to transposed EU legislation Pointers to content (XHTML, PDF, etc.) files Others… refer to ELI model : http://publications.europa.eu/mdr/eli

Which file formats ? Datasets are provided in RDF (semantic web data format) https://www.w3.org/RDF/ Usually in 2 variants (containing same data) : Turtle syntax RDF/XML syntax The list of ELI URIs is also available for most datasets

How to parse/use the data ? Use an RDF API Java : Eclipse RDF4J http://rdf4j.org/ Java : Apache Jena https://jena.apache.org/ Python : RDFLib https://github.com/RDFLib/rdflib PHP : EasyRDF http://www.easyrdf.org/ C : librdf http://librdf.org/ … Or use an RDF database (triplestore) https://en.wikipedia.org/wiki/Triplestore Or (but bad practice) use an XSLT to parse the RDF/XML variant Or … be creative :-)

« List all EU Directives with their english title, ordered by date » How to query the data ? Navigate the data graph using an API… … or issue SPARQL queries https://www.w3.org/TR/sparql11-query/ « List all EU Directives with their english title, ordered by date » PREFIX eli: <http://data.europa.eu/eli/ontology#> PREFIX lang: <http://publications.europa.eu/resource/authority/language/> SELECT ?directive ?title ?date WHERE { ?directive a eli:LegalResource . ?directive eli:type_document <http://publications.europa.eu/resource/authority/resource-type/DIR> . ?directive eli:date_document ?date . ?directive eli:is_realized_by ?expression . ?expression eli:language lang:ENG . ?expression eli:title ?title . } ORDER BY ?date

Layers of ELI description (FRBR) A specific legislation, independently of one of its « version » or language Directive 80/181/CEE A specific (temporal) version of this legislation, independently of its language OJ version or consolidated version A specific linguistic variant of this version of the legislation An english translation A specific file format for given language of given version of this legislation Signed PDF vs. HTML

in its original OJ version 1 Legal Resource in its original OJ version 23 Legal Expressions 3 Formats for each expressions http://eur-lex.europa.eu/legal-content/TXT/?uri=CELEX%3A32011D1219

Think in graph ! (it helps)

LegalResource LegalExpression Format (Abstract) LegalResource .../eli/dir/2013/37 Has multiple versions in .../eli/dir/2013/37/oj LegalResource Can be expressed in various .../eli/dir/2013/37/oj/deu LegalExpression Can be published in various .../eli/dir/2013/37/oj/deu/pdf Format Is expressed in concrete files Each conceptual level is identified with a URI using extra components.

Different levels of description Content Keywords, dates, links, author, etc. LegalResource Can be expressed in various Text/signs Title, language, etc. LegalExpression Can be published in various File media type, publisher, legal value, etc. Format Each level of abstraction will be associated with specific metadata.

Link legal texts (Luxembourg) Project 20140166 idParlement:60720 cites Law /loi/1988/12/13/n1 related_to cites Directive 1991/0440 basis_for Reglementation /rgd/2015/07/24/n3 Law /loi/2014/21/19/n11 SEQ:A cited_by Law /loi/2015/07/30/n1 changes Law /loi/2010/12/17/n2 changes changed_by Law /loi/2009/05/05/n8 changes Law ../loi/1860/12/04/n1 Law /loi/2015/05/31/n1 Creating a graph of legislation.

Detailled ELI ontology diagrams

Legend V1.1 LegalResource Class defined in the model skos:Concept Class defined in another ontology LegalResource date_document Literal properties (strings, integer, float, dates, booleans, xsd:anyURI, etc.) on a class physicalMedium (*) AnnotationProperty, that can take as a value either a literal or a URI Class/subclass relationship (rdfs:subclassOf) is_about Property linking 2 ressources has_legalresource [1..*] Min and max cardinalities on a property : [1] one and only one value, [1..*] at least one value. If nothing is written, assume [0..*], no restriction. Object property and its inverse property based_on / basis_for V1.1

Is expressed in concrete files ELI « backbone » Can contain other LegalResource Can be expressed in various LegalExpression Can be published in various Format Is expressed in concrete files

LegalResourceSubdivision rdac:Work owl:Thing LegalResource id_local uri_schema has_part / is_part_of has_member / is_member_of rdac:Expression is_realized_by / realizes [1..*] LegalExpression id_local LegalResourceSubdivision rdac:Manifestion is_embodied_by / embodies Format id_local is_exemplified_by owl:Thing « ELI part 1 » : backbone V1.1

« ELI part 2 » : LegalResource level V1.1 skos:Concept related_to cites / cites_by owl:Thing version Version LegalResource Or LegalExpression number description version_date first_date_entry_in_force date_no_longer_in_force date_applicability relevant_for jurisdiction Admin.Area in_force InForce changed_by / changes consolidates / consolidated_by commences / commenced_by repeals / repealed_by corrects / corrected_by* amends / amended_by type_document [1..*] ResourceType Agent basis_for transposes passed_by responsibility_of_agent LegalResource responsibility_of date_document date_publication based_on transposed_by is_about applies / applied_by is_another_publication_of / has_another_publication « ELI part 2 » : LegalResource level V1.1 * : also applies to Format

« ELI part 3 » : LegalExpression level V1.1 skos:Concept related_to cites / cites_by owl:Thing version Version LegalResource Or LegalExpression number description version_date first_date_entry_in_force date_no_longer_in_force date_applicability relevant_for Admin.Area in_force InForce changed_by / changes consolidates / consolidated_by commences / commenced_by repeals / repealed_by corrects / corrected_by* amends / amended_by Language language [1..*] LegalExpression title [1..*] title_short title_alternative publisher basis_for transposes based_on transposed_by LegalResource « ELI part 3 » : LegalExpression level V1.1

« ELI part 4 » : Format level V1.1 legal_value skos:Concept Format rights rightsholder published_in publisher publishes / published_in_format publisher_agent rightsholder_agent licence format [1..1] Agent owl:Thing « ELI part 4 » : Format level V1.1

V1.1 Property Range (class) Corresponding ELI scheme Existing EU Publications Office table ? type_document eli:ResourceType Eli:ResourceTypeTable - relevant_for eli:AdministrativeArea Eli:AdministrativeAreaTable Administrative Territorial Units (+ local extensions) jurisdiction passed_by eli:Agent n/a responsibility_of_agent publisher_agent rightsholder_agent is_about skos:Concept Eurovoc + values to be locally defined in_force eli:InForce eli:InForceTable ELI includes a value set (in force, not in force, partially in force). No local extensions needed. language eli:Language No ELI scheme : referring to OPEU language scheme language (no local extensions needed) version eli:Version eli:VersionTable None legal_value eli:LegalValue eli:LegalValueTable ELI includes a value set (unofficial, official > authoritative > definitive). No local extensions needed. V1.1

Thomas Francart thomas.francart@sparna.fr Thank you Thomas Francart thomas.francart@sparna.fr