SlideShare a Scribd company logo
Linked Data Principles for Services and
  Streams
  Andreas Harth
Institute AIFB, Group Prof. Studer, Knowledge Management




 KIT โ€“ University of the State of Baden-Wuerttemberg and
 National Research Center of the Helmholtz Association     www.kit.edu
Semantic Web Application Architecture




             ( )
2           Linked Data Principles for Services and Streams   Institute AIFB
Services

      WSMX




                                                                 IRS-III
3              Linked Data Principles for Services and Streams             Institute AIFB
Motivation

      Linked Data (LD) makes a lot of data available in the Web
      Applications typically rely on data from different sources
      With LD, integration of data sources is easy:
          <http://data.semanticweb.org/conference/eswc/2010>
                    foaf:based_near
                         <http://dbpedia.org/resource/Heraklion>


      There are lot of applications and mashups on the net which do not have
      this comfort because they rely on Web APIs
          Typically based on JSON or XML retrieved through a custom URI scheme
          Out of 3274 APIs from ProgrammableWeb, only 37 based on RDF



          Typically not interlinked
          Typically the information that users want: Tweets, Facebook friends, eBay
          auctions, Flickr images and YouTube Videos

4              Linked Data Principles for Services and Streams                        Institute AIFB
Example

     Example: Facebook and Twitter API
        ProgrammableWeb lists 92 mashups using Twitter and Facebook
        For both APIs: code to generate API call; code to parse JSON results into
        applicationโ€™s data model
        Integration layer that connects information from both sources




5             Linked Data Principles for Services and Streams                       Institute AIFB
Example

     Gluing code is
     written 92 times!
     For calls often libraries exist
        But who maintains them
        for all different languages?
        Wouldnโ€™t it be good to have
        the same call interface for all
        and then select the favourite
        generic access component?




6             Linked Data Principles for Services and Streams   Institute AIFB
Data Services

      Not all data sources will be published as fully materialised data sets
      Reasons include:
          Data is changing constantly (e.g. sensor data or stock quotes)
          Data is calculated based on infinitely many inputs (e.g. route between two
          geographical locations)
          Provider does not want arbitrary access (e.g. flight ticket prices, social networks)


      LIDS: Method to publish information services as Linked Data
          SPARQL patterns describe input and output
          URIs for service calls can be automatically created
          Service calls can be directly interlinked with other data




7              Linked Data Principles for Services and Streams                          Institute AIFB
Data Services Overview

      Given input, provide output
      Input and output are related in a service-specific way
      We do not consider state changes


                               Input                       relation        Output


                                                                 defines

                                                           Service


      E.g. GeoNames findNearbyWikipedia service
          Input: lat/lon
          Output: places
          Relation: output places that are nearby input place

8              Linked Data Principles for Services and Streams                      Institute AIFB
Enter LIDS: Linked Data Services

      Weโ€™d like to integrate data services with Linked Data
    1. LIDS need to adhere to Linked Data principles

      Weโ€™d like to use data services in software programs
    2. LIDS need machine-readable descriptions of input and output




9              Linked Data Principles for Services and Streams       Institute AIFB
1. Data Services as Linked Data

       Input is given as URI                                                       Service Endpoint

     http://km.aifb.kit.edu/services/geonameswrap/findNearb
       yWikipedia?lat=49.009&lng=8.412#point
                                                                  Parameters             Input Identifier
       Resolving the URI yields RDF:
                                                                           Input
             Relation
     @prefix dbp: <http://dbpedia.org/resource/> .
     @prefix : <http://geo..Wiki?lat=37.416&lng=-122.152#>
     :point
            foaf:based_near dbp:Palo_Alto%2C_California ;
            foaf:based_near dbp:Packard%27s_garage .
                                                                                     Output



10              Linked Data Principles for Services and Streams                                     Institute AIFB
2. LIDS Descriptions

       LIDS characterised by
           Endpoint URI ep, which is the base for all input entities
           Local identifier i of input entity
           List of parameters Xi
           Basic graph pattern Ti describing conditions on parameters
           Basic graph pattern To describing minimum output data


       Example:
       ep = <http://geowrap.openlids.org/findNearbyWikipedia>
       i = point
       Xi = {?lat, ?lng}
       Ti = ?point a Point . ?point geo:lat ?lat .
                             ?point geo:long ?lng
       To = ?point foaf:based_near ?feature




11              Linked Data Principles for Services and Streams         Institute AIFB
Semantic Sensor Networks

      SSN ontology provides descriptions of sensors and observations
      Several stream engines (e.g., C-SPARQL) provide access to
      streams via SPARQL
      GSN (in combination with relational mapping tools such as D2R)
      provides access to archived sensor data
      Linked Sensor Data project provides historical data
      However, there is no defined protocol for live access to streams




12           Linked Data Principles for Services and Streams    Institute AIFB
Proposal: Linked Data Streams

       Use HTTP as access protocol for streams, as HTTP
       supports streaming of data
       Linked Data Streams use RDF as data encoding, and
       HTTP as access protocol
       Open HTTP connection, and then serve RDF triples ad
       infinitum


                                                        HTTP GET
           Web Server                                              Client
                                                200 OK STREAM




13            Linked Data Principles for Services and Streams               Institute AIFB
Example

       Source of stream
     http://events.play-project.eu/e1
       Data (stream of triples)

     e1:event   a :avgTempEvent .
     e1:event   :startTime "2011-01-29"^^xsd:date .
     e1:event   :endTime "2011-01-31"^^xsd:date .
     loc:Nice   :avgTemp [ rdf:value "25" ; :event e1:event ] .
     โ€ฆ


     Spec draft at http://km.aifb.kit.edu/sites/lodstream




14               Linked Data Principles for Services and Streams   Institute AIFB
Proโ€™s and Conโ€™s

       Use of standard HTTP servers and clients for streams
       Simple access using a web browser or other HTTP client
       Simple publication using a CGI script or Servlet
       Fits with Linked Data principles, and allows for reuse of tools and
       best practices (e.g., provenance tracking)
       Linking via use of URIs in the RDF stream
       Potential overhead in using HTTP and RDF (lower-level protocols
       and data formats might be more efficient)
          Javier D. Fernรกndez, Miguel A. Martรญnez-Prieto, Claudio Gutierrez, and
          Axel Polleres. Binary RDF Representation for Publication and Exchange
          (HDT), W3C Member Submission 30 March 2011.




15             Linked Data Principles for Services and Streams             Institute AIFB
Conclusion

      Increasing interest in real-time access to data
      Services and streams form the underlying mechanisms
      K.I.S.S. to keep barrier of entry low

      Encode parameters for services in URIs
      Stream data via HTTP
      Use RDF for returning data




16            Linked Data Principles for Services and Streams   Institute AIFB
Acknowledgements

      Joint work with Sebastian Speiser on Linked Data Services and Roland
      Stuehmer on Linked Data Streams
      Title slide image from
      http://www.flickr.com/photos/23209605@N00/2786126623/




17            Linked Data Principles for Services and Streams       Institute AIFB

More Related Content

Viewers also liked

Cyanogen bromide voiced
Cyanogen bromide voicedCyanogen bromide voiced
Cyanogen bromide voiced
tlcoving
ย 
STI2 Board Meeting 2011 - Summit 2011
STI2 Board Meeting 2011 - Summit 2011STI2 Board Meeting 2011 - Summit 2011
STI2 Board Meeting 2011 - Summit 2011
Semantic Technology Institute International
ย 
Learning j meter
Learning j meterLearning j meter
Learning j meter
rootucool
ย 
Soluguard - the health alternative to bleach.
Soluguard - the health alternative to bleach.Soluguard - the health alternative to bleach.
Soluguard - the health alternative to bleach.
Amy Drinnon, LEED AP
ย 
enfermedad muscular inflamatoria
enfermedad muscular inflamatoriaenfermedad muscular inflamatoria
enfermedad muscular inflamatoria
Pabel Soto
ย 
Design: how to see
Design: how to seeDesign: how to see
Design: how to see
Bob Ferrante
ย 
STI2 ESWC 2012
STI2 ESWC 2012STI2 ESWC 2012
STI Summit 2011 - DB vs RDF
STI Summit 2011 - DB vs RDFSTI Summit 2011 - DB vs RDF
STI Summit 2011 - DB vs RDF
Semantic Technology Institute International
ย 
STI Summit 2011 - Monetizing the Semantic Web
STI Summit 2011 - Monetizing the Semantic WebSTI Summit 2011 - Monetizing the Semantic Web
STI Summit 2011 - Monetizing the Semantic Web
Semantic Technology Institute International
ย 

Viewers also liked (9)

Cyanogen bromide voiced
Cyanogen bromide voicedCyanogen bromide voiced
Cyanogen bromide voiced
ย 
STI2 Board Meeting 2011 - Summit 2011
STI2 Board Meeting 2011 - Summit 2011STI2 Board Meeting 2011 - Summit 2011
STI2 Board Meeting 2011 - Summit 2011
ย 
Learning j meter
Learning j meterLearning j meter
Learning j meter
ย 
Soluguard - the health alternative to bleach.
Soluguard - the health alternative to bleach.Soluguard - the health alternative to bleach.
Soluguard - the health alternative to bleach.
ย 
enfermedad muscular inflamatoria
enfermedad muscular inflamatoriaenfermedad muscular inflamatoria
enfermedad muscular inflamatoria
ย 
Design: how to see
Design: how to seeDesign: how to see
Design: how to see
ย 
STI2 ESWC 2012
STI2 ESWC 2012STI2 ESWC 2012
STI2 ESWC 2012
ย 
STI Summit 2011 - DB vs RDF
STI Summit 2011 - DB vs RDFSTI Summit 2011 - DB vs RDF
STI Summit 2011 - DB vs RDF
ย 
STI Summit 2011 - Monetizing the Semantic Web
STI Summit 2011 - Monetizing the Semantic WebSTI Summit 2011 - Monetizing the Semantic Web
STI Summit 2011 - Monetizing the Semantic Web
ย 

Similar to STI Summit 2011 - Linked data-services-streams

Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapub
eswcsummerschool
ย 
Tutorial Linked APIs
Tutorial Linked APIsTutorial Linked APIs
Tutorial Linked APIs
Steffen Stadtmรผller
ย 
RDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival dataRDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival data
Giorgos Santipantakis
ย 
Standard Web APIs for Multidisciplinary Collaboration
Standard Web APIs for Multidisciplinary CollaborationStandard Web APIs for Multidisciplinary Collaboration
Standard Web APIs for Multidisciplinary Collaboration
Axel Reichwein
ย 
Arabidopsis Information Portal, Developer Workshop 2014, Introduction
Arabidopsis Information Portal, Developer Workshop 2014, IntroductionArabidopsis Information Portal, Developer Workshop 2014, Introduction
Arabidopsis Information Portal, Developer Workshop 2014, Introduction
JasonRafeMiller
ย 
Linked Data
Linked DataLinked Data
Linked Data
cyriacsmail
ย 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
IRJET Journal
ย 
Semantic Web Servers
Semantic Web ServersSemantic Web Servers
Semantic Web Servers
webhostingguy
ย 
ReSTful API Final
ReSTful API FinalReSTful API Final
ReSTful API Final
Claudine Bruyns
ย 
BioIT Europe 2010 - BioCatalogue
BioIT Europe 2010 - BioCatalogueBioIT Europe 2010 - BioCatalogue
BioIT Europe 2010 - BioCatalogue
BioCatalogue
ย 
Linked Data Driven Data Virtualization for Web-scale Integration
Linked Data Driven Data Virtualization for Web-scale IntegrationLinked Data Driven Data Virtualization for Web-scale Integration
Linked Data Driven Data Virtualization for Web-scale Integration
rumito
ย 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Jackson F. de A. Mafra
ย 
Embedded to connected
Embedded to connectedEmbedded to connected
Embedded to connected
Michael Koster
ย 
Information Virtualization: Query Federation on Data Lakes
Information Virtualization: Query Federation on Data LakesInformation Virtualization: Query Federation on Data Lakes
Information Virtualization: Query Federation on Data Lakes
DataWorks Summit
ย 
Linked Data Planet Key Note
Linked Data Planet Key NoteLinked Data Planet Key Note
Linked Data Planet Key Note
rumito
ย 
Introduction to Open Services for Lifecycle Collaboration (OSLC)
Introduction to Open Services for Lifecycle Collaboration (OSLC)Introduction to Open Services for Lifecycle Collaboration (OSLC)
Introduction to Open Services for Lifecycle Collaboration (OSLC)
Axel Reichwein
ย 
Open Services for Lifecycle Collaboration (OSLC) - Extending REST APIs to Con...
Open Services for Lifecycle Collaboration (OSLC) - Extending REST APIs to Con...Open Services for Lifecycle Collaboration (OSLC) - Extending REST APIs to Con...
Open Services for Lifecycle Collaboration (OSLC) - Extending REST APIs to Con...
Axel Reichwein
ย 
Rest web service
Rest web serviceRest web service
Rest web service
Hamid Ghorbani
ย 
Dataset Descriptions in Open PHACTS and HCLS
Dataset Descriptions in Open PHACTS and HCLSDataset Descriptions in Open PHACTS and HCLS
Dataset Descriptions in Open PHACTS and HCLS
Alasdair Gray
ย 
Building Linked Data Applications
Building Linked Data ApplicationsBuilding Linked Data Applications
Building Linked Data Applications
EUCLID project
ย 

Similar to STI Summit 2011 - Linked data-services-streams (20)

Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapub
ย 
Tutorial Linked APIs
Tutorial Linked APIsTutorial Linked APIs
Tutorial Linked APIs
ย 
RDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival dataRDF-Gen: Generating RDF from streaming and archival data
RDF-Gen: Generating RDF from streaming and archival data
ย 
Standard Web APIs for Multidisciplinary Collaboration
Standard Web APIs for Multidisciplinary CollaborationStandard Web APIs for Multidisciplinary Collaboration
Standard Web APIs for Multidisciplinary Collaboration
ย 
Arabidopsis Information Portal, Developer Workshop 2014, Introduction
Arabidopsis Information Portal, Developer Workshop 2014, IntroductionArabidopsis Information Portal, Developer Workshop 2014, Introduction
Arabidopsis Information Portal, Developer Workshop 2014, Introduction
ย 
Linked Data
Linked DataLinked Data
Linked Data
ย 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
ย 
Semantic Web Servers
Semantic Web ServersSemantic Web Servers
Semantic Web Servers
ย 
ReSTful API Final
ReSTful API FinalReSTful API Final
ReSTful API Final
ย 
BioIT Europe 2010 - BioCatalogue
BioIT Europe 2010 - BioCatalogueBioIT Europe 2010 - BioCatalogue
BioIT Europe 2010 - BioCatalogue
ย 
Linked Data Driven Data Virtualization for Web-scale Integration
Linked Data Driven Data Virtualization for Web-scale IntegrationLinked Data Driven Data Virtualization for Web-scale Integration
Linked Data Driven Data Virtualization for Web-scale Integration
ย 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015
ย 
Embedded to connected
Embedded to connectedEmbedded to connected
Embedded to connected
ย 
Information Virtualization: Query Federation on Data Lakes
Information Virtualization: Query Federation on Data LakesInformation Virtualization: Query Federation on Data Lakes
Information Virtualization: Query Federation on Data Lakes
ย 
Linked Data Planet Key Note
Linked Data Planet Key NoteLinked Data Planet Key Note
Linked Data Planet Key Note
ย 
Introduction to Open Services for Lifecycle Collaboration (OSLC)
Introduction to Open Services for Lifecycle Collaboration (OSLC)Introduction to Open Services for Lifecycle Collaboration (OSLC)
Introduction to Open Services for Lifecycle Collaboration (OSLC)
ย 
Open Services for Lifecycle Collaboration (OSLC) - Extending REST APIs to Con...
Open Services for Lifecycle Collaboration (OSLC) - Extending REST APIs to Con...Open Services for Lifecycle Collaboration (OSLC) - Extending REST APIs to Con...
Open Services for Lifecycle Collaboration (OSLC) - Extending REST APIs to Con...
ย 
Rest web service
Rest web serviceRest web service
Rest web service
ย 
Dataset Descriptions in Open PHACTS and HCLS
Dataset Descriptions in Open PHACTS and HCLSDataset Descriptions in Open PHACTS and HCLS
Dataset Descriptions in Open PHACTS and HCLS
ย 
Building Linked Data Applications
Building Linked Data ApplicationsBuilding Linked Data Applications
Building Linked Data Applications
ย 

More from Semantic Technology Institute International

Summit2013 sw in russian universities
Summit2013   sw in russian universitiesSummit2013   sw in russian universities
Summit2013 sw in russian universities
Semantic Technology Institute International
ย 
Summit2013 semantic web in russia
Summit2013   semantic web in russiaSummit2013   semantic web in russia
Summit2013 semantic web in russia
Semantic Technology Institute International
ย 
Summit2013 john domingue - introduction
Summit2013   john domingue - introductionSummit2013   john domingue - introduction
Summit2013 john domingue - introduction
Semantic Technology Institute International
ย 
Summit2013 john domingue - horizon2020
Summit2013   john domingue - horizon2020Summit2013   john domingue - horizon2020
Summit2013 john domingue - horizon2020
Semantic Technology Institute International
ย 
Summit2013 ho-jin choi - summit2013
Summit2013   ho-jin choi - summit2013Summit2013   ho-jin choi - summit2013
Summit2013 ho-jin choi - summit2013
Semantic Technology Institute International
ย 
Summit2013 georg gottlob and tim furche - diadem
Summit2013   georg gottlob and tim furche - diademSummit2013   georg gottlob and tim furche - diadem
Summit2013 georg gottlob and tim furche - diadem
Semantic Technology Institute International
ย 
Summit2013 eventos onto quad
Summit2013   eventos onto quadSummit2013   eventos onto quad
Summit2013 eventos onto quad
Semantic Technology Institute International
ย 
Summit2013 choi - kaist-cs-intro
Summit2013   choi - kaist-cs-introSummit2013   choi - kaist-cs-intro
Summit2013 choi - kaist-cs-intro
Semantic Technology Institute International
ย 
STI Summit 2011 - Conclusion
STI Summit 2011 - ConclusionSTI Summit 2011 - Conclusion
STI Summit 2011 - Conclusion
Semantic Technology Institute International
ย 
STI Summit 2011 - Dynamic web
STI Summit 2011 - Dynamic webSTI Summit 2011 - Dynamic web
STI Summit 2011 - Dynamic web
Semantic Technology Institute International
ย 
STI Summit 2011 - Mlr-sm
STI Summit 2011 - Mlr-smSTI Summit 2011 - Mlr-sm
STI Summit 2011 - Mlr-sm
Semantic Technology Institute International
ย 
STI Summit 2011 - Linked services
STI Summit 2011 - Linked servicesSTI Summit 2011 - Linked services
STI Summit 2011 - Linked services
Semantic Technology Institute International
ย 
STI Summit 2011 - di@scale
STI Summit 2011 - di@scaleSTI Summit 2011 - di@scale
STI Summit 2011 - di@scale
Semantic Technology Institute International
ย 
STI Summit 2011 - A personal look at the future of Semantic Technologies
STI Summit 2011 - A personal look at the future of Semantic TechnologiesSTI Summit 2011 - A personal look at the future of Semantic Technologies
STI Summit 2011 - A personal look at the future of Semantic Technologies
Semantic Technology Institute International
ย 
STI Summit 2011 - Visual analytics and linked data
STI Summit 2011 - Visual analytics and linked dataSTI Summit 2011 - Visual analytics and linked data
STI Summit 2011 - Visual analytics and linked data
Semantic Technology Institute International
ย 
STI Summit 2011 - LS4 LS Khaos
STI Summit 2011 - LS4 LS KhaosSTI Summit 2011 - LS4 LS Khaos
STI Summit 2011 - LS4 LS Khaos
Semantic Technology Institute International
ย 
STI Summit 2011 - Making linked data work
STI Summit 2011 - Making linked data workSTI Summit 2011 - Making linked data work
STI Summit 2011 - Making linked data work
Semantic Technology Institute International
ย 
STI Summit 2011 - Shortipedia
STI Summit 2011 - ShortipediaSTI Summit 2011 - Shortipedia
STI Summit 2011 - Shortipedia
Semantic Technology Institute International
ย 
STI Summit 2011 - Beyond privacy
STI Summit 2011 - Beyond privacySTI Summit 2011 - Beyond privacy
STI Summit 2011 - Beyond privacy
Semantic Technology Institute International
ย 

More from Semantic Technology Institute International (20)

Summit2013 sw in russian universities
Summit2013   sw in russian universitiesSummit2013   sw in russian universities
Summit2013 sw in russian universities
ย 
Summit2013 semantic web in russia
Summit2013   semantic web in russiaSummit2013   semantic web in russia
Summit2013 semantic web in russia
ย 
Summit2013 john domingue - introduction
Summit2013   john domingue - introductionSummit2013   john domingue - introduction
Summit2013 john domingue - introduction
ย 
Summit2013 john domingue - horizon2020
Summit2013   john domingue - horizon2020Summit2013   john domingue - horizon2020
Summit2013 john domingue - horizon2020
ย 
Summit2013 ho-jin choi - summit2013
Summit2013   ho-jin choi - summit2013Summit2013   ho-jin choi - summit2013
Summit2013 ho-jin choi - summit2013
ย 
Summit2013 georg gottlob and tim furche - diadem
Summit2013   georg gottlob and tim furche - diademSummit2013   georg gottlob and tim furche - diadem
Summit2013 georg gottlob and tim furche - diadem
ย 
Summit2013 eventos onto quad
Summit2013   eventos onto quadSummit2013   eventos onto quad
Summit2013 eventos onto quad
ย 
Summit2013 choi - wise kb-introd
Summit2013   choi - wise kb-introdSummit2013   choi - wise kb-introd
Summit2013 choi - wise kb-introd
ย 
Summit2013 choi - kaist-cs-intro
Summit2013   choi - kaist-cs-introSummit2013   choi - kaist-cs-intro
Summit2013 choi - kaist-cs-intro
ย 
STI Summit 2011 - Conclusion
STI Summit 2011 - ConclusionSTI Summit 2011 - Conclusion
STI Summit 2011 - Conclusion
ย 
STI Summit 2011 - Dynamic web
STI Summit 2011 - Dynamic webSTI Summit 2011 - Dynamic web
STI Summit 2011 - Dynamic web
ย 
STI Summit 2011 - Mlr-sm
STI Summit 2011 - Mlr-smSTI Summit 2011 - Mlr-sm
STI Summit 2011 - Mlr-sm
ย 
STI Summit 2011 - Linked services
STI Summit 2011 - Linked servicesSTI Summit 2011 - Linked services
STI Summit 2011 - Linked services
ย 
STI Summit 2011 - di@scale
STI Summit 2011 - di@scaleSTI Summit 2011 - di@scale
STI Summit 2011 - di@scale
ย 
STI Summit 2011 - A personal look at the future of Semantic Technologies
STI Summit 2011 - A personal look at the future of Semantic TechnologiesSTI Summit 2011 - A personal look at the future of Semantic Technologies
STI Summit 2011 - A personal look at the future of Semantic Technologies
ย 
STI Summit 2011 - Visual analytics and linked data
STI Summit 2011 - Visual analytics and linked dataSTI Summit 2011 - Visual analytics and linked data
STI Summit 2011 - Visual analytics and linked data
ย 
STI Summit 2011 - LS4 LS Khaos
STI Summit 2011 - LS4 LS KhaosSTI Summit 2011 - LS4 LS Khaos
STI Summit 2011 - LS4 LS Khaos
ย 
STI Summit 2011 - Making linked data work
STI Summit 2011 - Making linked data workSTI Summit 2011 - Making linked data work
STI Summit 2011 - Making linked data work
ย 
STI Summit 2011 - Shortipedia
STI Summit 2011 - ShortipediaSTI Summit 2011 - Shortipedia
STI Summit 2011 - Shortipedia
ย 
STI Summit 2011 - Beyond privacy
STI Summit 2011 - Beyond privacySTI Summit 2011 - Beyond privacy
STI Summit 2011 - Beyond privacy
ย 

Recently uploaded

Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
ย 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
ย 
Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.
IsmaelVazquez38
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
ย 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
ย 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
TechSoup
ย 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
ย 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
Celine George
ย 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
Kalna College
ย 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
Prof. Dr. K. Adisesha
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
ย 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
Payaamvohra1
ย 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
ย 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
ย 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
ย 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
ย 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
ย 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapitolTechU
ย 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
ย 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
ย 

Recently uploaded (20)

Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
ย 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
ย 
Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.Bossa Nโ€™ Roll Records by Ismael Vazquez.
Bossa Nโ€™ Roll Records by Ismael Vazquez.
ย 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
ย 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
ย 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
ย 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
ย 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
ย 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
ย 
Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
ย 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
ย 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
ย 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
ย 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
ย 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
ย 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
ย 
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptxCapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
CapTechTalks Webinar Slides June 2024 Donovan Wright.pptx
ย 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
ย 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
ย 

STI Summit 2011 - Linked data-services-streams

  • 1. Linked Data Principles for Services and Streams Andreas Harth Institute AIFB, Group Prof. Studer, Knowledge Management KIT โ€“ University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association www.kit.edu
  • 2. Semantic Web Application Architecture ( ) 2 Linked Data Principles for Services and Streams Institute AIFB
  • 3. Services WSMX IRS-III 3 Linked Data Principles for Services and Streams Institute AIFB
  • 4. Motivation Linked Data (LD) makes a lot of data available in the Web Applications typically rely on data from different sources With LD, integration of data sources is easy: <http://data.semanticweb.org/conference/eswc/2010> foaf:based_near <http://dbpedia.org/resource/Heraklion> There are lot of applications and mashups on the net which do not have this comfort because they rely on Web APIs Typically based on JSON or XML retrieved through a custom URI scheme Out of 3274 APIs from ProgrammableWeb, only 37 based on RDF Typically not interlinked Typically the information that users want: Tweets, Facebook friends, eBay auctions, Flickr images and YouTube Videos 4 Linked Data Principles for Services and Streams Institute AIFB
  • 5. Example Example: Facebook and Twitter API ProgrammableWeb lists 92 mashups using Twitter and Facebook For both APIs: code to generate API call; code to parse JSON results into applicationโ€™s data model Integration layer that connects information from both sources 5 Linked Data Principles for Services and Streams Institute AIFB
  • 6. Example Gluing code is written 92 times! For calls often libraries exist But who maintains them for all different languages? Wouldnโ€™t it be good to have the same call interface for all and then select the favourite generic access component? 6 Linked Data Principles for Services and Streams Institute AIFB
  • 7. Data Services Not all data sources will be published as fully materialised data sets Reasons include: Data is changing constantly (e.g. sensor data or stock quotes) Data is calculated based on infinitely many inputs (e.g. route between two geographical locations) Provider does not want arbitrary access (e.g. flight ticket prices, social networks) LIDS: Method to publish information services as Linked Data SPARQL patterns describe input and output URIs for service calls can be automatically created Service calls can be directly interlinked with other data 7 Linked Data Principles for Services and Streams Institute AIFB
  • 8. Data Services Overview Given input, provide output Input and output are related in a service-specific way We do not consider state changes Input relation Output defines Service E.g. GeoNames findNearbyWikipedia service Input: lat/lon Output: places Relation: output places that are nearby input place 8 Linked Data Principles for Services and Streams Institute AIFB
  • 9. Enter LIDS: Linked Data Services Weโ€™d like to integrate data services with Linked Data 1. LIDS need to adhere to Linked Data principles Weโ€™d like to use data services in software programs 2. LIDS need machine-readable descriptions of input and output 9 Linked Data Principles for Services and Streams Institute AIFB
  • 10. 1. Data Services as Linked Data Input is given as URI Service Endpoint http://km.aifb.kit.edu/services/geonameswrap/findNearb yWikipedia?lat=49.009&lng=8.412#point Parameters Input Identifier Resolving the URI yields RDF: Input Relation @prefix dbp: <http://dbpedia.org/resource/> . @prefix : <http://geo..Wiki?lat=37.416&lng=-122.152#> :point foaf:based_near dbp:Palo_Alto%2C_California ; foaf:based_near dbp:Packard%27s_garage . Output 10 Linked Data Principles for Services and Streams Institute AIFB
  • 11. 2. LIDS Descriptions LIDS characterised by Endpoint URI ep, which is the base for all input entities Local identifier i of input entity List of parameters Xi Basic graph pattern Ti describing conditions on parameters Basic graph pattern To describing minimum output data Example: ep = <http://geowrap.openlids.org/findNearbyWikipedia> i = point Xi = {?lat, ?lng} Ti = ?point a Point . ?point geo:lat ?lat . ?point geo:long ?lng To = ?point foaf:based_near ?feature 11 Linked Data Principles for Services and Streams Institute AIFB
  • 12. Semantic Sensor Networks SSN ontology provides descriptions of sensors and observations Several stream engines (e.g., C-SPARQL) provide access to streams via SPARQL GSN (in combination with relational mapping tools such as D2R) provides access to archived sensor data Linked Sensor Data project provides historical data However, there is no defined protocol for live access to streams 12 Linked Data Principles for Services and Streams Institute AIFB
  • 13. Proposal: Linked Data Streams Use HTTP as access protocol for streams, as HTTP supports streaming of data Linked Data Streams use RDF as data encoding, and HTTP as access protocol Open HTTP connection, and then serve RDF triples ad infinitum HTTP GET Web Server Client 200 OK STREAM 13 Linked Data Principles for Services and Streams Institute AIFB
  • 14. Example Source of stream http://events.play-project.eu/e1 Data (stream of triples) e1:event a :avgTempEvent . e1:event :startTime "2011-01-29"^^xsd:date . e1:event :endTime "2011-01-31"^^xsd:date . loc:Nice :avgTemp [ rdf:value "25" ; :event e1:event ] . โ€ฆ Spec draft at http://km.aifb.kit.edu/sites/lodstream 14 Linked Data Principles for Services and Streams Institute AIFB
  • 15. Proโ€™s and Conโ€™s Use of standard HTTP servers and clients for streams Simple access using a web browser or other HTTP client Simple publication using a CGI script or Servlet Fits with Linked Data principles, and allows for reuse of tools and best practices (e.g., provenance tracking) Linking via use of URIs in the RDF stream Potential overhead in using HTTP and RDF (lower-level protocols and data formats might be more efficient) Javier D. Fernรกndez, Miguel A. Martรญnez-Prieto, Claudio Gutierrez, and Axel Polleres. Binary RDF Representation for Publication and Exchange (HDT), W3C Member Submission 30 March 2011. 15 Linked Data Principles for Services and Streams Institute AIFB
  • 16. Conclusion Increasing interest in real-time access to data Services and streams form the underlying mechanisms K.I.S.S. to keep barrier of entry low Encode parameters for services in URIs Stream data via HTTP Use RDF for returning data 16 Linked Data Principles for Services and Streams Institute AIFB
  • 17. Acknowledgements Joint work with Sebastian Speiser on Linked Data Services and Roland Stuehmer on Linked Data Streams Title slide image from http://www.flickr.com/photos/23209605@N00/2786126623/ 17 Linked Data Principles for Services and Streams Institute AIFB