Statistical Linked Data
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Statistical Linked Data

on

  • 3,444 views

An introduction to Statistical Linked Data

An introduction to Statistical Linked Data

Statistics

Views

Total Views
3,444
Views on SlideShare
3,413
Embed Views
31

Actions

Likes
5
Downloads
44
Comments
0

7 Embeds 31

https://twitter.com 14
http://a0.twimg.com 7
http://lab.isoco.net 4
http://us-w1.rockmelt.com 2
http://twitter.com 2
http://www.linkedin.com 1
https://www.linkedin.com 1
More...

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Statistical Linked Data Presentation Transcript

  • 1. Statistical Linked Data Boris Villazón-Terrazas Facultad de Informática, Universidad Politécnica de Madrid Campus de Montegancedo sn 28660 Boadilla del Monte Madrid sn, Monte, http://www.oeg-upm.net bvillazon@fi.upm.es Phone: 34.91.3366605, Fax: 34.91.3524819 Slides available at: http://www.slideshare.net/boricles/Acknowledgements: Local Government Management ServicesBoard - Ireland, Michael Hausenblas, Richard Cyganiak, OscarCorcho, Asunción Gómez-PérezWorkdistributedunderthelicenseCreativeCommonsAttribution-Noncommercial-Share Alike 3.0
  • 2. 2
  • 3. Specification – Spreadsheet about statistics• Service Indicators of Ireland 3
  • 4. Specification – Spreadsheet about statistics• Service Indicators of Ireland • Data for 2009 4
  • 5. Specification - URI design• Base URI • http://stats.data-gov.ie• TBOX URI • We use the RDF Data Cube Vocabulary• ABOX URI • http:// stats.data-gov.ie /data/{resourceType}/{resource} 5
  • 6. 6
  • 7. Vocabularies for modelling statistical data• SCOVO • Michael Hausenblas, Danny Ayers, Lee Feigenbaum, Tom Heath, Heath Wolfgang Halb Y es Raimond 2008 Halb, Yves Raimond, • It is deprecated http://purl.org/NET/scovo http://purl org/NET/scovo• SDMX – RDF • Richard Cyganiak, Chris Dollin, Dave Reynolds, 2010 • Provides a general means to publish statistical data in RDF (exploiting the SDMX information model).http://publishing-statistical-data.googlecode.com/svn/trunk/specs/src/main/html/index.html 7
  • 8. Vocabularies for modelling statistical data• RDF Data Cube • Richard Cyganiak, Dave Reynolds, Jeni Tennison, 2010 • SDMX is massive, and many parts of the standard are not really relevant for the kind of web-based data publishing that RDF excels in. So they identified a core of SDMX that seemed most relevant for data publishing, called that core “Data Cube”, and published it separately. • W3C Government Linked Data Working group is going to propose RDF Data Cube for modelling government statistical data.http://linked-statistics.org/datacube/http://linked statistics org/datacube/ 8
  • 9. RDF Data Cube Vocabularyqb http://purl.org/linked-data/cube# 9
  • 10. RDF Data Cube – Main elements 10
  • 11. 11
  • 12. RDF Data Cube - Concepts rdf:type skos:Concept stats:concept/f rdf:type df t skos:broader skos:broaderrdf:type stats:concept/f-1 stats:concept/f-2 rdf:type skos:broader stats:concept/f 1 2 stats:concept/f-1-2 rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns# rdf:http://www w3 org/1999/02/22 rdf syntax ns# skos: http://www.w3.org/2004/02/skos/core# stats: http://stats.data-gov.ie/data/ 12
  • 13. RDF Data Cube - Properties qb:MeasureProperty rdf:type rdfs:subPropertyOf stats:property/f-1-2 /f qb:obsValue qb:concept b t rdfs:label rdfs:rangestats:concept/f-1-2 xsd:double “Average time …” rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# rdfs: http://www.w3.org/2000/01/rdf-schema# qb: http://purl.org/linked-data/cube# stats: http://stats.data-gov.ie/data/ 13
  • 14. RDF Data Cube – Data structure definitionqb:DataStructureDefinition rdf:type qb:component stats:dsd/f-1-2 stats:componet/geoArea p g qb:component stats:componet/refPeriod q qb:component p stats:componet/f-1-2 rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# qb: http://purl.org/linked-data/cube# http://purl org/linked data/cube# stats: http://stats.data-gov.ie/data/ 14
  • 15. RDF Data Cube – DataSet qb:DataSet rdf:type qb:structure stats:data/f-1-2 stats:dsd/f-1-2 qb:dataSet qb:dataSet stats:data/f-1- …… stats:data/f-1-2/2009/county/donegal 2/2009/county/cavan rdf:type rdf:type qb:Observation rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# qb: http://purl.org/linked-data/cube# stats: http://stats.data-gov.ie/data/ 15
  • 16. RDF Data Cube – Observationrdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#qb: http://purl.org/linked-data/cube#stats: http://stats.data-gov.ie/data/property: http://stats.data-gov.ie/property/sdmx-dimension: http://purl.org/linked-data/sdmx/2009/dimension# http://reference.data.gov .uk/id/year/2009 sdmx-dimension:refPeriod qb:dataSet rdf:type stats:data/f-1- stats:data/f-1-2 qb:Observation 2/2009/county/donegal property:geoArea property:f-1-2 http://geo.data- http://geo data- gov.ie/county/donegal 5.29 16
  • 17. 17
  • 18. Fuseki endpoint• http://data-gov.ie/sparql 18
  • 19. Fuseki endpoint• N Now you can play a bit with SPARQL … ;) l ith )• What is the value of the Service Indicator F 2 1 F-2-1 (Percentage of cases in respect of fire in which first attendance is at the scene within 10 minutes) in the County of D C f Donegal?l? PREFIX data: <http://stats.data-gov.ie/data/> PREFIX qb: <http://purl.org/linked-data/cube#> qb ttp //pu o g/ ed data/cube# PREFIX sdmx-dimension : <http://purl.org/linked-data/sdmx/2009/dimension#> PREFIX property: <http://stats.data-gov.ie/property/> SELECT ?obs ?ds ?val WHERE { ?obs a qb:Observation . ?obs sdmx-dimension :refPeriod <http://reference.data.gov.uk/id/year/2009> . ?obs property:geoArea <http://geo.data-gov.ie/county/donegal> . ?obs qb:dataSet ?ds . ?obs property:f-2-1 ?val . } 19
  • 20. Metadata publication – VoID • VoID description • void.ttlhttp://www.w3.org/TR/void/ 20
  • 21. sitemap4rdf• Simple command line tool• Sends a SPARQL query to list all URIs• Generates sitemap sitemap4rdf http://yoursite/sparql http://yoursite/resource/ Example: sitemap4rdf http://geo.linkeddata.es/sparql http://geo.linkeddata.es/ sitemap4rdf http://data-gov.ie/sparql http://stats.data-gov.ie• run sitemap4rdf specifying the SPARQL endpoint and the prefix of the URLs to include in the Sitemap 21
  • 22. 22
  • 23. Exploitationhttp://county-rank.data-gov.ie/ 23
  • 24. Information about the County24
  • 25. Service Indicators - I25
  • 26. Service Indicators - II26
  • 27. Service Indicators - III27
  • 28. Statistical Linked Data Boris Villazón-Terrazas Facultad de Informática, Universidad Politécnica de Madrid Campus de Montegancedo sn 28660 Boadilla del Monte Madrid sn, Monte, http://www.oeg-upm.net bvillazon@fi.upm.es Phone: 34.91.3366605, Fax: 34.91.3524819 Slides available at: http://www.slideshare.net/boricles/Acknowledgements: Local Government Management ServicesBoard - Ireland, Michael Hausenblas, Richard Cyganiak, OscarCorcho, Asunción Gómez-PérezWorkdistributedunderthelicenseCreativeCommonsAttribution-Noncommercial-Share Alike 3.0