SlideShare a Scribd company logo
1 of 17
Introduction



Semantic Web
      &
 Linked Data
Resource Description Framework
●   W3C standard since 1999
●   Graph data model
●   Triples (graph elements)
    ●   Subject: resource URI
    ●   Property: resource URI
    ●   Object: resource URI or literal value
●   Multiple syntaxes
●   Stored in triplestores
●   SPARQL query language
Triples/Quads
Graph         Subject           Property            Object
        http://www.w3.org/ http://www.w3.org/ http://www.w3.org/
        People/EM/contact# 1999/02/22-rdf-    2000/10/swap/pim/c
        me                 syntax-ns#type     ontact#Person
        http://www.w3.org/ http://www.w3.org/ "Eric Miller"
        People/EM/contact# 2000/10/swap/pim/c
        me                 ontact#fullName
        http://www.w3.org/ http://www.w3.org/ mailto:em@w3.org
        People/EM/contact# 2000/10/swap/pim/c
        me                 ontact#mailbox
        http://www.w3.org/ http://www.w3.org/ "Dr."
        People/EM/contact# 2000/10/swap/pim/c
        me                 ontact#personalTit
                           le

Example from RDF Primer
RDF graph
Multiple syntaxes
●   RDF/XML (the only W3C standard so far)
●   Plain text
    ●   Turtle (soon W3C standard)
    ●   N-Triples
    ● Notation3
●   Namespaces is a shorthand mechanism
    ●   foo: http://example.org/somewhere/
    ●   ex: http://example.org/somewhere/
    ●   foo:bar = http://example.org/somewhere/bar
    ●   foo:bar == ex:bar
RDF/XML syntax
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#">
  <contact:Person rdf:about="
http://www.w3.org/People/EM/contact#me">
    <contact:fullName>Eric Miller</contact:fullName>
    <contact:mailbox rdf:resource="mailto:em@w3.org"/>
    <contact:personalTitle>Dr.</contact:personalTitle>
 </contact:Person>
</rdf:RDF>
Turtle syntax
@prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> .


<http://www.w3.org/People/EM/contact#me> a contact:Person ;
    contact:fullName "Eric Miller" ;
    contact:mailbox <mailto:em@w3.org> ;
    contact:personalTitle "Dr." .
OWL (Web Ontology Language)
●   Based on formal semantics
    ●   Enables inference (reasoning)
●   Open world assumption
    ●   Unknown is not false but undefined
●   Builds on RDF Schema
    ●   Class (set of individuals)
    ●   Property
        –   Datatype
        –   Object
    ●   Instance (individual)
Ontologies
●   Established, reusable vocabularies/schemas
    ●   DublinCore: basic metadata
    ●   FOAF: person and contact information
    ●   SIOC: social media descriptions
    ●   GoodRelations: e-commerce
SPARQL: RDF query language
●   RDF graph pattern matching
●   The only standard NoSQL query language
●   SPARQL forms        ●   SPARQL Update forms
    ●   SELECT              ●   INSERT DATA
    ●   ASK                 ●   DELETE DATA
    ●   DESCRIBE            ●   INSERT/DELETE
    ●   CONSTRUCT           ●   LOAD
                            ●   CLEAR
SPARQL example
PREFIX contact: <http://www.w3.org/2000/10/swap/pim/contact#>
SELECT *
{ ?person contact:mailbox ?mbox }




                ?person                            ?mbox
http://www.w3.org/People/EM/contact#me   mailto:em@w3.org
RDF & SPARQL tools
●   Frameworks
    ●   Apache Jena
    ●   Sesame
●   Triplestores
    ●   Dydra (cloud)
    ●   Stardog
    ●   Virtuoso
    ●   BigData
Linked Data
●   Linked Data = RDF + REST
●   Linked Data platform (soon W3C standard)
    ●   Item resources and container resources
    ●   Implement HTTP methods
    ●   Accept and return RDF descriptions
●   Uniform generic web API
●   The only global data integration approach
Linked Data usage
●   Open datasources
    ●   DBPedia
    ●   Linked Life Data
    ●   UK Open Data
●   In companies
    ●   BBC: Semantic Publishing
    ●   IBM: Linked Data Basic Profile 1.0
Further reading
●   RDF Primer
●   OWL 2 Web Ontology Language Primer
●   SPARQL by Example
●   Learning SPARQL
●   Linked Data: Evolving the Web into a Global Data S
Graphity
●   Generic open-source Linked Data platform
    ●   Independent from domain models and datasources
●   Architecture
    ●   Model: pure RDF, no object model (above RDF API)
        –   Generated SPARQL queries load RDF from triplestore
    ●   View
        –   XSLT transforms RDF/XML to XHTML
    ●   Controller
        –   JAX-RS web application matches requests, queries &
            transforms
Thanks. Questions?
●   Martynas Jusevičius
●   Vilnius/Copenhagen
●   martynas@graphity.org
●   @pumba_lt

More Related Content

What's hot

Semantic Pipes and Semantic Mashups
Semantic Pipes and Semantic MashupsSemantic Pipes and Semantic Mashups
Semantic Pipes and Semantic Mashups
giurca
 
Shrinking the silo boundary: data and schema in the Semantic Web
Shrinking the silo boundary: data and schema in the Semantic WebShrinking the silo boundary: data and schema in the Semantic Web
Shrinking the silo boundary: data and schema in the Semantic Web
Gordon Dunsire
 

What's hot (19)

JSONpedia - Facilitating consumption of MediaWiki content
JSONpedia - Facilitating consumption of MediaWiki contentJSONpedia - Facilitating consumption of MediaWiki content
JSONpedia - Facilitating consumption of MediaWiki content
 
Trying SPARQL Anything with MEI
Trying SPARQL Anything with MEITrying SPARQL Anything with MEI
Trying SPARQL Anything with MEI
 
Knowledge graph construction with a façade - The SPARQL Anything Project
Knowledge graph construction with a façade - The SPARQL Anything ProjectKnowledge graph construction with a façade - The SPARQL Anything Project
Knowledge graph construction with a façade - The SPARQL Anything Project
 
The SPARQL Anything project
The SPARQL Anything projectThe SPARQL Anything project
The SPARQL Anything project
 
Poster - Completeness Statements about RDF Data Sources and Their Use for Qu...
Poster - Completeness Statements about RDF Data Sources and Their Use for Qu...Poster - Completeness Statements about RDF Data Sources and Their Use for Qu...
Poster - Completeness Statements about RDF Data Sources and Their Use for Qu...
 
Publishing and Using Linked Open Data - Day 2
Publishing and Using Linked Open Data - Day 2Publishing and Using Linked Open Data - Day 2
Publishing and Using Linked Open Data - Day 2
 
Another RDF Encoding Form
Another RDF Encoding FormAnother RDF Encoding Form
Another RDF Encoding Form
 
Semantic Pipes and Semantic Mashups
Semantic Pipes and Semantic MashupsSemantic Pipes and Semantic Mashups
Semantic Pipes and Semantic Mashups
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2
 
Jesús Barrasa
Jesús BarrasaJesús Barrasa
Jesús Barrasa
 
Data Integration And Visualization
Data Integration And VisualizationData Integration And Visualization
Data Integration And Visualization
 
Linked Open Data: A simple how-to
Linked Open Data: A simple how-toLinked Open Data: A simple how-to
Linked Open Data: A simple how-to
 
Introducing JSONpedia
Introducing JSONpediaIntroducing JSONpedia
Introducing JSONpedia
 
Fedora Migration Considerations
Fedora Migration ConsiderationsFedora Migration Considerations
Fedora Migration Considerations
 
The Semantic Web #10 - SPARQL
The Semantic Web #10 - SPARQLThe Semantic Web #10 - SPARQL
The Semantic Web #10 - SPARQL
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
Shrinking the silo boundary: data and schema in the Semantic Web
Shrinking the silo boundary: data and schema in the Semantic WebShrinking the silo boundary: data and schema in the Semantic Web
Shrinking the silo boundary: data and schema in the Semantic Web
 
RDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic RepositoriesRDF, SPARQL and Semantic Repositories
RDF, SPARQL and Semantic Repositories
 
DLF 2015 Presentation, "RDF in the Real World."
DLF 2015 Presentation, "RDF in the Real World." DLF 2015 Presentation, "RDF in the Real World."
DLF 2015 Presentation, "RDF in the Real World."
 

Viewers also liked

man-machine communication:controls
man-machine communication:controlsman-machine communication:controls
man-machine communication:controls
joanrosedelacruz
 
2013 siryabe - holes effects in plane periodic multilayered viscoelastic media
2013   siryabe - holes effects in plane periodic multilayered viscoelastic media2013   siryabe - holes effects in plane periodic multilayered viscoelastic media
2013 siryabe - holes effects in plane periodic multilayered viscoelastic media
Pierre Maréchal
 
Forgiveness in Interpersonal Relationships - Cole Connor
Forgiveness in Interpersonal Relationships - Cole ConnorForgiveness in Interpersonal Relationships - Cole Connor
Forgiveness in Interpersonal Relationships - Cole Connor
ceconno
 
Imee D. Darimbang Resume_3.10.2016
Imee D. Darimbang Resume_3.10.2016Imee D. Darimbang Resume_3.10.2016
Imee D. Darimbang Resume_3.10.2016
idd123
 
Forgiveness In Interpersonal Relationships
Forgiveness In Interpersonal RelationshipsForgiveness In Interpersonal Relationships
Forgiveness In Interpersonal Relationships
ceconno
 
TED Slideshow - Brian Cox
TED Slideshow - Brian CoxTED Slideshow - Brian Cox
TED Slideshow - Brian Cox
Justin Togail
 
Disturbi del-movimento
Disturbi del-movimentoDisturbi del-movimento
Disturbi del-movimento
maurogerman
 
Php codigos interfaces fredy guzman cusihunca
Php codigos interfaces   fredy guzman cusihuncaPhp codigos interfaces   fredy guzman cusihunca
Php codigos interfaces fredy guzman cusihunca
Tigger_Fred
 
Creating powerful beginnings and satisfying endings
Creating powerful beginnings and satisfying endingsCreating powerful beginnings and satisfying endings
Creating powerful beginnings and satisfying endings
Jacqui_Dornbrack
 

Viewers also liked (18)

man-machine communication:controls
man-machine communication:controlsman-machine communication:controls
man-machine communication:controls
 
2013 siryabe - holes effects in plane periodic multilayered viscoelastic media
2013   siryabe - holes effects in plane periodic multilayered viscoelastic media2013   siryabe - holes effects in plane periodic multilayered viscoelastic media
2013 siryabe - holes effects in plane periodic multilayered viscoelastic media
 
Forgiveness in Interpersonal Relationships - Cole Connor
Forgiveness in Interpersonal Relationships - Cole ConnorForgiveness in Interpersonal Relationships - Cole Connor
Forgiveness in Interpersonal Relationships - Cole Connor
 
Imee D. Darimbang Resume_3.10.2016
Imee D. Darimbang Resume_3.10.2016Imee D. Darimbang Resume_3.10.2016
Imee D. Darimbang Resume_3.10.2016
 
Ppp
PppPpp
Ppp
 
Forgiveness In Interpersonal Relationships
Forgiveness In Interpersonal RelationshipsForgiveness In Interpersonal Relationships
Forgiveness In Interpersonal Relationships
 
Linked Data success stories
Linked Data success storiesLinked Data success stories
Linked Data success stories
 
Jd quick writes
Jd quick writesJd quick writes
Jd quick writes
 
TED Slideshow - Brian Cox
TED Slideshow - Brian CoxTED Slideshow - Brian Cox
TED Slideshow - Brian Cox
 
Hardy_Justin_PPP
Hardy_Justin_PPPHardy_Justin_PPP
Hardy_Justin_PPP
 
Preparing to Hand Over the Keys - Succession Planning for Automotive Dealers
Preparing to Hand Over the Keys - Succession Planning for Automotive DealersPreparing to Hand Over the Keys - Succession Planning for Automotive Dealers
Preparing to Hand Over the Keys - Succession Planning for Automotive Dealers
 
Disturbi del-movimento
Disturbi del-movimentoDisturbi del-movimento
Disturbi del-movimento
 
...
......
...
 
Php codigos interfaces fredy guzman cusihunca
Php codigos interfaces   fredy guzman cusihuncaPhp codigos interfaces   fredy guzman cusihunca
Php codigos interfaces fredy guzman cusihunca
 
Notebooksummary
NotebooksummaryNotebooksummary
Notebooksummary
 
Creating powerful beginnings and satisfying endings
Creating powerful beginnings and satisfying endingsCreating powerful beginnings and satisfying endings
Creating powerful beginnings and satisfying endings
 
Adjectives presentation
Adjectives presentationAdjectives presentation
Adjectives presentation
 
Genre based writing
Genre based writingGenre based writing
Genre based writing
 

Similar to Semantic Web introduction

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
 
Chapter 3 semantic web
Chapter 3 semantic webChapter 3 semantic web
Chapter 3 semantic web
R A Akerkar
 
A hands on overview of the semantic web
A hands on overview of the semantic webA hands on overview of the semantic web
A hands on overview of the semantic web
Marakana Inc.
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012
scorlosquet
 
SPARQL 1.1 Update (2013-03-05)
SPARQL 1.1 Update (2013-03-05)SPARQL 1.1 Update (2013-03-05)
SPARQL 1.1 Update (2013-03-05)
andyseaborne
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
Rinke Hoekstra
 

Similar to Semantic Web introduction (20)

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
 
How RDFa works
How RDFa worksHow RDFa works
How RDFa works
 
Sparql a simple knowledge query
Sparql  a simple knowledge querySparql  a simple knowledge query
Sparql a simple knowledge query
 
Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)Querying Linked Data with SPARQL (2010)
Querying Linked Data with SPARQL (2010)
 
Chapter 3 semantic web
Chapter 3 semantic webChapter 3 semantic web
Chapter 3 semantic web
 
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
 
RDF Data Model
RDF Data ModelRDF Data Model
RDF Data Model
 
RDFa Tutorial
RDFa TutorialRDFa Tutorial
RDFa Tutorial
 
Adventures in Linked Data Land (presentation by Richard Light)
Adventures in Linked Data Land (presentation by Richard Light)Adventures in Linked Data Land (presentation by Richard Light)
Adventures in Linked Data Land (presentation by Richard Light)
 
A Hands On Overview Of The Semantic Web
A Hands On Overview Of The Semantic WebA Hands On Overview Of The Semantic Web
A Hands On Overview Of The Semantic Web
 
A hands on overview of the semantic web
A hands on overview of the semantic webA hands on overview of the semantic web
A hands on overview of the semantic web
 
A Little SPARQL in your Analytics
A Little SPARQL in your AnalyticsA Little SPARQL in your Analytics
A Little SPARQL in your Analytics
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
SPARQL 1.1 Update (2013-03-05)
SPARQL 1.1 Update (2013-03-05)SPARQL 1.1 Update (2013-03-05)
SPARQL 1.1 Update (2013-03-05)
 
Apache Any23 - Anything to Triples
Apache Any23 - Anything to TriplesApache Any23 - Anything to Triples
Apache Any23 - Anything to Triples
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
An Introduction to RDF and the Web of Data
An Introduction to RDF and the Web of DataAn Introduction to RDF and the Web of Data
An Introduction to RDF and the Web of Data
 
RDFauthor (EKAW)
RDFauthor (EKAW)RDFauthor (EKAW)
RDFauthor (EKAW)
 
Semantic web and Drupal: an introduction
Semantic web and Drupal: an introductionSemantic web and Drupal: an introduction
Semantic web and Drupal: an introduction
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
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
 
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
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
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
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
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, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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)
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

Semantic Web introduction

  • 2. Resource Description Framework ● W3C standard since 1999 ● Graph data model ● Triples (graph elements) ● Subject: resource URI ● Property: resource URI ● Object: resource URI or literal value ● Multiple syntaxes ● Stored in triplestores ● SPARQL query language
  • 3. Triples/Quads Graph Subject Property Object http://www.w3.org/ http://www.w3.org/ http://www.w3.org/ People/EM/contact# 1999/02/22-rdf- 2000/10/swap/pim/c me syntax-ns#type ontact#Person http://www.w3.org/ http://www.w3.org/ "Eric Miller" People/EM/contact# 2000/10/swap/pim/c me ontact#fullName http://www.w3.org/ http://www.w3.org/ mailto:em@w3.org People/EM/contact# 2000/10/swap/pim/c me ontact#mailbox http://www.w3.org/ http://www.w3.org/ "Dr." People/EM/contact# 2000/10/swap/pim/c me ontact#personalTit le Example from RDF Primer
  • 5. Multiple syntaxes ● RDF/XML (the only W3C standard so far) ● Plain text ● Turtle (soon W3C standard) ● N-Triples ● Notation3 ● Namespaces is a shorthand mechanism ● foo: http://example.org/somewhere/ ● ex: http://example.org/somewhere/ ● foo:bar = http://example.org/somewhere/bar ● foo:bar == ex:bar
  • 6. RDF/XML syntax <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"> <contact:Person rdf:about=" http://www.w3.org/People/EM/contact#me"> <contact:fullName>Eric Miller</contact:fullName> <contact:mailbox rdf:resource="mailto:em@w3.org"/> <contact:personalTitle>Dr.</contact:personalTitle> </contact:Person> </rdf:RDF>
  • 7. Turtle syntax @prefix contact: <http://www.w3.org/2000/10/swap/pim/contact#> . <http://www.w3.org/People/EM/contact#me> a contact:Person ; contact:fullName "Eric Miller" ; contact:mailbox <mailto:em@w3.org> ; contact:personalTitle "Dr." .
  • 8. OWL (Web Ontology Language) ● Based on formal semantics ● Enables inference (reasoning) ● Open world assumption ● Unknown is not false but undefined ● Builds on RDF Schema ● Class (set of individuals) ● Property – Datatype – Object ● Instance (individual)
  • 9. Ontologies ● Established, reusable vocabularies/schemas ● DublinCore: basic metadata ● FOAF: person and contact information ● SIOC: social media descriptions ● GoodRelations: e-commerce
  • 10. SPARQL: RDF query language ● RDF graph pattern matching ● The only standard NoSQL query language ● SPARQL forms ● SPARQL Update forms ● SELECT ● INSERT DATA ● ASK ● DELETE DATA ● DESCRIBE ● INSERT/DELETE ● CONSTRUCT ● LOAD ● CLEAR
  • 11. SPARQL example PREFIX contact: <http://www.w3.org/2000/10/swap/pim/contact#> SELECT * { ?person contact:mailbox ?mbox } ?person ?mbox http://www.w3.org/People/EM/contact#me mailto:em@w3.org
  • 12. RDF & SPARQL tools ● Frameworks ● Apache Jena ● Sesame ● Triplestores ● Dydra (cloud) ● Stardog ● Virtuoso ● BigData
  • 13. Linked Data ● Linked Data = RDF + REST ● Linked Data platform (soon W3C standard) ● Item resources and container resources ● Implement HTTP methods ● Accept and return RDF descriptions ● Uniform generic web API ● The only global data integration approach
  • 14. Linked Data usage ● Open datasources ● DBPedia ● Linked Life Data ● UK Open Data ● In companies ● BBC: Semantic Publishing ● IBM: Linked Data Basic Profile 1.0
  • 15. Further reading ● RDF Primer ● OWL 2 Web Ontology Language Primer ● SPARQL by Example ● Learning SPARQL ● Linked Data: Evolving the Web into a Global Data S
  • 16. Graphity ● Generic open-source Linked Data platform ● Independent from domain models and datasources ● Architecture ● Model: pure RDF, no object model (above RDF API) – Generated SPARQL queries load RDF from triplestore ● View – XSLT transforms RDF/XML to XHTML ● Controller – JAX-RS web application matches requests, queries & transforms
  • 17. Thanks. Questions? ● Martynas Jusevičius ● Vilnius/Copenhagen ● martynas@graphity.org ● @pumba_lt