SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Semantic Web
                             Technologies
Lecture 6: Applications in the Web of Data
              05: Linked Data Engineering (Part 2)

                                                                           Dr. Harald Sack
                Hasso Plattner Institute for IT Systems Engineering
                                                                University of Potsdam
                                                                                Spring 2013
          This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0)
2




    Lecture 6: Applications in the Web of Data
                         Open HPI - Course: Semantic Web Technologies
     Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
3




         05 - Linked Data Engineering (Part 2)
Open HPI - Course: Semantic Web Technologies - Lecture 6: Applications in the Web of Data
     Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
http://lod-cloud.net/
    Linked Open Data
    □ ordered by categories

4




        Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
DBpedia
    □ Central Hub of the Linked Open Data Cloud
    □ Primary source: Wikipedia Info Boxes
5




       Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
DBPedia
    □ Primary source:
        □ Wikipedia info boxes contain structured data
6




       Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
DBPedia
    □ Primary source:
        □ Wikipedia info boxes contain structured data
7




       Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Open Data                                                         User Generated Content

     Media
8




       Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Open Data
                                                                                               Publications

9




       Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Open Data


10




 Government




     Geographic
     Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
11




                                                                                                 Life Sciences
     Cross-Domain
     Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam   Linked Open Data
Linking Open Data
     ■ Some statistics (as of 09/2011)

12




                                                                          distribution of RD
                                                                                              F Triples by doma
                                                                                                               in




      Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linking Open Data
     ■ Some statistics (as of 09/2011)

13




                                                                                 distribution of Link
                                                                                                     s by domain




      Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Ontologies
     □ Ontologies hold the Linked Data Cloud together

14




        Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Ontologies
     □ z.B. OWL
        □ owl:sameAs connects identical individuals
15
        □ owl:equivalentClass connects equivalent classes




        Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Ontologies
     □ z.B. umbel (version 1.0, Feb. 2011)

16
         □ „Upper Mapping and Binding Exchange Layer“
         □ Subset of OpenCyc
           as RDF Triples based on
           SKOS and OWL2
         □ Upper Ontology with 28.000
           concepts (skos:Concept)
         □ 46.000 Mappings into
           DBpedia, geonames, e.a.
           (owl:equivalentClass, rdfs:subClassOf)
         □ Links to more than 2 Mio Wikipedia
           pages




         Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Ontologies
 □ z.B. SKOS
     □ „Simple Knowledge Organization System“
17
     □ based on RDF and RDFS
     □ applied for definitions and mappings
       of vocabularies and ontologies
           □ skos:Concept (classes)
           □ skos:narrower
           □ skos:broader
           □ skos:related
           □ skos:exactMatch, skos:narrowMatch,
             skos:broadMatch, skos:relatedMatch




     Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Sources in the Web

     □ Native publication
18
          □ D2R-Server, OpenLink Virtuoso, Pubby, etc.

     □ Implementation of Wrappers around existing applications /
       APIs
          □ SIOC Exporter for Wordpress, Drupal, phpBB,...
          □ RDF Book Mashup (Amazon API, Google Base-API,...)


     □ Linking Open Data Project
          □ Semantic Web Education and Outreach W3C working group
          □ Catalogue of all known sources of linked data with an open
            source license
              » DBPedia, Flickr, Open-Cyc, FOAF, SIOC, GeoNames, ...



       Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Browser for Linked Data

      ■ Differences to arbitrary RDF-Browsers
19
       □ RDF Data to be visualized does not necessarely reside in
         local repository, but is distributed in the Web
       □ requires dynamic reload of RDF resources
      ■ Tabulator (Tim Berners-Lee, MIT-)
       (T. Berners-Lee et al.: Tabulator: Exploring and analyzing linked data on the semantic web,
       in Proc. 3rd Int. Semantic Web User Interaction Workshop, 2006, http://
       swui.semanticweb.org/swui06/papers/Berners-Lee/Berners-Lee.pdf)

      ■ OpenLink RDF Data Explorer
       □ enables visualization as graph, timeline, map, etc.
         http://ode.openlinksw.com/

      ■ Zitgist Browser
       http://browser.zitgist.com/

      ■ DISCO Browser
       http://sites.wiwiss.fu-berlin.de/suhl/bizer/ng4j/disco/


        Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Search Engines for Linked Data
      ■ Crawler-based, follow links in datasets to create an index that
        can be queried
20


      ■ Swoogle
       □ keyword-based full text search (Apache-Lucene), uses only limited
         semantic annotation
         http://swoogle.umbc.edu/

      ■ Semantic Web Search Engine (SWSE)
       □ additionally uses rdf:type properties as search filter
         http://swse.deri.org/

      ■ Sindice
       http://www.sindice.com/

      ■ Falcons
       □ with data browser for result analysis
         http://iws.seu.edu.cn/services/falcons/

      ■ Sig.ma - Semantic Information Mashup (based on Sindice)
       http://sig.ma/


         Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Driven Web Applications
     □ Required Components:

21
       □ Local RDF Store
              □ caching of results
              □ permanent storage
       □ Logic (Controller) and
         User Interface (=Business Logic)
              □ (not LOD specific)
       □ Data Integration component
              □ get data directly from LOD-Cloud or
              □ via Semantic Indexer (sindice, etc.)
       □ Data Republishing component
              □ write back application dependent data into the
                Web of Data
                                                                                                M.Hausenblas:
                                                                                                Linked Data Applications, DERI Technical Report, 2009
        Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Driven Web Applications

      □ Access to Linked Data via SPARQL endpoints
22    □ ...but where do I find SPARQL endpoints?
             □ W3C: Currently Alive SPARQL Endpoints
               http://esw.w3.org/SparqlEndpoints

      □ SPARQL endpoints are a RESTful Web Services
             □ HTTP GET Request with SPARQL query
             □ Result available as
                     □ XML, JSON, plaintext (SPARQL Select/Ask)
                     □ RDF/XML, NTriples, Turtle, N3
                       (SPARQL Describe/Construct)
                     □ Data format can be determined via HTTP Accept Header
                       z.B. Accept: application/sparql-results+json
                     □ (or via parameters of the SPARQL query)

       Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Driven Web Applications
       □ The easiest way is to make use of a suitable library:
             □ SPARQL Javascript Library
23
                http://www.thefigtrees.net/lee/blog/2006/04/
                sparql_calendar_demo_a_sparql.html
             □ ARC for SPARQL (PHP)
                http://arc.semsol.org/
             □ RAP - RDF API für PHP
                http://www4.wiwiss.fu-berlin.de/bizer/rdfapi/index.html
             □ Jena/ARQ (Java)
                http://jena.sourceforge.net/
             □ Sesame (Java)
                http://www.openrdf.org/
             □ SPARQL Wrapper (Python)
                http://sparql-wrapper.sourceforge.net/
             □ ...
       Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
Linked Data Driven Web Applications
       □ Simple example with Jena ARQ:

24
     import com.hp.hpl.jena.query.*;

     String service = "..."; // address of the SPARQL endpoint
     String query = "SELECT ..."; // your SPARQL query
     QueryExecution e = QueryExecutionFactory.sparqlService(service, query)

     ResultSet results = e.execSelect();
     while ( results.hasNext() ) {
     ! !     QuerySolution s = results.nextSolution();
     ! !     // ...
     }

     e.close();




        Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
25




                     06 - Named Entity Recognition
 Open HPI - Course: Semantic Web Technologies - Lecture 6: Applications in the Web of Data
      Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

Weitere ähnliche Inhalte

Was ist angesagt?

The Semantic Web – A Vision Come True, or Giving Up the Great Plan?
The Semantic Web – A Vision Come True, or Giving Up the Great Plan?The Semantic Web – A Vision Come True, or Giving Up the Great Plan?
The Semantic Web – A Vision Come True, or Giving Up the Great Plan?Martin Hepp
 
Describing Scholarly Contributions semantically with the Open Research Knowle...
Describing Scholarly Contributions semantically with the Open Research Knowle...Describing Scholarly Contributions semantically with the Open Research Knowle...
Describing Scholarly Contributions semantically with the Open Research Knowle...Sören Auer
 
From Open Linked Data towards an Ecosystem of Interlinked Knowledge
From Open Linked Data towards an Ecosystem of Interlinked KnowledgeFrom Open Linked Data towards an Ecosystem of Interlinked Knowledge
From Open Linked Data towards an Ecosystem of Interlinked KnowledgeSören Auer
 
Creating knowledge out of interlinked data
Creating knowledge out of interlinked dataCreating knowledge out of interlinked data
Creating knowledge out of interlinked dataSören Auer
 
FAIR Signposting: A KISS Approach to a Burning Issue
FAIR Signposting: A KISS Approach to a Burning IssueFAIR Signposting: A KISS Approach to a Burning Issue
FAIR Signposting: A KISS Approach to a Burning IssueHerbert Van de Sompel
 
20130527 library linkeddata
20130527 library linkeddata20130527 library linkeddata
20130527 library linkeddataStefan Gradmann
 
Make our Scientific Datasets Accessible and Interoperable on the Web
Make our Scientific Datasets Accessible and Interoperable on the WebMake our Scientific Datasets Accessible and Interoperable on the Web
Make our Scientific Datasets Accessible and Interoperable on the WebFranck Michel
 
How links can make your open data even greater
How links can make your open data even greaterHow links can make your open data even greater
How links can make your open data even greaterCristina Sarasua
 
DBpedia Tutorial - Feb 2015, Dublin
DBpedia Tutorial - Feb 2015, DublinDBpedia Tutorial - Feb 2015, Dublin
DBpedia Tutorial - Feb 2015, Dublinm_ackermann
 
Scalable and privacy-preserving data integration - part 1
Scalable and privacy-preserving data integration - part 1Scalable and privacy-preserving data integration - part 1
Scalable and privacy-preserving data integration - part 1ErhardRahm
 

Was ist angesagt? (11)

The Semantic Web – A Vision Come True, or Giving Up the Great Plan?
The Semantic Web – A Vision Come True, or Giving Up the Great Plan?The Semantic Web – A Vision Come True, or Giving Up the Great Plan?
The Semantic Web – A Vision Come True, or Giving Up the Great Plan?
 
Describing Scholarly Contributions semantically with the Open Research Knowle...
Describing Scholarly Contributions semantically with the Open Research Knowle...Describing Scholarly Contributions semantically with the Open Research Knowle...
Describing Scholarly Contributions semantically with the Open Research Knowle...
 
From Open Linked Data towards an Ecosystem of Interlinked Knowledge
From Open Linked Data towards an Ecosystem of Interlinked KnowledgeFrom Open Linked Data towards an Ecosystem of Interlinked Knowledge
From Open Linked Data towards an Ecosystem of Interlinked Knowledge
 
Creating knowledge out of interlinked data
Creating knowledge out of interlinked dataCreating knowledge out of interlinked data
Creating knowledge out of interlinked data
 
FAIR Signposting: A KISS Approach to a Burning Issue
FAIR Signposting: A KISS Approach to a Burning IssueFAIR Signposting: A KISS Approach to a Burning Issue
FAIR Signposting: A KISS Approach to a Burning Issue
 
20130527 library linkeddata
20130527 library linkeddata20130527 library linkeddata
20130527 library linkeddata
 
Make our Scientific Datasets Accessible and Interoperable on the Web
Make our Scientific Datasets Accessible and Interoperable on the WebMake our Scientific Datasets Accessible and Interoperable on the Web
Make our Scientific Datasets Accessible and Interoperable on the Web
 
How links can make your open data even greater
How links can make your open data even greaterHow links can make your open data even greater
How links can make your open data even greater
 
DBpedia Tutorial - Feb 2015, Dublin
DBpedia Tutorial - Feb 2015, DublinDBpedia Tutorial - Feb 2015, Dublin
DBpedia Tutorial - Feb 2015, Dublin
 
Web of Data Usage Mining
Web of Data Usage MiningWeb of Data Usage Mining
Web of Data Usage Mining
 
Scalable and privacy-preserving data integration - part 1
Scalable and privacy-preserving data integration - part 1Scalable and privacy-preserving data integration - part 1
Scalable and privacy-preserving data integration - part 1
 

Ähnlich wie Open hpi semweb-06-part5

Introduction to linked data
Introduction to linked dataIntroduction to linked data
Introduction to linked dataLaura Po
 
Release webinar: Sansa and Ontario
Release webinar: Sansa and OntarioRelease webinar: Sansa and Ontario
Release webinar: Sansa and OntarioBigData_Europe
 
2009 0807 Lod Gmod
2009 0807 Lod Gmod2009 0807 Lod Gmod
2009 0807 Lod GmodJun Zhao
 
Information Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudInformation Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudDhaval Thakker
 
FAIR data: LOUD for all audiences
FAIR data: LOUD for all audiencesFAIR data: LOUD for all audiences
FAIR data: LOUD for all audiencesAlessandro Adamou
 
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...Gezim Sejdiu
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic WebIvan Herman
 
鏈結資料在圖書館的應用20131107
鏈結資料在圖書館的應用20131107鏈結資料在圖書館的應用20131107
鏈結資料在圖書館的應用20131107皓仁 柯
 
Rule-based Capture/Storage of Scientific Data from PDF Files and Export using...
Rule-based Capture/Storage of Scientific Data from PDF Files and Export using...Rule-based Capture/Storage of Scientific Data from PDF Files and Export using...
Rule-based Capture/Storage of Scientific Data from PDF Files and Export using...Stuart Chalk
 

Ähnlich wie Open hpi semweb-06-part5 (10)

Introduction to linked data
Introduction to linked dataIntroduction to linked data
Introduction to linked data
 
Release webinar: Sansa and Ontario
Release webinar: Sansa and OntarioRelease webinar: Sansa and Ontario
Release webinar: Sansa and Ontario
 
Linked Data to Improve the OER Experience
Linked Data to Improve the OER ExperienceLinked Data to Improve the OER Experience
Linked Data to Improve the OER Experience
 
2009 0807 Lod Gmod
2009 0807 Lod Gmod2009 0807 Lod Gmod
2009 0807 Lod Gmod
 
Information Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudInformation Extraction and Linked Data Cloud
Information Extraction and Linked Data Cloud
 
FAIR data: LOUD for all audiences
FAIR data: LOUD for all audiencesFAIR data: LOUD for all audiences
FAIR data: LOUD for all audiences
 
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
鏈結資料在圖書館的應用20131107
鏈結資料在圖書館的應用20131107鏈結資料在圖書館的應用20131107
鏈結資料在圖書館的應用20131107
 
Rule-based Capture/Storage of Scientific Data from PDF Files and Export using...
Rule-based Capture/Storage of Scientific Data from PDF Files and Export using...Rule-based Capture/Storage of Scientific Data from PDF Files and Export using...
Rule-based Capture/Storage of Scientific Data from PDF Files and Export using...
 

Open hpi semweb-06-part5

  • 1. Semantic Web Technologies Lecture 6: Applications in the Web of Data 05: Linked Data Engineering (Part 2) Dr. Harald Sack Hasso Plattner Institute for IT Systems Engineering University of Potsdam Spring 2013 This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0)
  • 2. 2 Lecture 6: Applications in the Web of Data Open HPI - Course: Semantic Web Technologies Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 3. 3 05 - Linked Data Engineering (Part 2) Open HPI - Course: Semantic Web Technologies - Lecture 6: Applications in the Web of Data Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 4. http://lod-cloud.net/ Linked Open Data □ ordered by categories 4 Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 5. DBpedia □ Central Hub of the Linked Open Data Cloud □ Primary source: Wikipedia Info Boxes 5 Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 6. DBPedia □ Primary source: □ Wikipedia info boxes contain structured data 6 Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 7. DBPedia □ Primary source: □ Wikipedia info boxes contain structured data 7 Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 8. Linked Open Data User Generated Content Media 8 Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 9. Linked Open Data Publications 9 Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 10. Linked Open Data 10 Government Geographic Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 11. 11 Life Sciences Cross-Domain Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam Linked Open Data
  • 12. Linking Open Data ■ Some statistics (as of 09/2011) 12 distribution of RD F Triples by doma in Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 13. Linking Open Data ■ Some statistics (as of 09/2011) 13 distribution of Link s by domain Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 14. Linked Data Ontologies □ Ontologies hold the Linked Data Cloud together 14 Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 15. Linked Data Ontologies □ z.B. OWL □ owl:sameAs connects identical individuals 15 □ owl:equivalentClass connects equivalent classes Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 16. Linked Data Ontologies □ z.B. umbel (version 1.0, Feb. 2011) 16 □ „Upper Mapping and Binding Exchange Layer“ □ Subset of OpenCyc as RDF Triples based on SKOS and OWL2 □ Upper Ontology with 28.000 concepts (skos:Concept) □ 46.000 Mappings into DBpedia, geonames, e.a. (owl:equivalentClass, rdfs:subClassOf) □ Links to more than 2 Mio Wikipedia pages Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 17. Linked Data Ontologies □ z.B. SKOS □ „Simple Knowledge Organization System“ 17 □ based on RDF and RDFS □ applied for definitions and mappings of vocabularies and ontologies □ skos:Concept (classes) □ skos:narrower □ skos:broader □ skos:related □ skos:exactMatch, skos:narrowMatch, skos:broadMatch, skos:relatedMatch Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 18. Linked Data Sources in the Web □ Native publication 18 □ D2R-Server, OpenLink Virtuoso, Pubby, etc. □ Implementation of Wrappers around existing applications / APIs □ SIOC Exporter for Wordpress, Drupal, phpBB,... □ RDF Book Mashup (Amazon API, Google Base-API,...) □ Linking Open Data Project □ Semantic Web Education and Outreach W3C working group □ Catalogue of all known sources of linked data with an open source license » DBPedia, Flickr, Open-Cyc, FOAF, SIOC, GeoNames, ... Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 19. Browser for Linked Data ■ Differences to arbitrary RDF-Browsers 19 □ RDF Data to be visualized does not necessarely reside in local repository, but is distributed in the Web □ requires dynamic reload of RDF resources ■ Tabulator (Tim Berners-Lee, MIT-) (T. Berners-Lee et al.: Tabulator: Exploring and analyzing linked data on the semantic web, in Proc. 3rd Int. Semantic Web User Interaction Workshop, 2006, http:// swui.semanticweb.org/swui06/papers/Berners-Lee/Berners-Lee.pdf) ■ OpenLink RDF Data Explorer □ enables visualization as graph, timeline, map, etc. http://ode.openlinksw.com/ ■ Zitgist Browser http://browser.zitgist.com/ ■ DISCO Browser http://sites.wiwiss.fu-berlin.de/suhl/bizer/ng4j/disco/ Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 20. Search Engines for Linked Data ■ Crawler-based, follow links in datasets to create an index that can be queried 20 ■ Swoogle □ keyword-based full text search (Apache-Lucene), uses only limited semantic annotation http://swoogle.umbc.edu/ ■ Semantic Web Search Engine (SWSE) □ additionally uses rdf:type properties as search filter http://swse.deri.org/ ■ Sindice http://www.sindice.com/ ■ Falcons □ with data browser for result analysis http://iws.seu.edu.cn/services/falcons/ ■ Sig.ma - Semantic Information Mashup (based on Sindice) http://sig.ma/ Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 21. Linked Data Driven Web Applications □ Required Components: 21 □ Local RDF Store □ caching of results □ permanent storage □ Logic (Controller) and User Interface (=Business Logic) □ (not LOD specific) □ Data Integration component □ get data directly from LOD-Cloud or □ via Semantic Indexer (sindice, etc.) □ Data Republishing component □ write back application dependent data into the Web of Data M.Hausenblas: Linked Data Applications, DERI Technical Report, 2009 Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 22. Linked Data Driven Web Applications □ Access to Linked Data via SPARQL endpoints 22 □ ...but where do I find SPARQL endpoints? □ W3C: Currently Alive SPARQL Endpoints http://esw.w3.org/SparqlEndpoints □ SPARQL endpoints are a RESTful Web Services □ HTTP GET Request with SPARQL query □ Result available as □ XML, JSON, plaintext (SPARQL Select/Ask) □ RDF/XML, NTriples, Turtle, N3 (SPARQL Describe/Construct) □ Data format can be determined via HTTP Accept Header z.B. Accept: application/sparql-results+json □ (or via parameters of the SPARQL query) Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 23. Linked Data Driven Web Applications □ The easiest way is to make use of a suitable library: □ SPARQL Javascript Library 23 http://www.thefigtrees.net/lee/blog/2006/04/ sparql_calendar_demo_a_sparql.html □ ARC for SPARQL (PHP) http://arc.semsol.org/ □ RAP - RDF API für PHP http://www4.wiwiss.fu-berlin.de/bizer/rdfapi/index.html □ Jena/ARQ (Java) http://jena.sourceforge.net/ □ Sesame (Java) http://www.openrdf.org/ □ SPARQL Wrapper (Python) http://sparql-wrapper.sourceforge.net/ □ ... Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 24. Linked Data Driven Web Applications □ Simple example with Jena ARQ: 24 import com.hp.hpl.jena.query.*; String service = "..."; // address of the SPARQL endpoint String query = "SELECT ..."; // your SPARQL query QueryExecution e = QueryExecutionFactory.sparqlService(service, query) ResultSet results = e.execSelect(); while ( results.hasNext() ) { ! ! QuerySolution s = results.nextSolution(); ! ! // ... } e.close(); Vorlesung Semantic Web, Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam
  • 25. 25 06 - Named Entity Recognition Open HPI - Course: Semantic Web Technologies - Lecture 6: Applications in the Web of Data Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam