SlideShare a Scribd company logo
1 of 44
Download to read offline
Pubblicare LOD///////////////////////////////
lo stato in Italia////////////////////////////////
un’analisi dei requisiti tecnologici///////////
a spasso per il web dei dati//////////////////
SPAGHETTI
OPEN DATA
DIEGO VALERIO CAMARDA / REGESTA.EXE / LODLIVE
bologna, 28th—30th march 2014
dvcama
@dvcama
diego.camarda@regesta.com
This presentation is based on data generated using
https://github.com/dvcama/lod-tester
The tool has been written expressly for the LOD2014
conference and has been published in open source
to verify and allow further analysis
STATE
OF THE ART
analyzing
STATE
OF THE ART
2012, November
2014, March
in figures
STATE
OF THE ART
triples entities bn classes properties
Archivio Centrale dello Stato 13 505 291 1 364 274  307 806  55  232 
Camera dei deputati 46 358 811 3 950 999  295 989  68  245 
CNR  8 862 396   485 977   365   120   207 
Comune di Firenze 63 389  8 422   – 4 22
CulturaItalia 30 388 021 4 914 280  3 192 174  104 249
DBpedia Italia 94 165 863 2 643 141  6  145 12 558
LinkedStat 136 407 747 10 595 346 4 421 481 971
Progetto Reload  17 493 969   818 194   935 048   45   234 
Provincia Carbonia Iglesias 208 228  62 952   –   13   17 
Ragioneria Generale dello Stato 4 909 143 227 256  –  32 437
Senato della Repubblica 29 676 869 1 074 927  300 013  50 225
SPCdata 1 787 158 291125  70  79 220
triples /entities
Archivio Centrale dello Stato 10
Camera dei deputati 10
CNR 18
Comune di Firenze 8
CulturaItalia 4
DBpedia Italia 79
LinkedStat 13
Progetto Reload 21
Provincia Carbonia Iglesias 3
Ragioneria Generale dello Stato 22
Senato della Repubblica 22
SPCdata 6
bn /entities
0.25
0.03
0.00
0.00
0.39
0.00
0.00
1.14
0.00
0.00
0.22
0.00
prop /classes
4.46
3.40
1.73
5.50
2.39
36.49
2.02
5.20
1.31
13.63
4.50
3.93
triples
entitiesproperties
classes bn
Archivio Centrale dello Stato
Camera dei deputati
CNR
Comune di Firenze
CulturaItalia
DBpedia Italia
LinkedStat
Progetto Reload
Provincia Carbonia Iglesias
Ragioneria Generale dello Stato
Senato della Repubblica
SPCdata
italian linked data cloud
STATE
OF THE ART
LinkedStat
➤0
Archivio
Centrale
dello Stato
➤0
DBpedia
Italia
➤328
780
293
4
30
1
1
3 001
587
895
7 096
1 375
6 582
41
41
2
1
7 096
507
7 731
1
Camera
dei deputati
➤4 483
SPCdata
➤2
Progetto
Reload
➤0
CNR
➤3
Cultura
Italia
➤0
DBpedia
➤16 650
LinkedGeoData
➤14 699
Senato
della
Repubblica
➤0
Ragioneria
Generale
dello Stato
➤0
Comune
di Firenze
➤0
Provincia
Carbonia
Iglesias
➤0
PUT YOUR
LOD ONLINE
focusing on goals
PUT YOUR
LOD ONLINE
WEB
VS.
VS.
VS.
DATA
WEB
OF DATA
the goals:	
› build a new web, different but complementary to the classic web
› allow machine exploration through standard technologies
› guarantee reliability as in the classic web
› accept that publishing LOD is not a goal, it’s just a starting point
› use owl:sameAs (and similar) as the new Hypertext Links
for machines, not for humans
PUT YOUR
LOD ONLINE
machine experience issues: 84% mastered	
› the endpoint supports SPARQL content negotiation	 11/11
› the endpoint (triplestore) is up-to-date	 9/11
› the endpoint uses port 80 (HTTP)	 9/11
› the endpoint supports JSONP calls	 9/11
› the endpoint URL is easy to deduce from resources	 8/11
› the resources are on-line	 10/11
› the URIs support rdf+xml via content negotiation	 9/11
› the resources are described by dc:title or rdfs:label	 9/11
ok, humans also are important
PUT YOUR
LOD ONLINE
user experience issues: 79% mastered	
› the endpoint hosts a page for humans 	 8/11
› the resources and the endpoint are on the same domain	 9/11
› the URIs support text/html via content negotiation 	 9/11
and the winner is…
PUT YOUR
LOD ONLINE
11 endpoints
22 544 920 entities
283 841 970 facts
And the best endpoints are…
Italian Linked Data Cloud
11 endpoints
22 544 920 entities
283 841 970 facts
And the best endpoints are…
Italian Linked Data Cloud
The bests endpointsCLASSIFIED
TIME
FOR ACTION
exploring interoperability
TIME
FOR ACTION
lodlive.it github.com/dvcama/LodLive
Ok, è un endpoint
SPARQL... non facciamoci
prendere dal panico.
cosa abbiamo sotto mano?
select distinct ?o
where {?s a ?o}
01/10
ma in effetti di che si tratta?
select ?o count(distinct ?s)
where {?s a ?o}
02/10
quanti fatti abbiamo a disposizione?
select count(?s)
where {?s ?p ?o}
03/10
quali sono le entità più descritte?
select count(?s) ?class
where {?s ?p ?o; a ?class}
04/10
scegliamo una classe e vediamo come è descritta
select distinct ?p
where {?s a <http://classe>; ?p ?o}
05/10
tutte le sue proprietà sono ugualmente importanti?
select ?p count(?p)
where {?s a <http://classe>; ?p ?o}
06/10
per una data classe elenchiamo un po’ di URI
select ?s
where {?s a <http://classe>}
LIMIT 100
07/10
analizziamo un’entità
select distinct ?p ?o
where {<http://URI> ?p ?o}
08/10
ops, c’è un blank node!
select distinct ?p ?o ?p1 ?o2
where {<http://URI> ?p ?o.
OPTIONAL{?o ?p1 ?o2.
FILTER(isBlank(?o))}}
09/10
aggiungiamo un po’ di carne al fuoco (non troppa)
select distinct ?s ?title
where {?s a <http://classe>;
dc:title ?title. FILTER(REGEX(?
title,’parola’,’i’))} LIMIT 100
10/10
REFERENCES
italian endpoints adresses
REFERENCES
Archivio Centrale dello Stato http://dati.acs.beniculturali.it/sparql
Camera dei deputati http://dati.camera.it/sparql
CNR http://data.cnr.it/sparql-proxy
Comune di Firenze http://linkeddata.comune.fi.it:8080/sparql
CulturaItalia http://dati.culturaitalia.it/sparql
DBpedia Italia http://it.dbpedia.org/sparql
LinkedStat http://linkedstat.spaziodati.eu
Progetto Reload http://lod.xdams.org/sparql
Provincia Carbonia Iglesias http://www.provincia.carboniaiglesias.it/sparql
Ragioneria Generale dello Stato http://dwrgsweb-lb.rgs.mef.gov.it/DWRGSXL/sparql
Senato della Repubblica http://dati.senato.it/sparql
SPCdata http://spcdata.digitpa.gov.it:8899/sparql
l’esempio di oggi
select distinct ?o where {[] a ?o}
select ?o count(distinct ?s) where {?s a ?o}
select count(?s) where {?s ?p ?o}
select count(?s) ?class where {?s ?p ?o; a ?class}
select distinct ?p where {?s a <http://dati.camera.it/ocd/legge>; ?p ?o}
select  ?p count(?p) where {?s a <http://dati.camera.it/ocd/legge>; ?p ?o}
select  ?s where {?s a <http://dati.camera.it/ocd/legge>} LIMIT 100
select distinct ?p ?o where {<http://dati.camera.it/ocd/legge.rdf/L1948_1102> ?p ?o}
select distinct ?p ?o ?p1 ?o2 where {<http://dati.camera.it/ocd/legge.rdf/
L1948_1102> ?p ?o. OPTIONAL{?o ?p1 ?o2. FILTER(isBlank(?o))}}
select distinct ?s ?title where {?s a <http://dati.camera.it/ocd/legge>; dc:title ?title.
FILTER(REGEX(?title,’indennit’,’i’) AND REGEX(?title,’parlament’,’i’))} LIMIT 100
DIEGO VALERIO CAMARDA / REGESTA.EXE / LODLIVE
dvcama
@dvcama
diego.camarda@regesta.com
regesta.com
lodlive.it

More Related Content

What's hot

Creating web applications with LODSPeaKr
Creating web applications with LODSPeaKrCreating web applications with LODSPeaKr
Creating web applications with LODSPeaKr
Alvaro Graves
 
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
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011
Juan Sequeda
 

What's hot (20)

DHWI Linked Open Data - Show and Tell
DHWI Linked Open Data - Show and TellDHWI Linked Open Data - Show and Tell
DHWI Linked Open Data - Show and Tell
 
Radically Open Cultural Heritage Data on the Web
Radically Open Cultural Heritage Data on the WebRadically Open Cultural Heritage Data on the Web
Radically Open Cultural Heritage Data on the Web
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
Getting Started With The Talis Platform
Getting Started With The Talis PlatformGetting Started With The Talis Platform
Getting Started With The Talis Platform
 
Introduction to Linked Data
Introduction to Linked DataIntroduction to Linked Data
Introduction to Linked Data
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
 
Creating web applications with LODSPeaKr
Creating web applications with LODSPeaKrCreating web applications with LODSPeaKr
Creating web applications with LODSPeaKr
 
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
 
SPARQL Query Forms
SPARQL Query FormsSPARQL Query Forms
SPARQL Query Forms
 
Linked Data, Ontologies and Inference
Linked Data, Ontologies and InferenceLinked Data, Ontologies and Inference
Linked Data, Ontologies and Inference
 
Linked Data - Radical Change?
Linked Data -  Radical Change?Linked Data -  Radical Change?
Linked Data - Radical Change?
 
Jesús Barrasa
Jesús BarrasaJesús Barrasa
Jesús Barrasa
 
RDF, linked data and semantic web
RDF, linked data and semantic webRDF, linked data and semantic web
RDF, linked data and semantic web
 
Semantic Web - Linked Data - RDF
Semantic Web - Linked Data - RDFSemantic Web - Linked Data - RDF
Semantic Web - Linked Data - RDF
 
Linked Data - Exposing what we have
Linked Data - Exposing what we haveLinked Data - Exposing what we have
Linked Data - Exposing what we have
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
 
Webofdata
WebofdataWebofdata
Webofdata
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011
 
Consuming Linked Data SemTech2010
Consuming Linked Data SemTech2010Consuming Linked Data SemTech2010
Consuming Linked Data SemTech2010
 

Viewers also liked (6)

MW2014 Workshop - Intro to Linked Open Data
MW2014 Workshop - Intro to Linked Open DataMW2014 Workshop - Intro to Linked Open Data
MW2014 Workshop - Intro to Linked Open Data
 
LOD, SPARQL e dintorni
LOD, SPARQL e dintorniLOD, SPARQL e dintorni
LOD, SPARQL e dintorni
 
#culta15 - Requisiti e tecnologie: i Linked Open Data per il Cultural Heritage
#culta15 - Requisiti e tecnologie: i Linked Open Data per il Cultural Heritage#culta15 - Requisiti e tecnologie: i Linked Open Data per il Cultural Heritage
#culta15 - Requisiti e tecnologie: i Linked Open Data per il Cultural Heritage
 
Pres. Synapta - Tirocini curricolari PoliTO 2017
Pres. Synapta - Tirocini curricolari PoliTO 2017Pres. Synapta - Tirocini curricolari PoliTO 2017
Pres. Synapta - Tirocini curricolari PoliTO 2017
 
SPARQL: un API per ghermire dati
SPARQL: un API per ghermire datiSPARQL: un API per ghermire dati
SPARQL: un API per ghermire dati
 
RDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesRDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic Repositories
 

Similar to #sod14 - ok, è un endpoint SPARQL non facciamoci prendere dal panico

Architecting Web Services
Architecting Web ServicesArchitecting Web Services
Architecting Web Services
Lorna Mitchell
 
GTLAB Installation Tutorial for SciDAC 2009
GTLAB Installation Tutorial for SciDAC 2009GTLAB Installation Tutorial for SciDAC 2009
GTLAB Installation Tutorial for SciDAC 2009
marpierc
 

Similar to #sod14 - ok, è un endpoint SPARQL non facciamoci prendere dal panico (20)

Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted NewardArchitecture | Busy Java Developers Guide to NoSQL | Ted Neward
Architecture | Busy Java Developers Guide to NoSQL | Ted Neward
 
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...
 
SPARQLing Services
SPARQLing ServicesSPARQLing Services
SPARQLing Services
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of Data
 
Great APIs - Future of Your Progress App
Great APIs - Future of Your Progress AppGreat APIs - Future of Your Progress App
Great APIs - Future of Your Progress App
 
Big Data Web applications for Interactive Hadoop by ENRICO BERTI at Big Data...
 Big Data Web applications for Interactive Hadoop by ENRICO BERTI at Big Data... Big Data Web applications for Interactive Hadoop by ENRICO BERTI at Big Data...
Big Data Web applications for Interactive Hadoop by ENRICO BERTI at Big Data...
 
Consuming open and linked data with open source tools
Consuming open and linked data with open source toolsConsuming open and linked data with open source tools
Consuming open and linked data with open source tools
 
Semantic Web Services: A RESTful Approach
Semantic Web Services: A RESTful ApproachSemantic Web Services: A RESTful Approach
Semantic Web Services: A RESTful Approach
 
H2O 3 REST API Overview
H2O 3 REST API OverviewH2O 3 REST API Overview
H2O 3 REST API Overview
 
H2O 3 REST API Overview
H2O 3 REST API OverviewH2O 3 REST API Overview
H2O 3 REST API Overview
 
Architecting Web Services
Architecting Web ServicesArchitecting Web Services
Architecting Web Services
 
Europeana cloud services
Europeana cloud servicesEuropeana cloud services
Europeana cloud services
 
IMS Learning Tools Interoperability @ UCLA
IMS Learning Tools Interoperability @ UCLAIMS Learning Tools Interoperability @ UCLA
IMS Learning Tools Interoperability @ UCLA
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
GTLAB Installation Tutorial for SciDAC 2009
GTLAB Installation Tutorial for SciDAC 2009GTLAB Installation Tutorial for SciDAC 2009
GTLAB Installation Tutorial for SciDAC 2009
 
Modern JavaScript Programming
Modern JavaScript Programming Modern JavaScript Programming
Modern JavaScript Programming
 
REST dojo Comet
REST dojo CometREST dojo Comet
REST dojo Comet
 
Two Years with botnet Asprox - Michal Ambrož
Two Years with botnet Asprox - Michal AmbrožTwo Years with botnet Asprox - Michal Ambrož
Two Years with botnet Asprox - Michal Ambrož
 
[drupalday2017] - REST in pieces
[drupalday2017] - REST in pieces[drupalday2017] - REST in pieces
[drupalday2017] - REST in pieces
 
REST in pieces
REST in piecesREST in pieces
REST in pieces
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

#sod14 - ok, è un endpoint SPARQL non facciamoci prendere dal panico

  • 1. Pubblicare LOD/////////////////////////////// lo stato in Italia//////////////////////////////// un’analisi dei requisiti tecnologici/////////// a spasso per il web dei dati////////////////// SPAGHETTI OPEN DATA DIEGO VALERIO CAMARDA / REGESTA.EXE / LODLIVE bologna, 28th—30th march 2014
  • 2. dvcama @dvcama diego.camarda@regesta.com This presentation is based on data generated using https://github.com/dvcama/lod-tester The tool has been written expressly for the LOD2014 conference and has been published in open source to verify and allow further analysis
  • 6.
  • 7.
  • 10. triples entities bn classes properties Archivio Centrale dello Stato 13 505 291 1 364 274  307 806  55  232  Camera dei deputati 46 358 811 3 950 999  295 989  68  245  CNR  8 862 396   485 977   365   120   207  Comune di Firenze 63 389  8 422   – 4 22 CulturaItalia 30 388 021 4 914 280  3 192 174  104 249 DBpedia Italia 94 165 863 2 643 141  6  145 12 558 LinkedStat 136 407 747 10 595 346 4 421 481 971 Progetto Reload  17 493 969   818 194   935 048   45   234  Provincia Carbonia Iglesias 208 228  62 952   –   13   17  Ragioneria Generale dello Stato 4 909 143 227 256  –  32 437 Senato della Repubblica 29 676 869 1 074 927  300 013  50 225 SPCdata 1 787 158 291125  70  79 220
  • 11. triples /entities Archivio Centrale dello Stato 10 Camera dei deputati 10 CNR 18 Comune di Firenze 8 CulturaItalia 4 DBpedia Italia 79 LinkedStat 13 Progetto Reload 21 Provincia Carbonia Iglesias 3 Ragioneria Generale dello Stato 22 Senato della Repubblica 22 SPCdata 6 bn /entities 0.25 0.03 0.00 0.00 0.39 0.00 0.00 1.14 0.00 0.00 0.22 0.00 prop /classes 4.46 3.40 1.73 5.50 2.39 36.49 2.02 5.20 1.31 13.63 4.50 3.93
  • 12. triples entitiesproperties classes bn Archivio Centrale dello Stato Camera dei deputati CNR Comune di Firenze CulturaItalia DBpedia Italia LinkedStat Progetto Reload Provincia Carbonia Iglesias Ragioneria Generale dello Stato Senato della Repubblica SPCdata
  • 13. italian linked data cloud STATE OF THE ART
  • 16. focusing on goals PUT YOUR LOD ONLINE
  • 18. the goals: › build a new web, different but complementary to the classic web › allow machine exploration through standard technologies › guarantee reliability as in the classic web › accept that publishing LOD is not a goal, it’s just a starting point › use owl:sameAs (and similar) as the new Hypertext Links
  • 19. for machines, not for humans PUT YOUR LOD ONLINE
  • 20. machine experience issues: 84% mastered › the endpoint supports SPARQL content negotiation 11/11 › the endpoint (triplestore) is up-to-date 9/11 › the endpoint uses port 80 (HTTP) 9/11 › the endpoint supports JSONP calls 9/11 › the endpoint URL is easy to deduce from resources 8/11 › the resources are on-line 10/11 › the URIs support rdf+xml via content negotiation 9/11 › the resources are described by dc:title or rdfs:label 9/11
  • 21. ok, humans also are important PUT YOUR LOD ONLINE
  • 22. user experience issues: 79% mastered › the endpoint hosts a page for humans 8/11 › the resources and the endpoint are on the same domain 9/11 › the URIs support text/html via content negotiation 9/11
  • 23. and the winner is… PUT YOUR LOD ONLINE
  • 24. 11 endpoints 22 544 920 entities 283 841 970 facts And the best endpoints are… Italian Linked Data Cloud
  • 25. 11 endpoints 22 544 920 entities 283 841 970 facts And the best endpoints are… Italian Linked Data Cloud The bests endpointsCLASSIFIED
  • 29. Ok, è un endpoint SPARQL... non facciamoci prendere dal panico.
  • 30. cosa abbiamo sotto mano? select distinct ?o where {?s a ?o} 01/10
  • 31. ma in effetti di che si tratta? select ?o count(distinct ?s) where {?s a ?o} 02/10
  • 32. quanti fatti abbiamo a disposizione? select count(?s) where {?s ?p ?o} 03/10
  • 33. quali sono le entità più descritte? select count(?s) ?class where {?s ?p ?o; a ?class} 04/10
  • 34. scegliamo una classe e vediamo come è descritta select distinct ?p where {?s a <http://classe>; ?p ?o} 05/10
  • 35. tutte le sue proprietà sono ugualmente importanti? select ?p count(?p) where {?s a <http://classe>; ?p ?o} 06/10
  • 36. per una data classe elenchiamo un po’ di URI select ?s where {?s a <http://classe>} LIMIT 100 07/10
  • 37. analizziamo un’entità select distinct ?p ?o where {<http://URI> ?p ?o} 08/10
  • 38. ops, c’è un blank node! select distinct ?p ?o ?p1 ?o2 where {<http://URI> ?p ?o. OPTIONAL{?o ?p1 ?o2. FILTER(isBlank(?o))}} 09/10
  • 39. aggiungiamo un po’ di carne al fuoco (non troppa) select distinct ?s ?title where {?s a <http://classe>; dc:title ?title. FILTER(REGEX(? title,’parola’,’i’))} LIMIT 100 10/10
  • 42. Archivio Centrale dello Stato http://dati.acs.beniculturali.it/sparql Camera dei deputati http://dati.camera.it/sparql CNR http://data.cnr.it/sparql-proxy Comune di Firenze http://linkeddata.comune.fi.it:8080/sparql CulturaItalia http://dati.culturaitalia.it/sparql DBpedia Italia http://it.dbpedia.org/sparql LinkedStat http://linkedstat.spaziodati.eu Progetto Reload http://lod.xdams.org/sparql Provincia Carbonia Iglesias http://www.provincia.carboniaiglesias.it/sparql Ragioneria Generale dello Stato http://dwrgsweb-lb.rgs.mef.gov.it/DWRGSXL/sparql Senato della Repubblica http://dati.senato.it/sparql SPCdata http://spcdata.digitpa.gov.it:8899/sparql
  • 43. l’esempio di oggi select distinct ?o where {[] a ?o} select ?o count(distinct ?s) where {?s a ?o} select count(?s) where {?s ?p ?o} select count(?s) ?class where {?s ?p ?o; a ?class} select distinct ?p where {?s a <http://dati.camera.it/ocd/legge>; ?p ?o} select  ?p count(?p) where {?s a <http://dati.camera.it/ocd/legge>; ?p ?o} select  ?s where {?s a <http://dati.camera.it/ocd/legge>} LIMIT 100 select distinct ?p ?o where {<http://dati.camera.it/ocd/legge.rdf/L1948_1102> ?p ?o} select distinct ?p ?o ?p1 ?o2 where {<http://dati.camera.it/ocd/legge.rdf/ L1948_1102> ?p ?o. OPTIONAL{?o ?p1 ?o2. FILTER(isBlank(?o))}} select distinct ?s ?title where {?s a <http://dati.camera.it/ocd/legge>; dc:title ?title. FILTER(REGEX(?title,’indennit’,’i’) AND REGEX(?title,’parlament’,’i’))} LIMIT 100
  • 44. DIEGO VALERIO CAMARDA / REGESTA.EXE / LODLIVE dvcama @dvcama diego.camarda@regesta.com regesta.com lodlive.it