• Like
Semantic web   application architecture
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Semantic web application architecture

  • 1,550 views
Published

A presentation on Application Architecture for Semantic Web Applications based on chapter 4 of the book Semantic Web for the Working Ontologist by Dean Allemang and Jim Hendler. It focusses on RDF …

A presentation on Application Architecture for Semantic Web Applications based on chapter 4 of the book Semantic Web for the Working Ontologist by Dean Allemang and Jim Hendler. It focusses on RDF parsing and serialising and RDF stores.

Published in Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,550
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
58
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. Semantic WebApplication Architecture DON WILLEMS INTELLIGENT SYSTEMS ONTOLOGY LUNCH MEETING MAY 10TH 2011
  • 2. based on:Chapter 4 - Semantic Web Application ArchitectureSemantic Web for the Working OntologistDean Allemang and Jim HendlerISBN 978-0-12-373556-0
  • 3. Application ArchitectureOntology Models are build so that they can beused.Used by applications that take advantage ofinformation distributed over the Web. We need to describe the structure of a Semantic Web Application The components The inputs
  • 4. Parsers/SerialisersWhere 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/SerialisersRound-trip possibleThe 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. ScrapersAnother rich source are Web pagesTwo approaches: Author has no knowledge or interest in providing structured data --> Scrapers Author provides marked up content
  • 11. RDFa & microformatsA way to add structured information tounstructured 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 snippetsGoogle rich snippets provide a way for webdevelopers to provide a small sample of content toa Google Search Results page.This content is provided by either Microformats orRDFa http://googlewebmastercentral.blogspot.com/2009/05/introducing-rich-snippets.html
  • 13. Google rich snippetsMICROFORMATS RDFA
  • 14. RDF StoresA 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 StoresFundamentally includes a way to merge twodata sets Resources with the same URI are equivalent in the merged data setMoving data from one store to another storeimplementation is simple compared torelational 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. SPARQLRDF stores typically support a query languageSPARQL Query Language for RDFRDF 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. SPARQLSPARQL Select query?s rdf:type foaf:Person .?s foaf:name ?nameResults?s = _:lnode2011051008072144635 ?name = "Dean Allemang"?s = _:lnode2011051008072144646 ?name = "James Hendler"
  • 20. SPARQL
  • 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
  • 24. Thank you!