SlideShare une entreprise Scribd logo
1  sur  24
Semantic Web
Application Architecture                                               DON WILLEMS
                           INTELLIGENT SYSTEMS ONTOLOGY LUNCH MEETING MAY 10TH 2011
based on:
Chapter 4 - Semantic Web Application Architecture
Semantic Web for the Working Ontologist
Dean Allemang and Jim Hendler
ISBN 978-0-12-373556-0
Application Architecture
Ontology Models are build so that they can be
used.

Used by applications that take advantage of
information distributed over the Web.

 We need to describe the structure of a Semantic
 Web Application

    The components

    The inputs
Parsers/Serialisers

Where do the triples come from?

   RDF files on the web (static or dynamic)

   Databases mapped to RDF

   Extracted from unstructured data (text)
Parsers
<rdf:Description rdf:about="http://www.example.com/books/Allemang:2008:SWW:1386668">
 <rdf:type rdf:resource="http://purl.org/ontology/bibo/Book"/>
 <dc:creator rdf:nodeID="lnode2011050917254739087"/>
 <dc:creator rdf:nodeID="lnode2011050917254739096"/>
 <bibo:authorList rdf:nodeID="lnode2011050917254739104"/>
 <dc:title>Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL</ns0:title>
 <dc:date>2008-01-01</ns0:date>
 <dc:publisher rdf:nodeID="lnode2011050917254739117"/>
</rdf:Description>




  Transform RDF data
  into an application’s
  data model
Serialisers
   Reverse operation of
   the parser

   Transform an
   application’s data
   model into RDF


:Allemang2008SWW1386668 rdf:type          bibo:Book
               dc:creator     _:lnode2011050923341497724 ,
                          _:lnode2011050923341497734 ;
               bibo:authorList _:lnode2011050923341497742 ;
               dc:title     "Semantic Web for the Working Ontologist: Effective Modeling in RDFS
                           and OWL" ;
               dc:date       "2008-01-01" ;
               dc:publisher _:lnode2011050923341497755 .
Parsers/Serialisers
Round-trip possible

The same RDF (text) file is not guaranteed
Converters

 More data is available as (non-RDF) structured
 or tabular data.

   Databases

   Spreadsheets

 Needs a mapping to transform the data to the
 application’s data model (as triples).
Converters
@book{Allemang:2008:SWW:1386668,
  author = {Dean Allemang and James Hendler},
  title = {Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL},
  year = {2008},
  isbn = {0123735564, 9780123735560},
  publisher = {Morgan Kaufmann Publishers Inc.},
  address = {San Francisco, CA, USA},
}
Scrapers

Another rich source are Web pages

Two approaches:

 Author has no knowledge or interest in
 providing structured data --> Scrapers

 Author provides marked up content
RDFa & microformats
A way to add structured information to
unstructured documents

    Microformats
      Uses a standard vocabulary to translate a webpage
      to RDF (using XSLT)

    RDFa (Resource Description Framework – in – attributes)
      Provides a way to add semantic attributes

      Parsers to extract RDF exist

    No impact on how a browser displays the page
Google rich snippets
Google rich snippets provide a way for web
developers to provide a small sample of content to
a Google Search Results page.

This content is provided by either Microformats or
RDFa




         http://googlewebmastercentral.blogspot.com/2009/05/introducing-rich-snippets.html
Google rich snippets


MICROFORMATS




                        RDFA
RDF Stores
A Database that stores RDF

 Sesame, ARC2 with MySQL, Jena, Virtuoso,
 Redland

 Uses a parser to import data

 Uses a serialiser to export data

 May also include a query engine
RDF Stores

Fundamentally includes a way to merge two
data sets

  Resources with the same URI are equivalent
  in the merged data set

Moving data from one store to another store
implementation is simple compared to
relational databases.
RDF Stores
      Subject                Predicate                 Object
 :Allemang2008SWW1386668        rdf:type                bibo:Book

 :Allemang2008SWW1386668       dc:creator      _:lnode2011050923341497724

 :Allemang2008SWW1386668       dc:creator      _:lnode2011050923341497734

 :Allemang2008SWW1386668     bibo:authorList   _:lnode2011050923341497742

                                               "Semantic Web for the Working
 :Allemang2008SWW1386668         dc:title
                                                   Ontologist: Effective...”

 :Allemang2008SWW1386668      dc:publisher     _:lnode2011050923341497755

 :Allemang2008SWW1386668        dc:date               "2008-01-01"

_:lnode2011050923341497755      rdf:type             foaf:Organization

_:lnode2011050923341497755   foaf:basedNear           "San Francisco"
SPARQL

RDF stores typically support a query language

SPARQL Query Language for RDF

RDF stores often provide a SPARQL endpoint

  A web application to access the database
  using SPARQL
SPARQL
:Allemang2008SWW1386668 rdf:type          bibo:Book
               dc:creator     _:lnode2011050923341497724 ,
                          _:lnode2011050923341497734 ;
               bibo:authorList _:lnode2011050923341497742 ;
               dc:title     "Semantic Web for the Working Ontologist: Effective Modeling in RDFS
                           and OWL" ;
               dc:date       "2008-01-01" ;
               dc:publisher _:lnode2011050923341497755 .

_:lnode2011051008072144635 rdf:type       foaf:Person ;
               foaf:familyName "Allemang" ;
               foaf:givenName "Dean" ;
               foaf:name     "Dean Allemang" .


_:lnode2011051008072144646 rdf:type       foaf:Person ;
               foaf:familyName "Hendler" ;
               foaf:givenName "James" ;
               foaf:name     "James Hendler" .

_:lnode2011051008072144653 rdf:type    rdf:List ;
               rdf:first  _:lnode2011051008072144635 ;
               rdf:rest  _:lnode2011051008072144657 .

_:lnode2011051008072144657 rdf:type    rdf:List ;
               rdf:first  _:lnode2011051008072144646 ;
               rdf:rest  <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

_:lnode2011051008072144666 rdf:type      ns2:Organization ;
               foaf:name     "Morgan Kaufmann Publishers Inc." ;
               foaf:basedNear "San Francisco" .
SPARQL

SPARQL Select query
?s rdf:type foaf:Person .
?s foaf:name ?name


Results
?s =   _:lnode2011051008072144635   ?name = "Dean Allemang"
?s =   _:lnode2011051008072144646   ?name = "James Hendler"
SPARQL
RDF Applications

 An RDF Applications may include
   RDF parsers, serialisers, scrapers, and
   converters and an RDF query engine.

 Application decides which resources need
 to be converted/scraped (diary entries in
 XML, list of addresses from a web page).
RDF Applications

 RDF Graphs are merged to produce a single
 federated graph (mash-ups)



 Easy federation is possible due to the
 merging capabilities of RDF
RDF Applications

 Examples:
  Calendar integration

  Map integration

  Annotations

  Content Management
Thank you!

Contenu connexe

Tendances

Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Juan Sequeda
 
All You Need is Structure
All You Need is StructureAll You Need is Structure
All You Need is StructureLavaCon
 
Open refine reconciliation service api (dc python 2013_03_05)
Open refine reconciliation service api (dc python 2013_03_05)Open refine reconciliation service api (dc python 2013_03_05)
Open refine reconciliation service api (dc python 2013_03_05)Alison Rowland
 
Creating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with HydraCreating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with HydraMarkus Lanthaler
 
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic WebTwo Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic WebDanny Ayers
 
OMG! My metadata is as fresh as the Backstreet Boys: How Google Refine can up...
OMG! My metadata is as fresh as the Backstreet Boys: How Google Refine can up...OMG! My metadata is as fresh as the Backstreet Boys: How Google Refine can up...
OMG! My metadata is as fresh as the Backstreet Boys: How Google Refine can up...Sarah Weeks
 
Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Juan Sequeda
 
Culture Geeks Feb talk: Adventures in Linked Data Land
Culture Geeks Feb talk: Adventures in Linked Data LandCulture Geeks Feb talk: Adventures in Linked Data Land
Culture Geeks Feb talk: Adventures in Linked Data Landval.cartei
 
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...Benjamin Adrian
 
Emerging technologies in academic libraries
Emerging technologies in academic librariesEmerging technologies in academic libraries
Emerging technologies in academic librariesMichael Cummings
 
RDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFaRDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFaPlatypus
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itJose Luis Lopez Pino
 
"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul
"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul
"RDFa - what, why and how?" by Mike Hewett and Shamod LacoulShamod Lacoul
 
Semantic Web
Semantic WebSemantic Web
Semantic Webhardchiu
 
REST APIs for the Internet of Things
REST APIs for the Internet of ThingsREST APIs for the Internet of Things
REST APIs for the Internet of ThingsMichael Koster
 
Talis Platform: A Linked Data Engine
Talis Platform: A Linked Data EngineTalis Platform: A Linked Data Engine
Talis Platform: A Linked Data EngineLeigh Dodds
 

Tendances (20)

Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011
 
RDFa Tutorial
RDFa TutorialRDFa Tutorial
RDFa Tutorial
 
All You Need is Structure
All You Need is StructureAll You Need is Structure
All You Need is Structure
 
Open refine reconciliation service api (dc python 2013_03_05)
Open refine reconciliation service api (dc python 2013_03_05)Open refine reconciliation service api (dc python 2013_03_05)
Open refine reconciliation service api (dc python 2013_03_05)
 
R training at Aimia
R training at AimiaR training at Aimia
R training at Aimia
 
Creating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with HydraCreating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with Hydra
 
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic WebTwo Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
 
OMG! My metadata is as fresh as the Backstreet Boys: How Google Refine can up...
OMG! My metadata is as fresh as the Backstreet Boys: How Google Refine can up...OMG! My metadata is as fresh as the Backstreet Boys: How Google Refine can up...
OMG! My metadata is as fresh as the Backstreet Boys: How Google Refine can up...
 
Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Introduction to Linked Data 1/5
Introduction to Linked Data 1/5
 
Culture Geeks Feb talk: Adventures in Linked Data Land
Culture Geeks Feb talk: Adventures in Linked Data LandCulture Geeks Feb talk: Adventures in Linked Data Land
Culture Geeks Feb talk: Adventures in Linked Data Land
 
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
Epiphany: Adaptable RDFa Generation Linking the Web of Documents to the Web o...
 
Rest
RestRest
Rest
 
Emerging technologies in academic libraries
Emerging technologies in academic librariesEmerging technologies in academic libraries
Emerging technologies in academic libraries
 
RDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFaRDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFa
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
 
"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul
"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul
"RDFa - what, why and how?" by Mike Hewett and Shamod Lacoul
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
REST APIs for the Internet of Things
REST APIs for the Internet of ThingsREST APIs for the Internet of Things
REST APIs for the Internet of Things
 
Talis Platform: A Linked Data Engine
Talis Platform: A Linked Data EngineTalis Platform: A Linked Data Engine
Talis Platform: A Linked Data Engine
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 

En vedette

Developing A Semantic Web Application - ISWC 2008 tutorial
Developing A Semantic Web Application -  ISWC 2008 tutorialDeveloping A Semantic Web Application -  ISWC 2008 tutorial
Developing A Semantic Web Application - ISWC 2008 tutorialEmanuele Della Valle
 
Semantic web (Foundation – Architecture – Languages – Tools)
Semantic web (Foundation – Architecture – Languages – Tools)Semantic web (Foundation – Architecture – Languages – Tools)
Semantic web (Foundation – Architecture – Languages – Tools)Karwan Jacksi
 
The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)Myungjin Lee
 
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)Beat Signer
 
Price assessment of discontinuous innovation CucinaBarilla
Price assessment of discontinuous innovation CucinaBarillaPrice assessment of discontinuous innovation CucinaBarilla
Price assessment of discontinuous innovation CucinaBarillaTarget Research
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic websiteCJ Jenkins
 
Case Study in Linked Data and Semantic Web: Human Genome
Case Study in Linked Data and Semantic Web: Human GenomeCase Study in Linked Data and Semantic Web: Human Genome
Case Study in Linked Data and Semantic Web: Human GenomeDavid Portnoy
 
Jena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for JavaJena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for JavaAleksander Pohl
 
Client-Server Hybrid Applications with Vaadin
Client-Server Hybrid Applications with VaadinClient-Server Hybrid Applications with Vaadin
Client-Server Hybrid Applications with VaadinArtur-vaadin
 
SAS University Edition - Getting Started
SAS University Edition - Getting StartedSAS University Edition - Getting Started
SAS University Edition - Getting StartedCraig Trim
 
Social Media & Reputation Management: The Why and The How
Social Media & Reputation Management: The Why and The HowSocial Media & Reputation Management: The Why and The How
Social Media & Reputation Management: The Why and The HowDaniel Riveong
 
Kako učiti strane reči
Kako učiti strane rečiKako učiti strane reči
Kako učiti strane rečiLokiC
 
I believe vod showcase
I believe vod showcaseI believe vod showcase
I believe vod showcaseibelievedublin
 
זה לא חייב להיות כך נייר עמדה
זה לא חייב להיות כך נייר עמדהזה לא חייב להיות כך נייר עמדה
זה לא חייב להיות כך נייר עמדהacri009
 

En vedette (20)

Developing A Semantic Web Application - ISWC 2008 tutorial
Developing A Semantic Web Application -  ISWC 2008 tutorialDeveloping A Semantic Web Application -  ISWC 2008 tutorial
Developing A Semantic Web Application - ISWC 2008 tutorial
 
Data Mining
Data MiningData Mining
Data Mining
 
Semantic web (Foundation – Architecture – Languages – Tools)
Semantic web (Foundation – Architecture – Languages – Tools)Semantic web (Foundation – Architecture – Languages – Tools)
Semantic web (Foundation – Architecture – Languages – Tools)
 
The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)
 
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
XML and XML Applications - Lecture 04 - Web Information Systems (WE-DINF-11912)
 
Price assessment of discontinuous innovation CucinaBarilla
Price assessment of discontinuous innovation CucinaBarillaPrice assessment of discontinuous innovation CucinaBarilla
Price assessment of discontinuous innovation CucinaBarilla
 
Ascoltere la rete: la sentiment analysis
Ascoltere la rete: la sentiment analysisAscoltere la rete: la sentiment analysis
Ascoltere la rete: la sentiment analysis
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic website
 
Case Study in Linked Data and Semantic Web: Human Genome
Case Study in Linked Data and Semantic Web: Human GenomeCase Study in Linked Data and Semantic Web: Human Genome
Case Study in Linked Data and Semantic Web: Human Genome
 
Jena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for JavaJena – A Semantic Web Framework for Java
Jena – A Semantic Web Framework for Java
 
Client-Server Hybrid Applications with Vaadin
Client-Server Hybrid Applications with VaadinClient-Server Hybrid Applications with Vaadin
Client-Server Hybrid Applications with Vaadin
 
Links in Html
Links in HtmlLinks in Html
Links in Html
 
LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
 
Jena Programming
Jena ProgrammingJena Programming
Jena Programming
 
SAS University Edition - Getting Started
SAS University Edition - Getting StartedSAS University Edition - Getting Started
SAS University Edition - Getting Started
 
Social Media & Reputation Management: The Why and The How
Social Media & Reputation Management: The Why and The HowSocial Media & Reputation Management: The Why and The How
Social Media & Reputation Management: The Why and The How
 
Kako učiti strane reči
Kako učiti strane rečiKako učiti strane reči
Kako učiti strane reči
 
Suomi24 kaverit
Suomi24 kaveritSuomi24 kaverit
Suomi24 kaverit
 
I believe vod showcase
I believe vod showcaseI believe vod showcase
I believe vod showcase
 
זה לא חייב להיות כך נייר עמדה
זה לא חייב להיות כך נייר עמדהזה לא חייב להיות כך נייר עמדה
זה לא חייב להיות כך נייר עמדה
 

Similaire à Semantic web application architecture

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 WebShamod Lacoul
 
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 webMarakana Inc.
 
The Semantic Web #10 - SPARQL
The Semantic Web #10 - SPARQLThe Semantic Web #10 - SPARQL
The Semantic Web #10 - SPARQLMyungjin Lee
 
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 APIsJosef Petrák
 
Re-using Media on the Web: Media fragment re-mixing and playout
Re-using Media on the Web: Media fragment re-mixing and playoutRe-using Media on the Web: Media fragment re-mixing and playout
Re-using Media on the Web: Media fragment re-mixing and playoutMediaMixerCommunity
 
Eclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaEclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaJeen Broekstra
 
Facet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQLFacet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQLLeigh Dodds
 
Graph basedrdf storeforapachecassandra
Graph basedrdf storeforapachecassandraGraph basedrdf storeforapachecassandra
Graph basedrdf storeforapachecassandraRavindra Ranwala
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itJose Luis Lopez Pino
 
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)jottevanger
 
Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013François Belleau
 
Apache Any23 - Anything to Triples
Apache Any23 - Anything to TriplesApache Any23 - Anything to Triples
Apache Any23 - Anything to TriplesMichele Mostarda
 
Data Integration And Visualization
Data Integration And VisualizationData Integration And Visualization
Data Integration And VisualizationIvan Ermilov
 
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
 
Semantic framework for web scraping.
Semantic framework for web scraping.Semantic framework for web scraping.
Semantic framework for web scraping.Shyjal Raazi
 
Semantic Web introduction
Semantic Web introductionSemantic Web introduction
Semantic Web introductionGraphity
 

Similaire à Semantic web application architecture (20)

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
 
Metadata is back!
Metadata is back!Metadata is back!
Metadata is back!
 
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
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
The Semantic Web #10 - SPARQL
The Semantic Web #10 - SPARQLThe Semantic Web #10 - SPARQL
The Semantic Web #10 - SPARQL
 
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
 
Re-using Media on the Web: Media fragment re-mixing and playout
Re-using Media on the Web: Media fragment re-mixing and playoutRe-using Media on the Web: Media fragment re-mixing and playout
Re-using Media on the Web: Media fragment re-mixing and playout
 
Eclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaEclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in Java
 
Semantic Web - RDF
Semantic Web - RDFSemantic Web - RDF
Semantic Web - RDF
 
Facet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQLFacet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQL
 
Graph basedrdf storeforapachecassandra
Graph basedrdf storeforapachecassandraGraph basedrdf storeforapachecassandra
Graph basedrdf storeforapachecassandra
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
 
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)
 
Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013
 
Apache Any23 - Anything to Triples
Apache Any23 - Anything to TriplesApache Any23 - Anything to Triples
Apache Any23 - Anything to Triples
 
Data Integration And Visualization
Data Integration And VisualizationData Integration And Visualization
Data Integration And Visualization
 
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 (...
 
Semantic framework for web scraping.
Semantic framework for web scraping.Semantic framework for web scraping.
Semantic framework for web scraping.
 
Introduction to W3C Linked Data Platform
Introduction to W3C Linked Data PlatformIntroduction to W3C Linked Data Platform
Introduction to W3C Linked Data Platform
 
Semantic Web introduction
Semantic Web introductionSemantic Web introduction
Semantic Web introduction
 

Dernier

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Dernier (20)

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

Semantic web application architecture

  • 1. Semantic Web Application Architecture DON WILLEMS INTELLIGENT SYSTEMS ONTOLOGY LUNCH MEETING MAY 10TH 2011
  • 2. based on: Chapter 4 - Semantic Web Application Architecture Semantic Web for the Working Ontologist Dean Allemang and Jim Hendler ISBN 978-0-12-373556-0
  • 3. Application Architecture Ontology Models are build so that they can be used. Used by applications that take advantage of information distributed over the Web. We need to describe the structure of a Semantic Web Application The components The inputs
  • 4. Parsers/Serialisers Where do the triples come from? RDF files on the web (static or dynamic) Databases mapped to RDF Extracted from unstructured data (text)
  • 5. Parsers <rdf:Description rdf:about="http://www.example.com/books/Allemang:2008:SWW:1386668"> <rdf:type rdf:resource="http://purl.org/ontology/bibo/Book"/> <dc:creator rdf:nodeID="lnode2011050917254739087"/> <dc:creator rdf:nodeID="lnode2011050917254739096"/> <bibo:authorList rdf:nodeID="lnode2011050917254739104"/> <dc:title>Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL</ns0:title> <dc:date>2008-01-01</ns0:date> <dc:publisher rdf:nodeID="lnode2011050917254739117"/> </rdf:Description> Transform RDF data into an application’s data model
  • 6. Serialisers Reverse operation of the parser Transform an application’s data model into RDF :Allemang2008SWW1386668 rdf:type bibo:Book dc:creator _:lnode2011050923341497724 , _:lnode2011050923341497734 ; bibo:authorList _:lnode2011050923341497742 ; dc:title "Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL" ; dc:date "2008-01-01" ; dc:publisher _:lnode2011050923341497755 .
  • 7. Parsers/Serialisers Round-trip possible The same RDF (text) file is not guaranteed
  • 8. Converters More data is available as (non-RDF) structured or tabular data. Databases Spreadsheets Needs a mapping to transform the data to the application’s data model (as triples).
  • 9. Converters @book{Allemang:2008:SWW:1386668, author = {Dean Allemang and James Hendler}, title = {Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL}, year = {2008}, isbn = {0123735564, 9780123735560}, publisher = {Morgan Kaufmann Publishers Inc.}, address = {San Francisco, CA, USA}, }
  • 10. Scrapers Another rich source are Web pages Two approaches: Author has no knowledge or interest in providing structured data --> Scrapers Author provides marked up content
  • 11. RDFa & microformats A way to add structured information to unstructured documents Microformats Uses a standard vocabulary to translate a webpage to RDF (using XSLT) RDFa (Resource Description Framework – in – attributes) Provides a way to add semantic attributes Parsers to extract RDF exist No impact on how a browser displays the page
  • 12. Google rich snippets Google rich snippets provide a way for web developers to provide a small sample of content to a Google Search Results page. This content is provided by either Microformats or RDFa http://googlewebmastercentral.blogspot.com/2009/05/introducing-rich-snippets.html
  • 14. RDF Stores A Database that stores RDF Sesame, ARC2 with MySQL, Jena, Virtuoso, Redland Uses a parser to import data Uses a serialiser to export data May also include a query engine
  • 15. RDF Stores Fundamentally includes a way to merge two data sets Resources with the same URI are equivalent in the merged data set Moving data from one store to another store implementation is simple compared to relational databases.
  • 16. RDF Stores Subject Predicate Object :Allemang2008SWW1386668 rdf:type bibo:Book :Allemang2008SWW1386668 dc:creator _:lnode2011050923341497724 :Allemang2008SWW1386668 dc:creator _:lnode2011050923341497734 :Allemang2008SWW1386668 bibo:authorList _:lnode2011050923341497742 "Semantic Web for the Working :Allemang2008SWW1386668 dc:title Ontologist: Effective...” :Allemang2008SWW1386668 dc:publisher _:lnode2011050923341497755 :Allemang2008SWW1386668 dc:date "2008-01-01" _:lnode2011050923341497755 rdf:type foaf:Organization _:lnode2011050923341497755 foaf:basedNear "San Francisco"
  • 17. SPARQL RDF stores typically support a query language SPARQL Query Language for RDF RDF stores often provide a SPARQL endpoint A web application to access the database using SPARQL
  • 18. SPARQL :Allemang2008SWW1386668 rdf:type bibo:Book dc:creator _:lnode2011050923341497724 , _:lnode2011050923341497734 ; bibo:authorList _:lnode2011050923341497742 ; dc:title "Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL" ; dc:date "2008-01-01" ; dc:publisher _:lnode2011050923341497755 . _:lnode2011051008072144635 rdf:type foaf:Person ; foaf:familyName "Allemang" ; foaf:givenName "Dean" ; foaf:name "Dean Allemang" . _:lnode2011051008072144646 rdf:type foaf:Person ; foaf:familyName "Hendler" ; foaf:givenName "James" ; foaf:name "James Hendler" . _:lnode2011051008072144653 rdf:type rdf:List ; rdf:first _:lnode2011051008072144635 ; rdf:rest _:lnode2011051008072144657 . _:lnode2011051008072144657 rdf:type rdf:List ; rdf:first _:lnode2011051008072144646 ; rdf:rest <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> . _:lnode2011051008072144666 rdf:type ns2:Organization ; foaf:name "Morgan Kaufmann Publishers Inc." ; foaf:basedNear "San Francisco" .
  • 19. SPARQL SPARQL Select query ?s rdf:type foaf:Person . ?s foaf:name ?name Results ?s = _:lnode2011051008072144635 ?name = "Dean Allemang" ?s = _:lnode2011051008072144646 ?name = "James Hendler"
  • 21. RDF Applications An RDF Applications may include RDF parsers, serialisers, scrapers, and converters and an RDF query engine. Application decides which resources need to be converted/scraped (diary entries in XML, list of addresses from a web page).
  • 22. RDF Applications RDF Graphs are merged to produce a single federated graph (mash-ups) Easy federation is possible due to the merging capabilities of RDF
  • 23. RDF Applications Examples: Calendar integration Map integration Annotations Content Management

Notes de l'éditeur

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n