SlideShare a Scribd company logo
1 of 44
The Semantic Web in ActionKennissystemen, November 2009 Rinke Hoekstra
Overview The Semantic Web Languages and Integration Storage and Querying Linked (Open) Data Scalability issues Browsing and Viewing DEMOs … if there’s time … OWL in Action 11/30/09 2
The Semantic Web Ideology Identity is everything Partial solutions are great too! Layer cake 11/30/09 3 OWL
Semantic Web ,[object Object]
`Metadata’ for web pages
Since ~2006
`Web of Data’
Semantic web as data source in its own right
Linked Data
A ‘Databaseesque’ Web
RDF Triple stores
Query languages11/30/09 4
Languages ,[object Object]
RDF, RDFS and OWL
Multiple SyntaxesRDF/XML, Turtle (Restricted N3), Ntriple Functional Syntax, Manchester Syntax, OWL XML ,[object Object]
Triples ,[object Object]
Distributed
Always about something else
... but can be about other RDF triples as well.11/30/09 5
Languages: RDF(S)/XML <rdf:RDF xmlns:rdf=“http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:rdfs="http://www.w3.org/TR/rdf-schema/" xmlns:owl=“http://www.w3.org/2002/07/owl#” xmlns:uva=“http://www.uva.nl/rdf#” xmlns=“http://www.uva.nl/people”>  <rdf:Descriptionrdf:ID=“#radboud”>   <rdf:typerdf:resource=“http://www.uva.nl/rdf#AssociateProfessor”/>   <uva:name>RadboudWinkels</uva:name>   <uva:teachesrdf:resource=“http://www.uva.nl/courses#ks2009”/>  </rdf:Description>  <uva:Courserdf:about=“http://www.uva.nl/courses#ks2009”/>  <rdfs:Classrdf:about=“http://www.uva.nl/rdf#AssociateProfessor”>   <rdfs:subClassOfrdf:resource=“http://www.uva.nl/rdf#StaffMember”/>  </rdfs:Class> <owl:ObjectPropertyrdf:about=“http://www.uva.nl/rdf#teaches”>    <rdfs:domainrdf:resource=“http://www.uva.nl/rdf#Professor”/>    <rdfs:rangerdf:resource=“http://www.uva.nl/rdf#Course”/>  </owl:ObjectProperty> </rdf:RDF> 11/30/09 6
Languages: Turtle @prefix rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>. @prefix rdfs:<http://www.w3.org/TR/rdf-schema/>. @prefix owl:<http://www.w3.org/2002/07/owl#>. @prefix uva:<http://www.uva.nl/rdf#>. @prefix courses:<http://www.uva.nl/courses#>. @prefix :<http://www.uva.nl/people#>. uva:AssociateProfessor a rdfs:Class; rdfs:subClassOfuva:StaffMember. uva:teaches aowl:ObjectProperty; rdfs:domainuva:AssociateProfessor; rdfs:rangeuva:Course. :radboud a uva:AssociateProfessor; uva:name ”RadboudWinkels”^^xsd:string; uva:teachescourses:ks2009. courses:ks2009 a uva:Course. 11/30/09 7
Languages: FS 11/30/09 8 Namespace(=<http://www.uva.nl/people#>) Namespace(owl=<http://www.w3.org/2002/07/owl#>) Namespace(uva=<http://www.uva.nl/rdf#>) Namespace(courses=<http://www.uva.nl/courses#>) Declaration(Class(uva:Course)) Declaration(Class(uva:StaffMember)) Declaration(Class(uva:AssociateProfessor)) SubClassOf(uva:AssociateProfessoruva:StaffMember) Declaration(DataProperty(uva:name)) Declaration(ObjectProperty(uva:teaches)) ObjectPropertyDomain(uva:teachesuva:AssociateProfessor) ObjectPropertyRange(uva2:teaches uva:Course) Declaration(Individual(courses:ks2009)) Declaration(Individual(radboud)) ObjectPropertyAssertion(uva:teachesradboud courses:ks2009) DataPropertyAssertion(uva:nameradboud "RadboudWinkels")
Integration How to add this ‘meta’ to my ‘data’? Three options: Old fashioned HTML:<link rel='meta' type='application/rdf+xml' href='http://www.leibnizcenter.org/~hoekstra/foaf.rdf' title='FOAF'>  HTTP 303 `see other’http://www.w3.org/TR/swbp-vocab-pub/ Inline (RDFa/GRDDL) 11/30/09 9
Integration: 303 See Other (Demo) http://www.metalex.eu/metalex 11/30/09 10
Integration: Inline  RDFa Attributes on XHTML elements http://www.w3.org/TR/xhtml-rdfa-primer GRDDL Gleaning Resource Descriptions from Dialects of Languages Explicit reference to (XSL) transformation http://www.w3.org/TR/grddl/ 11/30/09 11
Integration: RDFa Example ,[object Object],<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"           "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns:cal="http://www.w3.org/2002/12/cal/ical#">     <head><title>Jo's Friends and Family Blog</title></head>     <body>     <p instanceof="cal:Vevent">         I'm holding         <span property="cal:summary">one last summer Barbecue</span>,         on         <span property="cal:dtstart" content="20070916T1600-0500">             September 16th at 4pm.         </span>     </p>     </body> </html> ,[object Object],_:blanknode0    rdf:type cal:Vevent;     cal:summary ”one last summer Barbecue";    cal:dtstart "20070916T1600-0500" . 11/30/09 12
Integration: GRDDL In HTML/XML instance documents: <html xmlns="http://www.w3.org/1999/xhtml"       xmlns:grddl='http://www.w3.org/2003/g/data-view#'       grddl:transformation="glean_title.xsl 			http://www.w3.org/2001/sw/grddl-wg/td/getAuthor.xsl”> In XML Schema documents:  <xsd:annotation>     <xsd:appinfo>       <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 	<rdf:Description rdf:about="http://www.metalex.eu/latest"> 	  <grddl:namespaceTransformation 	      rdf:resource=”http://www.metalex.eu/grddl/metalex2owl.xsl" /> 	</rdf:Description>       </rdf:RDF>     </xsd:appinfo>   </xsd:annotation> 11/30/09 13
Storage (on the web) As documents .rdf, .n3, .turtle, .html RDF triple stores Sesame, Joseki, 4Store, AllegroGraph, OpenLink Virtuoso, SDB/TDB, Open Calais, SWI Prolog  Reasoners ‘on top’, or via DIG Pellet, OWLIM, etc. SPARQL Endpoints Results as JSON, XML, CSV etc. 11/30/09 14
Querying Originally many languages SPARQL, nRQL, SeRQL, etc.  SPARQL:  http://www.w3.org/TR/rdf-sparql-query/ Example PREFIX course: <http://www.uva.nl/courses#> PREFIX uva: <http://www.uva.nl/rdf#> SELECT ?name WHERE   { ?x uva:teaches course:ks2007.     ?x uva:name ?name } ?x binds with <http://www.uva.nl/people#radboud>  ?name binds with “Radboud Winkels”^^xsd:string 11/30/09 15
Querying (2) SPARQL 1.0 select, construct, from, optional, filter Negation via unbound variable SPARQL 1.1 update, negation, aggregation, subqueries  11/30/09 16
The Web of Data … does it exist? 11/30/09 17
Linked Open Data 11/30/09 18
11/30/09 19 November 2009: 13.1 Billion triples, 142 Million links
But there’s more ,[object Object]
New York Times archives
Now 5k names, with 4 references to LOD
Will grow to > 30k
Reuters
OpenCalais automated tagging
Soon to come
Data.gov (via RPI)
Whitehouse.gov (via Drupal)
Data.gov.uk (directly)
European Parliament (MetaLex+RDFa)11/30/09 20

More Related Content

What's hot

Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...Olaf Hartig
 
How do we develop open source software to help open data ? (MOSC 2013)
How do we develop open source software to help open data ? (MOSC 2013)How do we develop open source software to help open data ? (MOSC 2013)
How do we develop open source software to help open data ? (MOSC 2013)Sammy Fung
 
Wi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX toolWi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX toolLaura Po
 
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...Olaf Hartig
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2Dimitris Kontokostas
 

What's hot (8)

Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 3 (...
 
How do we develop open source software to help open data ? (MOSC 2013)
How do we develop open source software to help open data ? (MOSC 2013)How do we develop open source software to help open data ? (MOSC 2013)
How do we develop open source software to help open data ? (MOSC 2013)
 
SWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDFSWT Lecture Session 2 - RDF
SWT Lecture Session 2 - RDF
 
Wi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX toolWi2015 - Clustering of Linked Open Data - the LODeX tool
Wi2015 - Clustering of Linked Open Data - the LODeX tool
 
Link Discovery Tutorial Introduction
Link Discovery Tutorial IntroductionLink Discovery Tutorial Introduction
Link Discovery Tutorial Introduction
 
Ist16-04 An introduction to RDF
Ist16-04 An introduction to RDF Ist16-04 An introduction to RDF
Ist16-04 An introduction to RDF
 
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
Tutorial "An Introduction to SPARQL and Queries over Linked Data" Chapter 1 (...
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2
 

Similar to Ks2009 Semanticweb In Action

20100614 ISWSA Keynote
20100614 ISWSA Keynote20100614 ISWSA Keynote
20100614 ISWSA KeynoteAxel Polleres
 
Why Spark Is the Next Top (Compute) Model
Why Spark Is the Next Top (Compute) ModelWhy Spark Is the Next Top (Compute) Model
Why Spark Is the Next Top (Compute) ModelDean Wampler
 
Ks2007 Semanticweb In Action
Ks2007 Semanticweb In ActionKs2007 Semanticweb In Action
Ks2007 Semanticweb In ActionRinke Hoekstra
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic WebIvan Herman
 
Open Access Publishing on the Semantic Web
Open Access Publishing  on the  Semantic WebOpen Access Publishing  on the  Semantic Web
Open Access Publishing on the Semantic WebRichard Cave
 
Getting Started With The Talis Platform
Getting Started With The Talis PlatformGetting Started With The Talis Platform
Getting Started With The Talis PlatformLeigh Dodds
 
Publishing and Using Linked Data
Publishing and Using Linked DataPublishing and Using Linked Data
Publishing and Using Linked Dataostephens
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsRinke Hoekstra
 
Semantic Web And Coldfusion
Semantic Web And ColdfusionSemantic Web And Coldfusion
Semantic Web And Coldfusionwilliam_greenly
 
Release webinar: Sansa and Ontario
Release webinar: Sansa and OntarioRelease webinar: Sansa and Ontario
Release webinar: Sansa and OntarioBigData_Europe
 
Semantic Web
Semantic WebSemantic Web
Semantic Webhardchiu
 
RESTful Services
RESTful ServicesRESTful Services
RESTful ServicesKurt Cagle
 
Multimedia Data Navigation and the Semantic Web (SemTech 2006)
Multimedia Data Navigation and the Semantic Web (SemTech 2006)Multimedia Data Navigation and the Semantic Web (SemTech 2006)
Multimedia Data Navigation and the Semantic Web (SemTech 2006)Bradley Allen
 
Graph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFGraph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFDimitris Kontokostas
 
Chapter3_a_updated.ppt
Chapter3_a_updated.pptChapter3_a_updated.ppt
Chapter3_a_updated.pptAwais Qarni
 
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1Marco Gralike
 
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open DataMuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data21Style
 
RDFa Introductory Course Session 4/4 When RDFa
RDFa Introductory Course Session 4/4 When RDFaRDFa Introductory Course Session 4/4 When RDFa
RDFa Introductory Course Session 4/4 When RDFaPlatypus
 

Similar to Ks2009 Semanticweb In Action (20)

20100614 ISWSA Keynote
20100614 ISWSA Keynote20100614 ISWSA Keynote
20100614 ISWSA Keynote
 
Why Spark Is the Next Top (Compute) Model
Why Spark Is the Next Top (Compute) ModelWhy Spark Is the Next Top (Compute) Model
Why Spark Is the Next Top (Compute) Model
 
Ks2007 Semanticweb In Action
Ks2007 Semanticweb In ActionKs2007 Semanticweb In Action
Ks2007 Semanticweb In Action
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
Open Access Publishing on the Semantic Web
Open Access Publishing  on the  Semantic WebOpen Access Publishing  on the  Semantic Web
Open Access Publishing on the Semantic Web
 
Getting Started With The Talis Platform
Getting Started With The Talis PlatformGetting Started With The Talis Platform
Getting Started With The Talis Platform
 
Publishing and Using Linked Data
Publishing and Using Linked DataPublishing and Using Linked Data
Publishing and Using Linked Data
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
Semantic Web And Coldfusion
Semantic Web And ColdfusionSemantic Web And Coldfusion
Semantic Web And Coldfusion
 
Release webinar: Sansa and Ontario
Release webinar: Sansa and OntarioRelease webinar: Sansa and Ontario
Release webinar: Sansa and Ontario
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
RESTful Services
RESTful ServicesRESTful Services
RESTful Services
 
Multimedia Data Navigation and the Semantic Web (SemTech 2006)
Multimedia Data Navigation and the Semantic Web (SemTech 2006)Multimedia Data Navigation and the Semantic Web (SemTech 2006)
Multimedia Data Navigation and the Semantic Web (SemTech 2006)
 
Graph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDFGraph databases & data integration - the case of RDF
Graph databases & data integration - the case of RDF
 
Chapter3_a_updated.ppt
Chapter3_a_updated.pptChapter3_a_updated.ppt
Chapter3_a_updated.ppt
 
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
 
Not only SQL
Not only SQL Not only SQL
Not only SQL
 
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open DataMuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
MuseoTorino, first italian project using a GraphDB, RDFa, Linked Open Data
 
RDFa Introductory Course Session 4/4 When RDFa
RDFa Introductory Course Session 4/4 When RDFaRDFa Introductory Course Session 4/4 When RDFa
RDFa Introductory Course Session 4/4 When RDFa
 

More from Rinke Hoekstra

Knowledge Representation on the Web
Knowledge Representation on the WebKnowledge Representation on the Web
Knowledge Representation on the WebRinke Hoekstra
 
Managing Metadata for Science and Technology Studies: the RISIS case
Managing Metadata for Science and Technology Studies: the RISIS caseManaging Metadata for Science and Technology Studies: the RISIS case
Managing Metadata for Science and Technology Studies: the RISIS caseRinke Hoekstra
 
An Ecosystem for Linked Humanities Data
An Ecosystem for Linked Humanities DataAn Ecosystem for Linked Humanities Data
An Ecosystem for Linked Humanities DataRinke Hoekstra
 
QBer - Connect your data to the cloud
QBer - Connect your data to the cloudQBer - Connect your data to the cloud
QBer - Connect your data to the cloudRinke Hoekstra
 
Jurix 2014 welcome presentation
Jurix 2014 welcome presentationJurix 2014 welcome presentation
Jurix 2014 welcome presentationRinke Hoekstra
 
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)Rinke Hoekstra
 
Prov-O-Viz: Interactive Provenance Visualization
Prov-O-Viz: Interactive Provenance VisualizationProv-O-Viz: Interactive Provenance Visualization
Prov-O-Viz: Interactive Provenance VisualizationRinke Hoekstra
 
Linkitup: Link Discovery for Research Data
Linkitup: Link Discovery for Research DataLinkitup: Link Discovery for Research Data
Linkitup: Link Discovery for Research DataRinke Hoekstra
 
A Network Analysis of Dutch Regulations - Using the Metalex Document Server
A Network Analysis of Dutch Regulations - Using the Metalex Document ServerA Network Analysis of Dutch Regulations - Using the Metalex Document Server
A Network Analysis of Dutch Regulations - Using the Metalex Document ServerRinke Hoekstra
 
Linked (Open) Data - But what does it buy me?
Linked (Open) Data - But what does it buy me?Linked (Open) Data - But what does it buy me?
Linked (Open) Data - But what does it buy me?Rinke Hoekstra
 
Linked Science - Building a Web of Research Data
Linked Science - Building a Web of Research DataLinked Science - Building a Web of Research Data
Linked Science - Building a Web of Research DataRinke Hoekstra
 
Semantic Representations for Research
Semantic Representations for ResearchSemantic Representations for Research
Semantic Representations for ResearchRinke Hoekstra
 
A Slightly Different Web of Data
A Slightly Different Web of DataA Slightly Different Web of Data
A Slightly Different Web of DataRinke Hoekstra
 
The Knowledge Reengineering Bottleneck
The Knowledge Reengineering BottleneckThe Knowledge Reengineering Bottleneck
The Knowledge Reengineering BottleneckRinke Hoekstra
 
Concept- en Definitie Extractie
Concept- en Definitie ExtractieConcept- en Definitie Extractie
Concept- en Definitie ExtractieRinke Hoekstra
 
SIKS 2011 Semantic Web Languages
SIKS 2011 Semantic Web LanguagesSIKS 2011 Semantic Web Languages
SIKS 2011 Semantic Web LanguagesRinke Hoekstra
 
The MetaLex Document Server - Legal Documents as Versioned Linked Data
The MetaLex Document Server - Legal Documents as Versioned Linked DataThe MetaLex Document Server - Legal Documents as Versioned Linked Data
The MetaLex Document Server - Legal Documents as Versioned Linked DataRinke Hoekstra
 
History of Knowledge Representation (SIKS Course 2010)
History of Knowledge Representation (SIKS Course 2010)History of Knowledge Representation (SIKS Course 2010)
History of Knowledge Representation (SIKS Course 2010)Rinke Hoekstra
 

More from Rinke Hoekstra (20)

Knowledge Representation on the Web
Knowledge Representation on the WebKnowledge Representation on the Web
Knowledge Representation on the Web
 
Managing Metadata for Science and Technology Studies: the RISIS case
Managing Metadata for Science and Technology Studies: the RISIS caseManaging Metadata for Science and Technology Studies: the RISIS case
Managing Metadata for Science and Technology Studies: the RISIS case
 
An Ecosystem for Linked Humanities Data
An Ecosystem for Linked Humanities DataAn Ecosystem for Linked Humanities Data
An Ecosystem for Linked Humanities Data
 
QBer - Connect your data to the cloud
QBer - Connect your data to the cloudQBer - Connect your data to the cloud
QBer - Connect your data to the cloud
 
Jurix 2014 welcome presentation
Jurix 2014 welcome presentationJurix 2014 welcome presentation
Jurix 2014 welcome presentation
 
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
Provenance and Reuse of Open Data (PILOD 2.0 June 2014)
 
Prov-O-Viz: Interactive Provenance Visualization
Prov-O-Viz: Interactive Provenance VisualizationProv-O-Viz: Interactive Provenance Visualization
Prov-O-Viz: Interactive Provenance Visualization
 
Linkitup: Link Discovery for Research Data
Linkitup: Link Discovery for Research DataLinkitup: Link Discovery for Research Data
Linkitup: Link Discovery for Research Data
 
A Network Analysis of Dutch Regulations - Using the Metalex Document Server
A Network Analysis of Dutch Regulations - Using the Metalex Document ServerA Network Analysis of Dutch Regulations - Using the Metalex Document Server
A Network Analysis of Dutch Regulations - Using the Metalex Document Server
 
Linked (Open) Data - But what does it buy me?
Linked (Open) Data - But what does it buy me?Linked (Open) Data - But what does it buy me?
Linked (Open) Data - But what does it buy me?
 
Linked Science - Building a Web of Research Data
Linked Science - Building a Web of Research DataLinked Science - Building a Web of Research Data
Linked Science - Building a Web of Research Data
 
COMMIT/VIVO
COMMIT/VIVOCOMMIT/VIVO
COMMIT/VIVO
 
Semantic Representations for Research
Semantic Representations for ResearchSemantic Representations for Research
Semantic Representations for Research
 
A Slightly Different Web of Data
A Slightly Different Web of DataA Slightly Different Web of Data
A Slightly Different Web of Data
 
The Knowledge Reengineering Bottleneck
The Knowledge Reengineering BottleneckThe Knowledge Reengineering Bottleneck
The Knowledge Reengineering Bottleneck
 
Linked Census Data
Linked Census DataLinked Census Data
Linked Census Data
 
Concept- en Definitie Extractie
Concept- en Definitie ExtractieConcept- en Definitie Extractie
Concept- en Definitie Extractie
 
SIKS 2011 Semantic Web Languages
SIKS 2011 Semantic Web LanguagesSIKS 2011 Semantic Web Languages
SIKS 2011 Semantic Web Languages
 
The MetaLex Document Server - Legal Documents as Versioned Linked Data
The MetaLex Document Server - Legal Documents as Versioned Linked DataThe MetaLex Document Server - Legal Documents as Versioned Linked Data
The MetaLex Document Server - Legal Documents as Versioned Linked Data
 
History of Knowledge Representation (SIKS Course 2010)
History of Knowledge Representation (SIKS Course 2010)History of Knowledge Representation (SIKS Course 2010)
History of Knowledge Representation (SIKS Course 2010)
 

Recently uploaded

Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 

Recently uploaded (20)

Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 

Ks2009 Semanticweb In Action

  • 1. The Semantic Web in ActionKennissystemen, November 2009 Rinke Hoekstra
  • 2. Overview The Semantic Web Languages and Integration Storage and Querying Linked (Open) Data Scalability issues Browsing and Viewing DEMOs … if there’s time … OWL in Action 11/30/09 2
  • 3. The Semantic Web Ideology Identity is everything Partial solutions are great too! Layer cake 11/30/09 3 OWL
  • 4.
  • 8. Semantic web as data source in its own right
  • 13.
  • 15.
  • 16.
  • 19. ... but can be about other RDF triples as well.11/30/09 5
  • 20. Languages: RDF(S)/XML <rdf:RDF xmlns:rdf=“http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:rdfs="http://www.w3.org/TR/rdf-schema/" xmlns:owl=“http://www.w3.org/2002/07/owl#” xmlns:uva=“http://www.uva.nl/rdf#” xmlns=“http://www.uva.nl/people”> <rdf:Descriptionrdf:ID=“#radboud”> <rdf:typerdf:resource=“http://www.uva.nl/rdf#AssociateProfessor”/> <uva:name>RadboudWinkels</uva:name> <uva:teachesrdf:resource=“http://www.uva.nl/courses#ks2009”/> </rdf:Description> <uva:Courserdf:about=“http://www.uva.nl/courses#ks2009”/> <rdfs:Classrdf:about=“http://www.uva.nl/rdf#AssociateProfessor”> <rdfs:subClassOfrdf:resource=“http://www.uva.nl/rdf#StaffMember”/> </rdfs:Class> <owl:ObjectPropertyrdf:about=“http://www.uva.nl/rdf#teaches”> <rdfs:domainrdf:resource=“http://www.uva.nl/rdf#Professor”/> <rdfs:rangerdf:resource=“http://www.uva.nl/rdf#Course”/> </owl:ObjectProperty> </rdf:RDF> 11/30/09 6
  • 21. Languages: Turtle @prefix rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>. @prefix rdfs:<http://www.w3.org/TR/rdf-schema/>. @prefix owl:<http://www.w3.org/2002/07/owl#>. @prefix uva:<http://www.uva.nl/rdf#>. @prefix courses:<http://www.uva.nl/courses#>. @prefix :<http://www.uva.nl/people#>. uva:AssociateProfessor a rdfs:Class; rdfs:subClassOfuva:StaffMember. uva:teaches aowl:ObjectProperty; rdfs:domainuva:AssociateProfessor; rdfs:rangeuva:Course. :radboud a uva:AssociateProfessor; uva:name ”RadboudWinkels”^^xsd:string; uva:teachescourses:ks2009. courses:ks2009 a uva:Course. 11/30/09 7
  • 22. Languages: FS 11/30/09 8 Namespace(=<http://www.uva.nl/people#>) Namespace(owl=<http://www.w3.org/2002/07/owl#>) Namespace(uva=<http://www.uva.nl/rdf#>) Namespace(courses=<http://www.uva.nl/courses#>) Declaration(Class(uva:Course)) Declaration(Class(uva:StaffMember)) Declaration(Class(uva:AssociateProfessor)) SubClassOf(uva:AssociateProfessoruva:StaffMember) Declaration(DataProperty(uva:name)) Declaration(ObjectProperty(uva:teaches)) ObjectPropertyDomain(uva:teachesuva:AssociateProfessor) ObjectPropertyRange(uva2:teaches uva:Course) Declaration(Individual(courses:ks2009)) Declaration(Individual(radboud)) ObjectPropertyAssertion(uva:teachesradboud courses:ks2009) DataPropertyAssertion(uva:nameradboud "RadboudWinkels")
  • 23. Integration How to add this ‘meta’ to my ‘data’? Three options: Old fashioned HTML:<link rel='meta' type='application/rdf+xml' href='http://www.leibnizcenter.org/~hoekstra/foaf.rdf' title='FOAF'> HTTP 303 `see other’http://www.w3.org/TR/swbp-vocab-pub/ Inline (RDFa/GRDDL) 11/30/09 9
  • 24. Integration: 303 See Other (Demo) http://www.metalex.eu/metalex 11/30/09 10
  • 25. Integration: Inline RDFa Attributes on XHTML elements http://www.w3.org/TR/xhtml-rdfa-primer GRDDL Gleaning Resource Descriptions from Dialects of Languages Explicit reference to (XSL) transformation http://www.w3.org/TR/grddl/ 11/30/09 11
  • 26.
  • 27. Integration: GRDDL In HTML/XML instance documents: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:grddl='http://www.w3.org/2003/g/data-view#' grddl:transformation="glean_title.xsl http://www.w3.org/2001/sw/grddl-wg/td/getAuthor.xsl”> In XML Schema documents: <xsd:annotation> <xsd:appinfo> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="http://www.metalex.eu/latest"> <grddl:namespaceTransformation rdf:resource=”http://www.metalex.eu/grddl/metalex2owl.xsl" /> </rdf:Description> </rdf:RDF> </xsd:appinfo> </xsd:annotation> 11/30/09 13
  • 28. Storage (on the web) As documents .rdf, .n3, .turtle, .html RDF triple stores Sesame, Joseki, 4Store, AllegroGraph, OpenLink Virtuoso, SDB/TDB, Open Calais, SWI Prolog Reasoners ‘on top’, or via DIG Pellet, OWLIM, etc. SPARQL Endpoints Results as JSON, XML, CSV etc. 11/30/09 14
  • 29. Querying Originally many languages SPARQL, nRQL, SeRQL, etc. SPARQL: http://www.w3.org/TR/rdf-sparql-query/ Example PREFIX course: <http://www.uva.nl/courses#> PREFIX uva: <http://www.uva.nl/rdf#> SELECT ?name WHERE { ?x uva:teaches course:ks2007. ?x uva:name ?name } ?x binds with <http://www.uva.nl/people#radboud> ?name binds with “Radboud Winkels”^^xsd:string 11/30/09 15
  • 30. Querying (2) SPARQL 1.0 select, construct, from, optional, filter Negation via unbound variable SPARQL 1.1 update, negation, aggregation, subqueries 11/30/09 16
  • 31. The Web of Data … does it exist? 11/30/09 17
  • 32. Linked Open Data 11/30/09 18
  • 33. 11/30/09 19 November 2009: 13.1 Billion triples, 142 Million links
  • 34.
  • 35. New York Times archives
  • 36. Now 5k names, with 4 references to LOD
  • 37. Will grow to > 30k
  • 45. Scalability How to deal with massive amounts of data? Consequences for reasoning Billion Triple Challenge (864.8 Million Triples) Consequences for querying Table lookups, joins etc. … and what about … Dealing with change, provenance, trust? 11/30/09 21
  • 46. A rough idea… I can crash a DL reasoner using an ontology of ~15 classes and 5 individuals (honestly) What if my ontology contains thousands of classes and billions of individuals? 11/30/09 22
  • 47.
  • 48. Realtime vs. in advance
  • 51. Still problems with scalability
  • 54. ‘SpeedDate’ distrubution of triples across nodes
  • 56. Full closure of BTC in 57 minutes
  • 58. And what to do with the results?11/30/09 23
  • 59. 2 Degrees from Kevin Bacon PREFIX p: http://dbpedia.org/property/ SELECT ?film1 ?actor1 ?film2 ?actor2 WHERE { ?film1 p:starring <http://dbpedia.org/resource/Kevin_Bacon> . ?film1 p:starring ?actor1 . ?film2 p:starring ?actor1 . ?film2 p:starring ?actor2 .} 11/30/09 24 DBPedia: 150M triples
  • 60.
  • 62. … a couple of hours
  • 63. Simple table lookup (one-variable query)
  • 64. … about 5 minutes
  • 66. … a couple of hours
  • 68. Harddisk access times are the bottleneck (9ms)
  • 69. More targeted reasoning, querying, federation.11/30/09 25
  • 70. Let’s suppose that all works Viewing the web of data 11/30/09 26
  • 71. Browsing and Viewing How to unlock your RDF/OWL to users? Custom applications (PizzaFinder) Generic RDF Browsers (Faceted Browsing) How to present your RDF/OWL to users? Custom applications (TopBraid Geo) Generic RDF Visualisation (Fresnel Lenses) 11/30/09 27
  • 72. Browsing: Facets Multi-dimensional search User filters available information Context dependent Facet UI element Values of a property Number of results Query building 11/30/09 28
  • 73. Browsing MIT Longwell http://simile.mit.edu/longwell/demo/libraries /facet http://slashfacet.semanticweb.org Flamenco RDFBrowser Exhibit http://simile.mit.edu/exhibit LENA OpenAcademia http://vu.openacademia.org 11/30/09 29
  • 74. Viewing Tables are boring! Different data? Different presentation: URI/URL Images Strings Coordinates Filtering data Aggregating data 11/30/09 30
  • 75.
  • 76. What data to present, and
  • 80. Group information (class membership, SPARQL result)
  • 82. Specify how property values should be rendered11/30/09 31
  • 83. Viewing: Fresnel lens :foafPersonDefaultLens rdf:type fresnel:Lens ; fresnel:purpose fresnel:defaultLens ; fresnel:classLensDomain foaf:Person ; fresnel:group :foafGroup ; fresnel:showProperties ( foaf:name foaf:surname foaf:depiction ) . :knowsLens rdf:type fresnel:Lens ; fresnel:classLensDomain foaf:Person ; fresnel:group :foafGroup ; fresnel:showProperties ( foaf:name foaf:surname foaf:mbox [ rdf:type fresnel:PropertyDescription ; fresnel:property foaf:knows ; fresnel:sublens :foafPersonDefaultLens ] ) . 11/30/09 32
  • 84. Viewing: Fresnel format :foafGroup rdf:type fresnel:Group ; fresnel:stylesheetLink <http://www.example.org/example.css> . :depictFormat rdf:type fresnel:Format ; fresnel:propertyFormatDomain foaf:depiction ; fresnel:label fresnel:none ; fresnel:value fresnel:image ; fresnel:valueStyle "imageWithThickBorder"^^fresnel:styleClass ; fresnel:group :foafGroup . :urlFormat rdf:type fresnel:Format ; fresnel:propertyFormatDomain foaf:homepage ; fresnel:propertyFormatDomain foaf:mbox ; fresnel:value fresnel:externalLink ; fresnel:labelStyle "basicLabel"^^fresnel:styleClass ; fresnel:valueStyle "basicUrl"^^fresnel:styleClass ; fresnel:group :foafGroup . 11/30/09 33
  • 88. OWL in Action 11/30/09 37
  • 89.
  • 97. Legal reasoning (van de Ven et al., 2008)11/30/09 38
  • 98. Legal assessment Case input Individual case description Match Case is matched against a set of norms Resolve conflicts Where multiple norms apply, the system determines whether and which norms have priority over others Final verdict
  • 99. University library regulations Norms qualify a situation 1a) Students registered at this university are allowed to check out a book from this library 1b) Students registered at other universities are allowed to check out a book from this library provided that they are enrolled in at least one course given at this university. 1c) Students who have checked out more than five books are not allowed to check out another book. Expected subsumption hierarchy: Art1c ⊑ Art1a, Art1c ⊑ Art1b Amy C {Amy :Student, book_1 :Library_Book, … , book_6 :Library_Book Amychecks_out book_1, … , Amychecks_out book_6}
  • 100. Norms in LKIF Core
  • 101. A Default Norm 0) Default: Checking out books is disallowed. Default_GC ⊑ Generic_Case ⊑ ∃disallowed_by.{defaultnorm} ≡ ∃checks_out.Library_Book   Default_Norm ⊑ Prohibition ⊑ ∀disallows.Default_GC ≡ {defaultnorm}
  • 102. Article 1a 1a) Students registered at this university are allowed to check out a book from this library. Art1a_GC ⊑ Generic_Case ⊑ ∃allowed_by.art1a ≡ Registered_Student ⊓ ∃checks_out.Library_Book   Art1a_Permission ⊑ Permission ⊑ ∀allows.Art1a_GC ≡ {art1a}
  • 103. Article 1c 1c) Students who have checked out more than five books are not allowed to check out another book. Art1c_GC_F ⊑Generic_Case ⊑∃disallowed_by.{art1c} ≡ Registered_Student ⊓≥ 6 checks_out.Library_Book Art1c_GC_P ⊑Generic_Case ⊑∃allowed_by.{art1c} ≡ Registered_Student ⊓∃checks_out.Library_Book ≤ 5 checks_out.Library_Book Art1c_Prohibition ⊑ Prohibition ⊑ ∀disallows.Art1c_GC_F ⊓ ∀allows.Art1c_GC_P ≡ {art1c}
  • 105.