SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
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

Más contenido relacionado

Destacado (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 a 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_datapubeswcsummerschool
 
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 dataGiorgos Santipantakis
 
Standard Web APIs for Multidisciplinary Collaboration
Standard Web APIs for Multidisciplinary CollaborationStandard Web APIs for Multidisciplinary Collaboration
Standard Web APIs for Multidisciplinary CollaborationAxel 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, IntroductionJasonRafeMiller
 
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 SiteIRJET Journal
 
Semantic Web Servers
Semantic Web ServersSemantic Web Servers
Semantic Web Serverswebhostingguy
 
BioIT Europe 2010 - BioCatalogue
BioIT Europe 2010 - BioCatalogueBioIT Europe 2010 - BioCatalogue
BioIT Europe 2010 - BioCatalogueBioCatalogue
 
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 Integrationrumito
 
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 2015Jackson F. de A. Mafra
 
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 LakesDataWorks Summit
 
Linked Data Planet Key Note
Linked Data Planet Key NoteLinked Data Planet Key Note
Linked Data Planet Key Noterumito
 
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
 
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 HCLSAlasdair Gray
 
Building Linked Data Applications
Building Linked Data ApplicationsBuilding Linked Data Applications
Building Linked Data ApplicationsEUCLID project
 

Similar a 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
 

Más de Semantic Technology Institute International

Más de 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
 

Último

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Último (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

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