Movatterモバイル変換


[0]ホーム

URL:


2,135 views

Visualize open data with Plone - eea.daviz PLOG 2013

The document provides a practical guide on querying and visualizing linked open data using the eea.daviz product. It explains the principles of open data and linked data and demonstrates various SPARQL query examples for retrieving data from sources like DBpedia and Enipedia. Additionally, it highlights how to create data visualizations in a short time, showcasing the capabilities of the eea.daviz platform.

Embed presentation

Downloaded 19 times
Visualizing Open Data with Plonea practical guide on how to query and visualize Linked Open Data                      with eea.daviz product                                       Antonio De Marinis                                         Web Technology Management                                         European Environment Agency                                                   www.eea.europa.eu
Linked Data evolution     2007                                          as per 2011     keeps growing...     > 1 million datasets     Watch video STRATA conference 2013
Open Data - what is it?    Open data is a philosophy and practice requiring    that certain data be freely available to everyone,    without restrictions from copyright, patents or    other mechanisms of control.    Linked Open Data (LOD) or simply Linked    Data is a technique to interlink all open datasets    into a web of data, aka semantic web, using    technologies like RDF and SPARQL.
Linked Data vs classic ODBC
SPARQL query structure A SPARQL query comprises, in order: ● Prefix declarations, for abbreviating URIs ● Dataset definition, stating what RDF graph(s) are being queried ● A result clause, identifying what information to return from the query ● The query pattern, specifying what to query for in the underlying dataset ● Query modifiers, slicing, ordering, and otherwise rearranging query results # prefix declarations PREFIX foo: <http://example.com/resources/> ... # dataset definition FROM ... # result              clause SELECT ... # query pattern WHERE {     ... } # query modifiers ORDER BY ...
Real example querying DBpediaSELECT * WHERE {?subject rdf:type <http://dbpedia.org/ontology/City>.?subject rdfs:label ?label.?subject rdfs:comment ?abstract.?subject <http://dbpedia.org/ontology/populationTotal> ?populationTotal.FILTER (lang(?label) = "en" && lang(?abstract) = "en")} LIMIT 5
Let's dive into a real example SELECT * WHERE { ?subject rdf:type <http://dbpedia.org/ontology/City>. ?subject rdfs:label ?label. ?subject rdfs:comment ?abstract. ?subject <http://dbpedia.org/ontology/populationTotal> ?populationTotal. FILTER (lang(?label) = "en" && lang(?abstract) = "en" && (?populationTotal >= "5000000"^^xsd: integer)) } LIMIT 5
Let's dive into a real example PREFIX o: <http://dbpedia.org/ontology/> PREFIX p: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> SELECT DISTINCT * WHERE { ?subject a o:City. ?subject rdfs:label ?label. OPTIONAL {?subject rdfs:comment ?abstract.} ?subject p:populationTotal ?populationTotal. OPTIONAL {?subject geo:lat ?latitude.} OPTIONAL {?subject geo:long ?longitude.} FILTER (lang(?label) = "en" && lang(?abstract) = "en" && (?populationTotal >= "5000000"^^xsd:integer && ?populationTotal < "60000000"^^xsd:integer)) } ORDER BY DESC(?populationTotal)      find all properties by exploring dbpedia e.g.      dbpedia http://dbpedia.org/page/Tokyo      Example without duplicates http://daviz.eionet.      europa.eu/data/local-sparql-queries/most-      populated-cities
Corresponding data visualisation withDaviz We have been able to create a data visualisation of open linked data with filters/facets entirely through the web in about 10 minutes! live demo http://www.eea.europa.eu/sandbox/plog2013/most-populated-cities- with-coordinates-plus
Removing redundanciesTIP: In order to get rid of some rednundancy you can use "SAMPLE" or "SELECT DISTINCT"PREFIX   o: <http://dbpedia.org/ontology/>PREFIX   p: <http://dbpedia.org/property/>PREFIX   rdfs: <http://www.w3.org/2000/01/rdf-schema#>PREFIX   geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>SELECT ?subject (sql:SAMPLE(?subject) as ?city)(sql:SAMPLE(?label) as ?label)(sql:SAMPLE(?latitude) as ?latitude)                                                        live example http://daviz.eionet.europa.(sql:SAMPLE(?longitude) as ?longitude) max(?populationTotal) as ?maxPopulation                                                        eu/visualisations/most-populated-cities max(?rainyDays) as ?rainyDaysWHERE {?subject a o:City.?subject rdfs:label ?label.OPTIONAL {?subject rdfs:comment ?abstract.}?subject p:populationTotal ?populationTotal.OPTIONAL {?subject geo:lat ?latitude.}OPTIONAL {?subject geo:long ?longitude.}OPTIONAL {?subject p:yearPrecipitationDays ?rainyDays.}FILTER (lang(?label) = "en" && lang(?abstract) = "en" && (?populationTotal >= "5000000"^^xsd:integer))}GROUP BY ?subjectORDER BY DESC(?maxPopulation)
More examples at Daviz show room      daviz.eionet.europa.eu
Example 2: Large companies (DBpedia) PREFIX o: <http://dbpedia.org/ontology/> PREFIX p: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> SELECT * WHERE { ?subject rdf:type <http://dbpedia.org/ontology/Company>. ?subject rdfs:label ?label. ?subject rdfs:comment ?abstract. ?subject p:numEmployees ?employees. ?subject o:location ?location. ?location geo:lat ?latitude. ?location geo:long ?longitude. FILTER (lang(?label) = "en" && lang(?abstract) = "en" && ?employees > 10000) } ORDER BY DESC(?employees) LIMIT 20
Example 3: Energy plants (Enipedia) SPARQL Endpoint:http://enipedia.tudelft.nl/sparql BASE <http://enipedia.tudelft.nl/wiki/> PREFIX a: <http://enipedia.tudelft.nl/wiki/> PREFIX prop: <http://enipedia.tudelft.nl/wiki/Property:> PREFIX cat: <http://enipedia.tudelft.nl/wiki/Category:> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> select ?Name ?Point ?Generation_capacity where { ?powerPlant prop:Country a:Italy . ?powerPlant rdfs:label ?Name . ?powerPlant prop:Point ?Point . ?powerPlant prop:Generation_capacity_electrical_MW ?Generation_capacity . }
More resources ●   SPARQL endpoints and their status: http://labs.mondeca.     com/sparqlEndpointsStatus/index.html ●   SPARQL tutorial by example: http://www.cambridgesemantics.com/semantic-     university/sparql-by-example ●   eea.sparql package gives you a sparql client and data holder for plone     available on pypi ●   eea.daviz bundle includes eea.sparql and the visualisations tools
Data table manipulation via drag and drop
Modular framework
EEA Daviz       And much more...
EEA Daviz            Live Demo
EEA Daviz - ResourcesMore live examples   ○   Eionet       http://daviz.eionet.europa.eu   ○   EEA       http://www.eea.europa.eu/data-and-maps/daviz

Recommended

PPTX
RDF, linked data and semantic web
PPTX
RDF data model
PDF
HPCC Systems - ECL for Programmers - Big Data - Data Scientist
PPTX
GDG Meets U event - Big data & Wikidata - no lies codelab
PDF
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
PPT
SPARQL in a nutshell
PDF
Revealing Entities From Texts With a Hybrid Approach
PPT
Working with Trees in the Phyloinformatic Age. WH Piel
PPSX
The Web of data and web data commons
PPT
Linked Data Tutorial
PPTX
Knowledge Graph Introduction
PPTX
Linked Open Data and Applications
PDF
SFScon 2020 - Peter Hopfgartner - Open Data de luxe
PDF
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
PDF
Linked Open Data
PDF
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
PPTX
SMX Advanced 2012 - Catching up with the Semantic Web
PDF
Visualizing Web Data Query Results
PDF
Notes from the Library Juice Academy courses on “SPARQL Fundamentals”: Univer...
PPT
Accessing the Linked Open Data Cloud via ODBC
PPTX
A Little SPARQL in your Analytics
ODP
State of the Semantic Web
PDF
Ontologies & linked open data
PDF
Querying Linked Data with SPARQL (2010)
PPT
Re-using Media on the Web: Media fragment re-mixing and playout
PDF
Querying Linked Data with SPARQL
PPTX
Lotico oct 2010
PDF
WWW2012 Tutorial Visualizing SPARQL Queries
PDF
Oracle MySQL HeatWave - Complete - Version 3
PDF
Rolling out Enterprise AI: Tools, Insights, and Team Empowerment

More Related Content

PPTX
RDF, linked data and semantic web
PPTX
RDF data model
PDF
HPCC Systems - ECL for Programmers - Big Data - Data Scientist
PPTX
GDG Meets U event - Big data & Wikidata - no lies codelab
PDF
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
PPT
SPARQL in a nutshell
PDF
Revealing Entities From Texts With a Hybrid Approach
PPT
Working with Trees in the Phyloinformatic Age. WH Piel
RDF, linked data and semantic web
RDF data model
HPCC Systems - ECL for Programmers - Big Data - Data Scientist
GDG Meets U event - Big data & Wikidata - no lies codelab
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
SPARQL in a nutshell
Revealing Entities From Texts With a Hybrid Approach
Working with Trees in the Phyloinformatic Age. WH Piel

Similar to Visualize open data with Plone - eea.daviz PLOG 2013

PPSX
The Web of data and web data commons
PPT
Linked Data Tutorial
PPTX
Knowledge Graph Introduction
PPTX
Linked Open Data and Applications
PDF
SFScon 2020 - Peter Hopfgartner - Open Data de luxe
PDF
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
PDF
Linked Open Data
PDF
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
PPTX
SMX Advanced 2012 - Catching up with the Semantic Web
PDF
Visualizing Web Data Query Results
PDF
Notes from the Library Juice Academy courses on “SPARQL Fundamentals”: Univer...
PPT
Accessing the Linked Open Data Cloud via ODBC
PPTX
A Little SPARQL in your Analytics
ODP
State of the Semantic Web
PDF
Ontologies & linked open data
PDF
Querying Linked Data with SPARQL (2010)
PPT
Re-using Media on the Web: Media fragment re-mixing and playout
PDF
Querying Linked Data with SPARQL
PPTX
Lotico oct 2010
PDF
WWW2012 Tutorial Visualizing SPARQL Queries
The Web of data and web data commons
Linked Data Tutorial
Knowledge Graph Introduction
Linked Open Data and Applications
SFScon 2020 - Peter Hopfgartner - Open Data de luxe
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Linked Open Data
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
SMX Advanced 2012 - Catching up with the Semantic Web
Visualizing Web Data Query Results
Notes from the Library Juice Academy courses on “SPARQL Fundamentals”: Univer...
Accessing the Linked Open Data Cloud via ODBC
A Little SPARQL in your Analytics
State of the Semantic Web
Ontologies & linked open data
Querying Linked Data with SPARQL (2010)
Re-using Media on the Web: Media fragment re-mixing and playout
Querying Linked Data with SPARQL
Lotico oct 2010
WWW2012 Tutorial Visualizing SPARQL Queries

Recently uploaded

PDF
Oracle MySQL HeatWave - Complete - Version 3
PDF
Rolling out Enterprise AI: Tools, Insights, and Team Empowerment
PDF
Supervised Machine Learning Approaches for Log-Based Anomaly Detection: A Cas...
PDF
Mulesoft Meetup Online Portuguese: MCP e IA
PDF
Running Non-Cloud-Native Databases in Cloud-Native Environments_ Challenges a...
PDF
Beyond Basics: How to Build Scalable, Intelligent Imagery Pipelines
PPTX
UFCD 0797 - SISTEMAS OPERATIVOS_Unidade Completa.pptx
PDF
Oracle MySQL HeatWave - One Page - Version 3
PDF
Cheryl Hung, Vibe Coding Auth Without Melting Down! isaqb Software Architectu...
PDF
How Much Does It Cost to Build an eCommerce Website in 2025.pdf
PDF
KMWorld - KM & AI Bring Collectivity, Nostalgia, & Selectivity
PDF
Dev Dives: Build smarter agents with UiPath Agent Builder
PDF
Mastering UiPath Maestro – Session 2 – Building a Live Use Case - Session 2
PPTX
"Feelings versus facts: why metrics are more important than intuition", Igor ...
 
PDF
Transforming Supply Chains with Amazon Bedrock AgentCore (AWS Swiss User Grou...
PDF
[BDD 2025 - Artificial Intelligence] AI for the Underdogs: Innovation for Sma...
PDF
So You Want to Work at Google | DevFest Seattle 2025
PPTX
Leon Brands - Intro to GPU Occlusion (Graphics Programming Conference 2024)
PDF
The Evolving Role of the CEO in the Age of AI
PPTX
How to Choose the Right Vendor for ADA PDF Accessibility and Compliance in 2026
Oracle MySQL HeatWave - Complete - Version 3
Rolling out Enterprise AI: Tools, Insights, and Team Empowerment
Supervised Machine Learning Approaches for Log-Based Anomaly Detection: A Cas...
Mulesoft Meetup Online Portuguese: MCP e IA
Running Non-Cloud-Native Databases in Cloud-Native Environments_ Challenges a...
Beyond Basics: How to Build Scalable, Intelligent Imagery Pipelines
UFCD 0797 - SISTEMAS OPERATIVOS_Unidade Completa.pptx
Oracle MySQL HeatWave - One Page - Version 3
Cheryl Hung, Vibe Coding Auth Without Melting Down! isaqb Software Architectu...
How Much Does It Cost to Build an eCommerce Website in 2025.pdf
KMWorld - KM & AI Bring Collectivity, Nostalgia, & Selectivity
Dev Dives: Build smarter agents with UiPath Agent Builder
Mastering UiPath Maestro – Session 2 – Building a Live Use Case - Session 2
"Feelings versus facts: why metrics are more important than intuition", Igor ...
 
Transforming Supply Chains with Amazon Bedrock AgentCore (AWS Swiss User Grou...
[BDD 2025 - Artificial Intelligence] AI for the Underdogs: Innovation for Sma...
So You Want to Work at Google | DevFest Seattle 2025
Leon Brands - Intro to GPU Occlusion (Graphics Programming Conference 2024)
The Evolving Role of the CEO in the Age of AI
How to Choose the Right Vendor for ADA PDF Accessibility and Compliance in 2026

Visualize open data with Plone - eea.daviz PLOG 2013

  • 1.
    Visualizing Open Datawith Plonea practical guide on how to query and visualize Linked Open Data with eea.daviz product Antonio De Marinis Web Technology Management European Environment Agency www.eea.europa.eu
  • 2.
    Linked Data evolution 2007 as per 2011 keeps growing... > 1 million datasets Watch video STRATA conference 2013
  • 3.
    Open Data -what is it? Open data is a philosophy and practice requiring that certain data be freely available to everyone, without restrictions from copyright, patents or other mechanisms of control. Linked Open Data (LOD) or simply Linked Data is a technique to interlink all open datasets into a web of data, aka semantic web, using technologies like RDF and SPARQL.
  • 4.
    Linked Data vsclassic ODBC
  • 5.
    SPARQL query structureA SPARQL query comprises, in order: ● Prefix declarations, for abbreviating URIs ● Dataset definition, stating what RDF graph(s) are being queried ● A result clause, identifying what information to return from the query ● The query pattern, specifying what to query for in the underlying dataset ● Query modifiers, slicing, ordering, and otherwise rearranging query results # prefix declarations PREFIX foo: <http://example.com/resources/> ... # dataset definition FROM ... # result clause SELECT ... # query pattern WHERE { ... } # query modifiers ORDER BY ...
  • 6.
    Real example queryingDBpediaSELECT * WHERE {?subject rdf:type <http://dbpedia.org/ontology/City>.?subject rdfs:label ?label.?subject rdfs:comment ?abstract.?subject <http://dbpedia.org/ontology/populationTotal> ?populationTotal.FILTER (lang(?label) = "en" && lang(?abstract) = "en")} LIMIT 5
  • 7.
    Let's dive intoa real example SELECT * WHERE { ?subject rdf:type <http://dbpedia.org/ontology/City>. ?subject rdfs:label ?label. ?subject rdfs:comment ?abstract. ?subject <http://dbpedia.org/ontology/populationTotal> ?populationTotal. FILTER (lang(?label) = "en" && lang(?abstract) = "en" && (?populationTotal >= "5000000"^^xsd: integer)) } LIMIT 5
  • 8.
    Let's dive intoa real example PREFIX o: <http://dbpedia.org/ontology/> PREFIX p: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> SELECT DISTINCT * WHERE { ?subject a o:City. ?subject rdfs:label ?label. OPTIONAL {?subject rdfs:comment ?abstract.} ?subject p:populationTotal ?populationTotal. OPTIONAL {?subject geo:lat ?latitude.} OPTIONAL {?subject geo:long ?longitude.} FILTER (lang(?label) = "en" && lang(?abstract) = "en" && (?populationTotal >= "5000000"^^xsd:integer && ?populationTotal < "60000000"^^xsd:integer)) } ORDER BY DESC(?populationTotal) find all properties by exploring dbpedia e.g. dbpedia http://dbpedia.org/page/Tokyo Example without duplicates http://daviz.eionet. europa.eu/data/local-sparql-queries/most- populated-cities
  • 9.
    Corresponding data visualisationwithDaviz We have been able to create a data visualisation of open linked data with filters/facets entirely through the web in about 10 minutes! live demo http://www.eea.europa.eu/sandbox/plog2013/most-populated-cities- with-coordinates-plus
  • 10.
    Removing redundanciesTIP: Inorder to get rid of some rednundancy you can use "SAMPLE" or "SELECT DISTINCT"PREFIX o: <http://dbpedia.org/ontology/>PREFIX p: <http://dbpedia.org/property/>PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>SELECT ?subject (sql:SAMPLE(?subject) as ?city)(sql:SAMPLE(?label) as ?label)(sql:SAMPLE(?latitude) as ?latitude) live example http://daviz.eionet.europa.(sql:SAMPLE(?longitude) as ?longitude) max(?populationTotal) as ?maxPopulation eu/visualisations/most-populated-cities max(?rainyDays) as ?rainyDaysWHERE {?subject a o:City.?subject rdfs:label ?label.OPTIONAL {?subject rdfs:comment ?abstract.}?subject p:populationTotal ?populationTotal.OPTIONAL {?subject geo:lat ?latitude.}OPTIONAL {?subject geo:long ?longitude.}OPTIONAL {?subject p:yearPrecipitationDays ?rainyDays.}FILTER (lang(?label) = "en" && lang(?abstract) = "en" && (?populationTotal >= "5000000"^^xsd:integer))}GROUP BY ?subjectORDER BY DESC(?maxPopulation)
  • 11.
    More examples atDaviz show room daviz.eionet.europa.eu
  • 12.
    Example 2: Largecompanies (DBpedia) PREFIX o: <http://dbpedia.org/ontology/> PREFIX p: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> SELECT * WHERE { ?subject rdf:type <http://dbpedia.org/ontology/Company>. ?subject rdfs:label ?label. ?subject rdfs:comment ?abstract. ?subject p:numEmployees ?employees. ?subject o:location ?location. ?location geo:lat ?latitude. ?location geo:long ?longitude. FILTER (lang(?label) = "en" && lang(?abstract) = "en" && ?employees > 10000) } ORDER BY DESC(?employees) LIMIT 20
  • 13.
    Example 3: Energyplants (Enipedia) SPARQL Endpoint:http://enipedia.tudelft.nl/sparql BASE <http://enipedia.tudelft.nl/wiki/> PREFIX a: <http://enipedia.tudelft.nl/wiki/> PREFIX prop: <http://enipedia.tudelft.nl/wiki/Property:> PREFIX cat: <http://enipedia.tudelft.nl/wiki/Category:> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> select ?Name ?Point ?Generation_capacity where { ?powerPlant prop:Country a:Italy . ?powerPlant rdfs:label ?Name . ?powerPlant prop:Point ?Point . ?powerPlant prop:Generation_capacity_electrical_MW ?Generation_capacity . }
  • 14.
    More resources ● SPARQL endpoints and their status: http://labs.mondeca. com/sparqlEndpointsStatus/index.html ● SPARQL tutorial by example: http://www.cambridgesemantics.com/semantic- university/sparql-by-example ● eea.sparql package gives you a sparql client and data holder for plone available on pypi ● eea.daviz bundle includes eea.sparql and the visualisations tools
  • 15.
    Data table manipulationvia drag and drop
  • 16.
  • 17.
    EEA Daviz And much more...
  • 18.
    EEA Daviz Live Demo
  • 19.
    EEA Daviz -ResourcesMore live examples ○ Eionet http://daviz.eionet.europa.eu ○ EEA http://www.eea.europa.eu/data-and-maps/daviz

[8]ページ先頭

©2009-2025 Movatter.jp