SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Future work and
applications
RDF Validation tutorial
Eric Prud'hommeaux
World Wide Web Consortium
MIT, Cambridge, MA, USA
Harold Solbrig
Mayo Clinic, USA
Jose Emilio Labra Gayo
WESO Research group
University of Oviedo, Spain
Iovka Boneva
LINKS, INRIA & CNRS
University of Lille, France
Contents
Some applications
ShEx
WebIndex: A linked data portal using ShEx
FHIR
SHACL
Future work
Web Index
Measure WWW's contribution to development and human rights by country
Developed by the Web Foundation
81 countries, 116 indicators, 5 years (2007-12)
Linked data portal
http://data.webfoundation.org/webindex/2013
Webindex workflow
Data
(Excel)
RDF
Datastore
Visualizations
Linked data portal
Conversion
Excel  RDF
Enrichment
WebIndex data model
ITU_B 2011 2012 2013 ...
Germany 20.34 35.46 37.12 ...
Spain 19.12 23.78 25.45 ...
France 20.12 21.34 28.34 ...
... ... ... ... ...
ITU_B 2011 2012 2013 ...
Germany 20.34 35.46 37.12 ...
Spain 19.12 23.78 25.45 ...
France 20.12 21.34 28.34 ...
... ... ... ... ...
ITU_B 2010 2011 2012 ...
Germany 20.34 35.46 37.12 ...
Spain 19.12 23.78 25.45 ...
France 20.12 21.34 28.34 ...
... ... ... ... ...
DataSets are published by Organizations
Datasets contain several slices
Slices group observations
Model based on RDF Data Cube
Main entity = Observation
Observations have values by years
Observations refer to indicators and countries
Observation
YearsIndicator
% Broadband subscribers
Countries
Slice
DataSet
Indicators are provided by Organizations
Examples
ITU = International Telecommunication Union
UN = United Nations
WB = World bank
...
Main webIndex data model*
Observation
rdf:type = qb:Observation
cex:value: xsd:float
dc:issued: xsd:dateTime
rdfs:label: xsd:String
cex:ref-year: xsd:gYear
Indicator
rdf:type = cex:Primary
| cex:Secondary
rdfs:label: xsd:string
rdfs:comment: xsd:string
skos:notation: xsd:String
Organization
rdf:type = org:Organization
rdfs:label: xsd:String
foaf:homepage: IRI
Slice
rdf:type = qb:Slice
qb:sliceStructure: wf:sliceByArea
Country
rdf:type = wf:Country
wf:iso2 : xsd:string
wf:iso3 : xsd:string
rdfs:label : xsd:String
DataSet
rdf:type = qb:DataSet
qb:structure : wf:DSD
rdfs:label : xsd:String
cex:ref-area cex:indicator
qb:observation
1..n
qb:observation
qb:slice
wf:provider
dc:publisher
1..n
*Simplified
indicator:ITU_B
a wf:SecondaryIndicator ;
rdfs:label "Broadband subscribers %"
.
dataset:DITU a qb:DataSet ;
rdfs:label "ITU Dataset" ;
dc:publisher org:ITU ;
qb:slice slice:ITU10B ,
slice:ITU11B,
. ...
...
slice:ITU11B a qb:Slice ;
qb:sliceStructure wf:sliceByYear ;
qb:observation obs:obs8165,
obs:obs8166,
...
...
org:ITU a org:Organization ;
rdfs:label "ITU" ;
foaf:homepage <http://www.itu.int/>
.
country:Spain a wf:Country ;
wf:iso2 "ES" ; wf:iso3 "ESP" ;
rdfs:label "Spain"
.
obs:obs8165 a qb:Observation ;
rdfs:label "ITU B in ESP, 2011" ;
cex:indicator indicator:ITU_B ;
qb:dataSet dataset:DITU ;
cex:value "23.78"^^xsd:float ;
cex:ref-year 2011 ;
cex:ref-area country:Spain ;
dc:issued "2013-05-30"^^xsd:date ;
...
.
Excel  RDF (Turtle)
interrelated
linked
data
Description and Validation
Lots of constraints
Observations must be linked to some country
Observations have a float value
Observations are related with an indicator, a country and a year
Dataset contains several slices and slices contain several observations
....etc.
Q: How can we express those constraints easily?
Our proposal: Shape expressions
Country
<Country> {
rdf:type [wf:Country]
; rdfs:label xsd:string
; wf:iso2 xsd:string
; wf:iso3 xsd:string
}
Label Open shape
Conjunction
A <Country> has at least the following properties:
rdf:type with value wf:Country
rdfs:label with value of type xsd:string
wf:iso2 with value of type xsd:string
wf:iso3 with value of type xsd:string
Using shape Expressions:
DataSets
A <DataSet> has the shape:
rdf:type with value qb:Dataset
qb:structure with value wf:DSD
Optional rdfs:label with value of type xsd:string
One or more qb:slice with shape <Slice>
<DataSet> {
rdf:type [qb:DataSet]
; qb:structure (wf:DSD)
; dc:publisher @<Organization>
; rdfs:label xsd:string?
; qb:slice @<Slice>+
}
Cardinality posibilities:
* (0 or more)
? (0 or 1)
+ (1 or more)
{m,n} between m and n
What does it mean?
Slices
<Slice> has the properties:
rdf:type with value qb:Slice
qb:SliceStructure with value wf:sliceByYear
Several qb:observation with shape <Observation>
cex:indicator with shape <Indicator>
<Slice> {
rdf:type [qb:Slice]
; qb:sliceStructure (wf:sliceByYear)
; qb:observation @<Observation>+
; cex:indicator @<Indicator>
}
Observations
<Observation> {
rdf:type [qb:Observation]
; cex:value xsd:float ?
; dc:issued xsd:dateTime
; rdfs:label xsd:string ?
; qb:dataSet @<DataSet>
; cex:ref-area @<Country>
; cex:indicator @<Indicator>
; cex:ref-year xsd:gYear
}
...and more
Indicators
<Indicator> {
rdf:type [wf:PrimaryIndicator wf:SecondaryIndicator]
; rdfs:label xsd:string
; rdfs:comment xsd:string ?
; skos:notation xsd:string ?
}
Organizations
<Organization> {
rdf:type [org:Organization]
; rdfs:label xsd:string
; foaf:homepage IRI
; org:hasSubOrganization @<Organization>
}
Use of shape expressions in WebIndex
1. Documentation of linked data portal
Human-readable
Machine processable
2. Team communication
Communicate the developers which shapes they had to generate
3. Validation
For example: check if a value of type qb:Observation has shape
<Observation>
WebIndex as a benchmarking
We have created a tool to generate synthetic RDF data that
conforms (or not) to the WebIndex data model
The tool can be used to benchmark ShEx and SHACL
See: http://labra.github.io/wiGen/
HL7 FHIR
ShEx is currently being used to develop FHIR/RDF
• validate examples (in documentation)
• exchange site-specific restrictions
• enable consumer and producer validation
See: https://www.w3.org/2016/FHIR-tutorial/Constellations
SHACL applications
TopBraid Composer includes support for SHACL
See: http://www.topquadrant.com/technology/shacl/tutorial/
RDFUnit is also planning to include SHACL support
See: https://github.com/AKSW/RDFUnit
OpenPublicData: prototype to list, filter and present open data
See: http://www.openpublicdata.com/
Schema.org converted to SHACL
See:http://datashapes.org/schema
Future work
SHACL Recommendation
Data Shapes WG chartered until Jul 2017
Other features
Property paths
Named graphs
...
ShEx vs SHACL
Translate ShEx to SHACL (looks difficult, impossible?)
Translate SHACL to ShEx (work in progress, see Shaclex)
Future work
SHACL: Data Shapes Working Group:
Mailing list, list of issues,...
https://www.w3.org/2014/data-shapes/
ShEx Community portal http://shex.io
List of issues:
https://github.com/shexSpec/shex/issues

Weitere ähnliche Inhalte

Was ist angesagt?

SWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mappingSWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mapping
Mariano Rodriguez-Muro
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
Josef Petrák
 

Was ist angesagt? (20)

RDF Data Model
RDF Data ModelRDF Data Model
RDF Data Model
 
ShEx vs SHACL
ShEx vs SHACLShEx vs SHACL
ShEx vs SHACL
 
Shape Expressions: An RDF validation and transformation language
Shape Expressions: An RDF validation and transformation languageShape Expressions: An RDF validation and transformation language
Shape Expressions: An RDF validation and transformation language
 
SHACL: Shaping the Big Ball of Data Mud
SHACL: Shaping the Big Ball of Data MudSHACL: Shaping the Big Ball of Data Mud
SHACL: Shaping the Big Ball of Data Mud
 
Graph Data -- RDF and Property Graphs
Graph Data -- RDF and Property GraphsGraph Data -- RDF and Property Graphs
Graph Data -- RDF and Property Graphs
 
Two graph data models : RDF and Property Graphs
Two graph data models : RDF and Property GraphsTwo graph data models : RDF and Property Graphs
Two graph data models : RDF and Property Graphs
 
SHACL by example
SHACL by exampleSHACL by example
SHACL by example
 
SHACL Overview
SHACL OverviewSHACL Overview
SHACL Overview
 
SHACL in Apache jena - ApacheCon2020
SHACL in Apache jena - ApacheCon2020SHACL in Apache jena - ApacheCon2020
SHACL in Apache jena - ApacheCon2020
 
2016-02 Graphs - PG+RDF
2016-02 Graphs - PG+RDF2016-02 Graphs - PG+RDF
2016-02 Graphs - PG+RDF
 
What's New in RDF 1.1?
What's New in RDF 1.1?What's New in RDF 1.1?
What's New in RDF 1.1?
 
SHACL Specification Draft
SHACL Specification DraftSHACL Specification Draft
SHACL Specification Draft
 
Semantic web meetup – sparql tutorial
Semantic web meetup – sparql tutorialSemantic web meetup – sparql tutorial
Semantic web meetup – sparql tutorial
 
Presentation shexer
Presentation shexerPresentation shexer
Presentation shexer
 
SPARQL Cheat Sheet
SPARQL Cheat SheetSPARQL Cheat Sheet
SPARQL Cheat Sheet
 
SWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mappingSWT Lecture Session 9 - RDB2RDF direct mapping
SWT Lecture Session 9 - RDB2RDF direct mapping
 
SWT Lecture Session 11 - R2RML part 2
SWT Lecture Session 11 - R2RML part 2SWT Lecture Session 11 - R2RML part 2
SWT Lecture Session 11 - R2RML part 2
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
 
RDF data validation 2017 SHACL
RDF data validation 2017 SHACLRDF data validation 2017 SHACL
RDF data validation 2017 SHACL
 
SWT Lecture Session 10 R2RML Part 1
SWT Lecture Session 10 R2RML Part 1SWT Lecture Session 10 R2RML Part 1
SWT Lecture Session 10 R2RML Part 1
 

Andere mochten auch

Andere mochten auch (9)

Arquitectura de la Web y Computación en el Servidor
Arquitectura de la Web y Computación en el ServidorArquitectura de la Web y Computación en el Servidor
Arquitectura de la Web y Computación en el Servidor
 
RDF data model
RDF data modelRDF data model
RDF data model
 
Hydra: A Vocabulary for Hypermedia-Driven Web APIs
Hydra: A Vocabulary for Hypermedia-Driven Web APIsHydra: A Vocabulary for Hypermedia-Driven Web APIs
Hydra: A Vocabulary for Hypermedia-Driven Web APIs
 
2 Introducción al lenguaje Ruby
2 Introducción al lenguaje Ruby2 Introducción al lenguaje Ruby
2 Introducción al lenguaje Ruby
 
Model Your Application Domain, Not Your JSON Structures
Model Your Application Domain, Not Your JSON StructuresModel Your Application Domain, Not Your JSON Structures
Model Your Application Domain, Not Your JSON Structures
 
4 Introducción al lenguaje Scala
4 Introducción al lenguaje Scala4 Introducción al lenguaje Scala
4 Introducción al lenguaje Scala
 
JSON-LD for RESTful services
JSON-LD for RESTful servicesJSON-LD for RESTful services
JSON-LD for RESTful services
 
JSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked DataJSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked Data
 
From Strings to Things to a Web of Services
From Strings to Things to a Web of ServicesFrom Strings to Things to a Web of Services
From Strings to Things to a Web of Services
 

Ähnlich wie RDF Validation Future work and applications

Representing verifiable statistical index computations as linked data
Representing verifiable statistical index computations as linked dataRepresenting verifiable statistical index computations as linked data
Representing verifiable statistical index computations as linked data
Jose Emilio Labra Gayo
 
(Linked Data Development and Exploitation track) "YQL as a Platform for Linke...
(Linked Data Development and Exploitation track) "YQL as a Platform for Linke...(Linked Data Development and Exploitation track) "YQL as a Platform for Linke...
(Linked Data Development and Exploitation track) "YQL as a Platform for Linke...
icwe2015
 
Payola ESWC 2014 demo poster
Payola ESWC 2014 demo posterPayola ESWC 2014 demo poster
Payola ESWC 2014 demo poster
Jiří Helmich
 
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
Rudolf Husar
 

Ähnlich wie RDF Validation Future work and applications (20)

Validating and Describing Linked Data Portals using RDF Shape Expressions
Validating and Describing Linked Data Portals using RDF Shape ExpressionsValidating and Describing Linked Data Portals using RDF Shape Expressions
Validating and Describing Linked Data Portals using RDF Shape Expressions
 
Validating statistical Index Data represented in RDF using SPARQL Queries: Co...
Validating statistical Index Data represented in RDF using SPARQL Queries: Co...Validating statistical Index Data represented in RDF using SPARQL Queries: Co...
Validating statistical Index Data represented in RDF using SPARQL Queries: Co...
 
Representing verifiable statistical index computations as linked data
Representing verifiable statistical index computations as linked dataRepresenting verifiable statistical index computations as linked data
Representing verifiable statistical index computations as linked data
 
ICWE2017 BigDataEurope
ICWE2017 BigDataEuropeICWE2017 BigDataEurope
ICWE2017 BigDataEurope
 
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
 
(Linked Data Development and Exploitation track) "YQL as a Platform for Linke...
(Linked Data Development and Exploitation track) "YQL as a Platform for Linke...(Linked Data Development and Exploitation track) "YQL as a Platform for Linke...
(Linked Data Development and Exploitation track) "YQL as a Platform for Linke...
 
Linked Data Hypercubes
Linked Data HypercubesLinked Data Hypercubes
Linked Data Hypercubes
 
Linked Open Data - Masaryk University in Brno 8.11.2016
Linked Open Data - Masaryk University in Brno 8.11.2016Linked Open Data - Masaryk University in Brno 8.11.2016
Linked Open Data - Masaryk University in Brno 8.11.2016
 
JSONpedia - Facilitating consumption of MediaWiki content
JSONpedia - Facilitating consumption of MediaWiki contentJSONpedia - Facilitating consumption of MediaWiki content
JSONpedia - Facilitating consumption of MediaWiki content
 
Linked Data Hypercubes - Semtech London
Linked Data Hypercubes - Semtech LondonLinked Data Hypercubes - Semtech London
Linked Data Hypercubes - Semtech London
 
Migration JCAPS -> WSO2
Migration JCAPS -> WSO2Migration JCAPS -> WSO2
Migration JCAPS -> WSO2
 
Data Integration And Visualization
Data Integration And VisualizationData Integration And Visualization
Data Integration And Visualization
 
APAN 2014 Bandung E-Culture Working Group Introduction to Linked Data
APAN 2014 Bandung E-Culture Working Group Introduction to Linked DataAPAN 2014 Bandung E-Culture Working Group Introduction to Linked Data
APAN 2014 Bandung E-Culture Working Group Introduction to Linked Data
 
WSO2 Machine Learner - Product Overview
WSO2 Machine Learner - Product OverviewWSO2 Machine Learner - Product Overview
WSO2 Machine Learner - Product Overview
 
Payola ESWC 2014 demo poster
Payola ESWC 2014 demo posterPayola ESWC 2014 demo poster
Payola ESWC 2014 demo poster
 
cold2014-ldvizwiz
cold2014-ldvizwizcold2014-ldvizwiz
cold2014-ldvizwiz
 
SDN and metrics from the SDOs
SDN and metrics from the SDOsSDN and metrics from the SDOs
SDN and metrics from the SDOs
 
060314 Ispra Htap Presentations Husar 060314 Ispra
060314 Ispra Htap Presentations Husar 060314 Ispra060314 Ispra Htap Presentations Husar 060314 Ispra
060314 Ispra Htap Presentations Husar 060314 Ispra
 
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
2006-03-14 WG on HTAP-Relevant IT Techniques, Tools and Philosophies: DataFed...
 
Current & Future Use-Cases of OpenDaylight
Current & Future Use-Cases of OpenDaylightCurrent & Future Use-Cases of OpenDaylight
Current & Future Use-Cases of OpenDaylight
 

Mehr von Jose Emilio Labra Gayo

Mehr von Jose Emilio Labra Gayo (19)

Publicaciones de investigación
Publicaciones de investigaciónPublicaciones de investigación
Publicaciones de investigación
 
Introducción a la investigación/doctorado
Introducción a la investigación/doctoradoIntroducción a la investigación/doctorado
Introducción a la investigación/doctorado
 
Legislative data portals and linked data quality
Legislative data portals and linked data qualityLegislative data portals and linked data quality
Legislative data portals and linked data quality
 
Wikidata
WikidataWikidata
Wikidata
 
Legislative document content extraction based on Semantic Web technologies
Legislative document content extraction based on Semantic Web technologiesLegislative document content extraction based on Semantic Web technologies
Legislative document content extraction based on Semantic Web technologies
 
Introduction to SPARQL
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQL
 
Introducción a la Web Semántica
Introducción a la Web SemánticaIntroducción a la Web Semántica
Introducción a la Web Semántica
 
2017 Tendencias en informática
2017 Tendencias en informática2017 Tendencias en informática
2017 Tendencias en informática
 
19 javascript servidor
19 javascript servidor19 javascript servidor
19 javascript servidor
 
Como publicar datos: hacia los datos abiertos enlazados
Como publicar datos: hacia los datos abiertos enlazadosComo publicar datos: hacia los datos abiertos enlazados
Como publicar datos: hacia los datos abiertos enlazados
 
16 Alternativas XML
16 Alternativas XML16 Alternativas XML
16 Alternativas XML
 
XSLT
XSLTXSLT
XSLT
 
XPath
XPathXPath
XPath
 
Máster en Ingeniería Web
Máster en Ingeniería WebMáster en Ingeniería Web
Máster en Ingeniería Web
 
2016 temuco tecnologias_websemantica
2016 temuco tecnologias_websemantica2016 temuco tecnologias_websemantica
2016 temuco tecnologias_websemantica
 
2015 bogota datos_enlazados
2015 bogota datos_enlazados2015 bogota datos_enlazados
2015 bogota datos_enlazados
 
17 computacion servidor
17 computacion servidor17 computacion servidor
17 computacion servidor
 
Tecnologias Web Semantica
Tecnologias Web SemanticaTecnologias Web Semantica
Tecnologias Web Semantica
 
6 Principios de Programación Orientada a Objetos
6 Principios de Programación Orientada a Objetos6 Principios de Programación Orientada a Objetos
6 Principios de Programación Orientada a Objetos
 

Kürzlich hochgeladen

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 

Kürzlich hochgeladen (20)

(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 

RDF Validation Future work and applications

  • 1. Future work and applications RDF Validation tutorial Eric Prud'hommeaux World Wide Web Consortium MIT, Cambridge, MA, USA Harold Solbrig Mayo Clinic, USA Jose Emilio Labra Gayo WESO Research group University of Oviedo, Spain Iovka Boneva LINKS, INRIA & CNRS University of Lille, France
  • 2. Contents Some applications ShEx WebIndex: A linked data portal using ShEx FHIR SHACL Future work
  • 3. Web Index Measure WWW's contribution to development and human rights by country Developed by the Web Foundation 81 countries, 116 indicators, 5 years (2007-12) Linked data portal http://data.webfoundation.org/webindex/2013
  • 5. WebIndex data model ITU_B 2011 2012 2013 ... Germany 20.34 35.46 37.12 ... Spain 19.12 23.78 25.45 ... France 20.12 21.34 28.34 ... ... ... ... ... ... ITU_B 2011 2012 2013 ... Germany 20.34 35.46 37.12 ... Spain 19.12 23.78 25.45 ... France 20.12 21.34 28.34 ... ... ... ... ... ... ITU_B 2010 2011 2012 ... Germany 20.34 35.46 37.12 ... Spain 19.12 23.78 25.45 ... France 20.12 21.34 28.34 ... ... ... ... ... ... DataSets are published by Organizations Datasets contain several slices Slices group observations Model based on RDF Data Cube Main entity = Observation Observations have values by years Observations refer to indicators and countries Observation YearsIndicator % Broadband subscribers Countries Slice DataSet Indicators are provided by Organizations Examples ITU = International Telecommunication Union UN = United Nations WB = World bank ...
  • 6. Main webIndex data model* Observation rdf:type = qb:Observation cex:value: xsd:float dc:issued: xsd:dateTime rdfs:label: xsd:String cex:ref-year: xsd:gYear Indicator rdf:type = cex:Primary | cex:Secondary rdfs:label: xsd:string rdfs:comment: xsd:string skos:notation: xsd:String Organization rdf:type = org:Organization rdfs:label: xsd:String foaf:homepage: IRI Slice rdf:type = qb:Slice qb:sliceStructure: wf:sliceByArea Country rdf:type = wf:Country wf:iso2 : xsd:string wf:iso3 : xsd:string rdfs:label : xsd:String DataSet rdf:type = qb:DataSet qb:structure : wf:DSD rdfs:label : xsd:String cex:ref-area cex:indicator qb:observation 1..n qb:observation qb:slice wf:provider dc:publisher 1..n *Simplified
  • 7. indicator:ITU_B a wf:SecondaryIndicator ; rdfs:label "Broadband subscribers %" . dataset:DITU a qb:DataSet ; rdfs:label "ITU Dataset" ; dc:publisher org:ITU ; qb:slice slice:ITU10B , slice:ITU11B, . ... ... slice:ITU11B a qb:Slice ; qb:sliceStructure wf:sliceByYear ; qb:observation obs:obs8165, obs:obs8166, ... ... org:ITU a org:Organization ; rdfs:label "ITU" ; foaf:homepage <http://www.itu.int/> . country:Spain a wf:Country ; wf:iso2 "ES" ; wf:iso3 "ESP" ; rdfs:label "Spain" . obs:obs8165 a qb:Observation ; rdfs:label "ITU B in ESP, 2011" ; cex:indicator indicator:ITU_B ; qb:dataSet dataset:DITU ; cex:value "23.78"^^xsd:float ; cex:ref-year 2011 ; cex:ref-area country:Spain ; dc:issued "2013-05-30"^^xsd:date ; ... . Excel  RDF (Turtle) interrelated linked data
  • 8. Description and Validation Lots of constraints Observations must be linked to some country Observations have a float value Observations are related with an indicator, a country and a year Dataset contains several slices and slices contain several observations ....etc. Q: How can we express those constraints easily? Our proposal: Shape expressions
  • 9. Country <Country> { rdf:type [wf:Country] ; rdfs:label xsd:string ; wf:iso2 xsd:string ; wf:iso3 xsd:string } Label Open shape Conjunction A <Country> has at least the following properties: rdf:type with value wf:Country rdfs:label with value of type xsd:string wf:iso2 with value of type xsd:string wf:iso3 with value of type xsd:string Using shape Expressions:
  • 10. DataSets A <DataSet> has the shape: rdf:type with value qb:Dataset qb:structure with value wf:DSD Optional rdfs:label with value of type xsd:string One or more qb:slice with shape <Slice> <DataSet> { rdf:type [qb:DataSet] ; qb:structure (wf:DSD) ; dc:publisher @<Organization> ; rdfs:label xsd:string? ; qb:slice @<Slice>+ } Cardinality posibilities: * (0 or more) ? (0 or 1) + (1 or more) {m,n} between m and n
  • 11. What does it mean? Slices <Slice> has the properties: rdf:type with value qb:Slice qb:SliceStructure with value wf:sliceByYear Several qb:observation with shape <Observation> cex:indicator with shape <Indicator> <Slice> { rdf:type [qb:Slice] ; qb:sliceStructure (wf:sliceByYear) ; qb:observation @<Observation>+ ; cex:indicator @<Indicator> }
  • 12. Observations <Observation> { rdf:type [qb:Observation] ; cex:value xsd:float ? ; dc:issued xsd:dateTime ; rdfs:label xsd:string ? ; qb:dataSet @<DataSet> ; cex:ref-area @<Country> ; cex:indicator @<Indicator> ; cex:ref-year xsd:gYear }
  • 13. ...and more Indicators <Indicator> { rdf:type [wf:PrimaryIndicator wf:SecondaryIndicator] ; rdfs:label xsd:string ; rdfs:comment xsd:string ? ; skos:notation xsd:string ? } Organizations <Organization> { rdf:type [org:Organization] ; rdfs:label xsd:string ; foaf:homepage IRI ; org:hasSubOrganization @<Organization> }
  • 14. Use of shape expressions in WebIndex 1. Documentation of linked data portal Human-readable Machine processable 2. Team communication Communicate the developers which shapes they had to generate 3. Validation For example: check if a value of type qb:Observation has shape <Observation>
  • 15. WebIndex as a benchmarking We have created a tool to generate synthetic RDF data that conforms (or not) to the WebIndex data model The tool can be used to benchmark ShEx and SHACL See: http://labra.github.io/wiGen/
  • 16. HL7 FHIR ShEx is currently being used to develop FHIR/RDF • validate examples (in documentation) • exchange site-specific restrictions • enable consumer and producer validation See: https://www.w3.org/2016/FHIR-tutorial/Constellations
  • 17. SHACL applications TopBraid Composer includes support for SHACL See: http://www.topquadrant.com/technology/shacl/tutorial/ RDFUnit is also planning to include SHACL support See: https://github.com/AKSW/RDFUnit OpenPublicData: prototype to list, filter and present open data See: http://www.openpublicdata.com/ Schema.org converted to SHACL See:http://datashapes.org/schema
  • 18. Future work SHACL Recommendation Data Shapes WG chartered until Jul 2017 Other features Property paths Named graphs ... ShEx vs SHACL Translate ShEx to SHACL (looks difficult, impossible?) Translate SHACL to ShEx (work in progress, see Shaclex)
  • 19. Future work SHACL: Data Shapes Working Group: Mailing list, list of issues,... https://www.w3.org/2014/data-shapes/ ShEx Community portal http://shex.io List of issues: https://github.com/shexSpec/shex/issues