SlideShare a Scribd company logo
1 of 37
Download to read offline
Characteristics of a
RESTful Semantic Web &
Why They Are Important

             Chimezie Ogbuji
            The latest version of this presentation is here:
http://gonzaga.ogbuji.net/~cogbuji/RestfulSemanticWeb.(odp|ppt|pdf)
Introduction
I work in the Cleveland Clinic
  Heart and Vascular Institute as
  an Architect and Developer
Member representative and Editor
  in W3C Data Access Working
  Group (DAWG)
The Semantic Web
The Semantic Web (SW) is an
 extension of the Architecture of
 the World-wide Web (AWWW)
  • Web content is given well-defined
    meaning
  • Knowledge representation
    provides meaning
SW & AWWW Interoperability
 SW should retain properties of the
  AWWW
   • Web agents should be able to
     seamlessly interact with both
   • The assumptions web agents make
     about the AWWW should hold in
     the SW
   • Should be able to have our 'layer
     cake' and eat it too!
Current W3C DAWG Effort
Relevant specifications
  •   SPARQL 1.1/Query
  •   SPARQL 1.1/Update
  •   SPARQL 1.1/Protocol
  •   SPARQL 1.1/Service Descriptions
  •   SPARQL 1.1/Uniform HTTP
      Protocol for Managing RDF Graphs
Discussing the latter
SPARQL 1.1 Update
A language for updates to an RDF
 store
  •   Insert triples into an RDF graph
  •   Delete triples from an RDF graph
  •   Perform group of update actions
  •   Create new RDF graph within store
  •   Delete an RDF graph from the store
Both large and small granularity
Motivation
Update operations should not be
 bound to an API or programming
 language
Similar query languages include
 update mechanisms (SQL)
A language extension is needed
 • However, an HTTP-based (RESTful)
   alternative is needed as well
A RESTful Update Protocol
What does it mean to be RESTful?
• Adhering to best practices for
  distributed hypermedia
• Often misunderstood or overstated
What is Hypermedia:
  • Human-authored media that
    'branch or perform' in response to
    user actions
Primer on REST
Representation State Transfer
  • A coordinated set of architectural
    constraints (an architectural style)
  • Properties induced by Web
    architecture
  • Abstraction of architectural
    elements within a distributed
    hypermedia system
URLs and URIs
URI (Uniform Resource Identifier)
  • A locator, a name, or both
URL (Uniform Resource Locator)
  • Subset of URIs that provide a
    means of locating the resource via
    an access mechanism
REST Data Elements
Key data elements:
 • Resource identifier (URL, URN,etc.)
 • Resource (conceptual target of a
   reference)
 • Representation (RDF document)
 • Representation metadata (Internet
   Media Type)
 • Control data (if-modified-since,
   POST: purpose of message)
Credit: I. Jacobs and N. Walsh (2004)
Component Interactions
Components act on resources via
 representations
REST interactions are stateless
REST interactions are similar to
 synchronous function calls
 • Input: control data, identifier, and
   representation
 • Output: control data, resource
   metadata, and representation
W3C TAG and AWWW
Information Resource
  (documents)
 • “[...] all of their essential
   characteristics can be conveyed in
   a message”
Tag Issue httpRange-14:
 • What kind of things do HTTP URIs
   refer to? Depends on response to
   HTTP GET
Exceptions to this Paradigm
Some pegs don't fit this hole
  • There are URIs that are not
    resolvable (strictly names):
    • tag:chimezie@ogbuji.net:2009/Ngozi
  • There are HTTP URIs that are not
    resolvable (404 Not Found):
    • http://weather.example.com/oaxaca
Can such URIs identify
 information resources?
SPARQL Dataset
RDF Dataset (collection of graphs)
• One graph (the default graph)
  without a name
• Zero or more named graphs that are
  identified with a (graph) URI
Relationship between a named
 graph and its URI is indirect
  • This is a source of confusion
Datasets, REST, and AWWW
 httpRange-14 and RDF datasets
  • What kind of things do graph URIs
    refer to?
  • If it is an HTTP URI, does it also
    depend on the response to HTTP
    GET?
A Graph URI Conjecture
httpRange-14 might be a moot
 point with RDF datasets
 • All of the essential characteristics
   of an RDF graph can be conveyed
   in a message (as an RDF
   document)
 • So, graph URIs identify (RDF)
   Information Resources
   • “RDF knowledge”
RDF Graph Denotation
What is the relationship between
 the graph and what the URI
 identifies?
  • RDF model theory tells us the
    meaning of an RDF graph
  • Allows us to interpret an RDF
    graph in a reproducible, principled
    way
Graph URI Conjecture (cont.)
 For a named graph in a dataset:
   • Graph URI identifies the meaning
     of the graph
   • Meaning can be serialized into an
     RDF document (over a protocol)
   • RDF graph parsed from this
     document can be interpreted to
     provide the meaning (possibly with
     the aid of an ontology)
Straightforward REST Model
 If we assume graph URIs are
    resolvable HTTP URIs:
  • REST components can interact
    with (named) graphs in a dataset
    intuitively via their URIs
  • They can retrieve a representation
    of the meaning of a graph in the
    dataset
Straightforward Model (cont.)

   • REST components can update the
     meaning of a graph by sending
     representations to the graph URIs
   • They can create new named
     graphs by sending a
     representation to a URI
Large Grain Protocol
Compared to SPARQL Update
 • Facilitates manipulation at a
   strictly large granularity
 • RDF graphs are the atomic
   components of the RESTful update
   protocol
 • For smaller grain, more precise
   manipulation, there is SPARQL
   Update language
REST and RDF Syntax
REST provides an extensible
 framework for the syntax of
 representations
  • REST components can request
    representations in a format of their
    choice (NTriples, RDF/XML, custom
    XML, etc.)
  • They can update RDF graphs via
    representations of their choice
Exceptions to the Rule
What about graphs whose URIs
 are strictly names (and not
 locations)?
 • Their URIs are not HTTP URIs
 • Their HTTP URIs are not resolvable
 • The naming authority (DNS) for the
   URI is different from the server
   managing the dataset
URI Components
Embedding URIs
Such URIs can be embedded
 (nested) in the query component
 of a resolvable, parent HTTP URI
  • A REST component interacts with
    the parent URI
  • Requests to the parent URI are
    understood to be directed at a
    graph associated with the
    embedded URI
Embedded URI Request
Managing the Exceptions
Provides a way to manage graphs
 whose URIs are names but not
 locations
 • REST components interact with
   composite URIs (locations)
 • A URI (a name) is embedded in the
   location
Outstanding Questions
What does a graph URI in an RDF
 dataset identify?
 • Proposed it identifies the meaning
   of its associated graph
 • Does the response from interacting
   with a graph HTTP URI determine
   this authoritatively?
 • Does this matter?
Outstanding Questions
        (cont.)
Coordinating the protocols
  • How do web agents discover the
    various 'services'?
  • Can they do so in an unambiguous
    way?
  • Can they intuitively determine
    which to use and at what level of
    granularity?
The Semantic Web
Answers to these questions are
 key to the future landscape of
 the Semantic Web

More Related Content

What's hot

Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4jExplicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4jConnected Data World
 
Semantic Variation Graphs the case for RDF & SPARQL
Semantic Variation Graphs the case for RDF & SPARQLSemantic Variation Graphs the case for RDF & SPARQL
Semantic Variation Graphs the case for RDF & SPARQLJerven Bolleman
 
Automating the Use of Web APIs through Lightweight Semantics
Automating the Use of Web APIs through Lightweight SemanticsAutomating the Use of Web APIs through Lightweight Semantics
Automating the Use of Web APIs through Lightweight Semanticsmmaleshkova
 
Open Data Management for Public Automated Translation
Open Data Management for Public Automated TranslationOpen Data Management for Public Automated Translation
Open Data Management for Public Automated TranslationDave Lewis
 
Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactoryVisual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactoryPeter Haase
 
GOKb and Refine (Kuali Days 2013)
GOKb and Refine (Kuali Days 2013)GOKb and Refine (Kuali Days 2013)
GOKb and Refine (Kuali Days 2013)GOKb Project
 
20080917 Rev
20080917 Rev20080917 Rev
20080917 Revcharper
 
Rated Ranking Evaluator (FOSDEM 2019)
Rated Ranking Evaluator (FOSDEM 2019)Rated Ranking Evaluator (FOSDEM 2019)
Rated Ranking Evaluator (FOSDEM 2019)Andrea Gazzarini
 
Joseph Bradley, Software Engineer, Databricks Inc. at MLconf SEA - 5/01/15
Joseph Bradley, Software Engineer, Databricks Inc. at MLconf SEA - 5/01/15Joseph Bradley, Software Engineer, Databricks Inc. at MLconf SEA - 5/01/15
Joseph Bradley, Software Engineer, Databricks Inc. at MLconf SEA - 5/01/15MLconf
 
20181019 code.talks graph_analytics_k_patenge
20181019 code.talks graph_analytics_k_patenge20181019 code.talks graph_analytics_k_patenge
20181019 code.talks graph_analytics_k_patengeKarin Patenge
 
RDF by Structured Reference to Semantics, the RS2 framework
RDF by Structured Reference to Semantics, the RS2 frameworkRDF by Structured Reference to Semantics, the RS2 framework
RDF by Structured Reference to Semantics, the RS2 frameworkKhan Mostafa
 
Global IRR and RPKI: a Problem Statement
Global IRR and RPKI: a Problem StatementGlobal IRR and RPKI: a Problem Statement
Global IRR and RPKI: a Problem StatementAPNIC
 
W3C Web Annotation WG Update (I Annotate 2016)
W3C Web Annotation WG Update (I Annotate 2016)W3C Web Annotation WG Update (I Annotate 2016)
W3C Web Annotation WG Update (I Annotate 2016)Robert Sanderson
 
From Watson to Ontology Repositories - Ontolog OOR panel
From Watson to Ontology Repositories - Ontolog OOR panelFrom Watson to Ontology Repositories - Ontolog OOR panel
From Watson to Ontology Repositories - Ontolog OOR panelMathieu d'Aquin
 
Search Quality Evaluation to Help Reproducibility: An Open-source Approach
Search Quality Evaluation to Help Reproducibility: An Open-source ApproachSearch Quality Evaluation to Help Reproducibility: An Open-source Approach
Search Quality Evaluation to Help Reproducibility: An Open-source ApproachAlessandro Benedetti
 
WOTS2E: A Search Engine for a Semantic Web of Things
WOTS2E: A Search Engine for a Semantic Web of ThingsWOTS2E: A Search Engine for a Semantic Web of Things
WOTS2E: A Search Engine for a Semantic Web of ThingsAndreas Kamilaris
 

What's hot (18)

Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4jExplicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
Explicit Semantics in Graph DBs Driving Digital Transformation With Neo4j
 
Semantic Variation Graphs the case for RDF & SPARQL
Semantic Variation Graphs the case for RDF & SPARQLSemantic Variation Graphs the case for RDF & SPARQL
Semantic Variation Graphs the case for RDF & SPARQL
 
Automating the Use of Web APIs through Lightweight Semantics
Automating the Use of Web APIs through Lightweight SemanticsAutomating the Use of Web APIs through Lightweight Semantics
Automating the Use of Web APIs through Lightweight Semantics
 
Open Data Management for Public Automated Translation
Open Data Management for Public Automated TranslationOpen Data Management for Public Automated Translation
Open Data Management for Public Automated Translation
 
Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactoryVisual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
 
GOKb and Refine (Kuali Days 2013)
GOKb and Refine (Kuali Days 2013)GOKb and Refine (Kuali Days 2013)
GOKb and Refine (Kuali Days 2013)
 
Christian Jakenfelds
Christian JakenfeldsChristian Jakenfelds
Christian Jakenfelds
 
20080917 Rev
20080917 Rev20080917 Rev
20080917 Rev
 
Rated Ranking Evaluator (FOSDEM 2019)
Rated Ranking Evaluator (FOSDEM 2019)Rated Ranking Evaluator (FOSDEM 2019)
Rated Ranking Evaluator (FOSDEM 2019)
 
Joseph Bradley, Software Engineer, Databricks Inc. at MLconf SEA - 5/01/15
Joseph Bradley, Software Engineer, Databricks Inc. at MLconf SEA - 5/01/15Joseph Bradley, Software Engineer, Databricks Inc. at MLconf SEA - 5/01/15
Joseph Bradley, Software Engineer, Databricks Inc. at MLconf SEA - 5/01/15
 
20181019 code.talks graph_analytics_k_patenge
20181019 code.talks graph_analytics_k_patenge20181019 code.talks graph_analytics_k_patenge
20181019 code.talks graph_analytics_k_patenge
 
RDF by Structured Reference to Semantics, the RS2 framework
RDF by Structured Reference to Semantics, the RS2 frameworkRDF by Structured Reference to Semantics, the RS2 framework
RDF by Structured Reference to Semantics, the RS2 framework
 
Global IRR and RPKI: a Problem Statement
Global IRR and RPKI: a Problem StatementGlobal IRR and RPKI: a Problem Statement
Global IRR and RPKI: a Problem Statement
 
Semantic web
Semantic webSemantic web
Semantic web
 
W3C Web Annotation WG Update (I Annotate 2016)
W3C Web Annotation WG Update (I Annotate 2016)W3C Web Annotation WG Update (I Annotate 2016)
W3C Web Annotation WG Update (I Annotate 2016)
 
From Watson to Ontology Repositories - Ontolog OOR panel
From Watson to Ontology Repositories - Ontolog OOR panelFrom Watson to Ontology Repositories - Ontolog OOR panel
From Watson to Ontology Repositories - Ontolog OOR panel
 
Search Quality Evaluation to Help Reproducibility: An Open-source Approach
Search Quality Evaluation to Help Reproducibility: An Open-source ApproachSearch Quality Evaluation to Help Reproducibility: An Open-source Approach
Search Quality Evaluation to Help Reproducibility: An Open-source Approach
 
WOTS2E: A Search Engine for a Semantic Web of Things
WOTS2E: A Search Engine for a Semantic Web of ThingsWOTS2E: A Search Engine for a Semantic Web of Things
WOTS2E: A Search Engine for a Semantic Web of Things
 

Viewers also liked

Tools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLTools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLChimezie Ogbuji
 
Automated clinicalontologyextraction
Automated clinicalontologyextractionAutomated clinicalontologyextraction
Automated clinicalontologyextractionChimezie Ogbuji
 
GRDDL: The Why, What, How, and Where
GRDDL: The Why, What, How, and WhereGRDDL: The Why, What, How, and Where
GRDDL: The Why, What, How, and WhereChimezie Ogbuji
 
Segmenting & Merging Domain-specific Modules for Clinical Informatics
Segmenting & Merging Domain-specific Modules for Clinical InformaticsSegmenting & Merging Domain-specific Modules for Clinical Informatics
Segmenting & Merging Domain-specific Modules for Clinical InformaticsChimezie Ogbuji
 
Integrating Large, Disparate, Biomedical Ontologies to Boost Organ Developmen...
Integrating Large, Disparate, Biomedical Ontologies to Boost Organ Developmen...Integrating Large, Disparate, Biomedical Ontologies to Boost Organ Developmen...
Integrating Large, Disparate, Biomedical Ontologies to Boost Organ Developmen...Chimezie Ogbuji
 
GRDDL: A Pictorial Approach
GRDDL: A Pictorial ApproachGRDDL: A Pictorial Approach
GRDDL: A Pictorial ApproachChimezie Ogbuji
 
Overview of CPR Ontology
Overview of CPR OntologyOverview of CPR Ontology
Overview of CPR OntologyChimezie Ogbuji
 
Semantic Web Technologies as a Framework for Clinical Informatics
Semantic Web Technologies as a Framework for Clinical InformaticsSemantic Web Technologies as a Framework for Clinical Informatics
Semantic Web Technologies as a Framework for Clinical InformaticsChimezie Ogbuji
 
UniProt and the Semantic Web
UniProt and the Semantic WebUniProt and the Semantic Web
UniProt and the Semantic WebChimezie Ogbuji
 
Semantic Web Technologies: A Paradigm for Medical Informatics
Semantic Web Technologies: A Paradigm for Medical InformaticsSemantic Web Technologies: A Paradigm for Medical Informatics
Semantic Web Technologies: A Paradigm for Medical InformaticsChimezie Ogbuji
 
Using OWL for the RESO Data Dictionary
Using OWL for the RESO Data DictionaryUsing OWL for the RESO Data Dictionary
Using OWL for the RESO Data DictionaryChimezie Ogbuji
 

Viewers also liked (11)

Tools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLTools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDL
 
Automated clinicalontologyextraction
Automated clinicalontologyextractionAutomated clinicalontologyextraction
Automated clinicalontologyextraction
 
GRDDL: The Why, What, How, and Where
GRDDL: The Why, What, How, and WhereGRDDL: The Why, What, How, and Where
GRDDL: The Why, What, How, and Where
 
Segmenting & Merging Domain-specific Modules for Clinical Informatics
Segmenting & Merging Domain-specific Modules for Clinical InformaticsSegmenting & Merging Domain-specific Modules for Clinical Informatics
Segmenting & Merging Domain-specific Modules for Clinical Informatics
 
Integrating Large, Disparate, Biomedical Ontologies to Boost Organ Developmen...
Integrating Large, Disparate, Biomedical Ontologies to Boost Organ Developmen...Integrating Large, Disparate, Biomedical Ontologies to Boost Organ Developmen...
Integrating Large, Disparate, Biomedical Ontologies to Boost Organ Developmen...
 
GRDDL: A Pictorial Approach
GRDDL: A Pictorial ApproachGRDDL: A Pictorial Approach
GRDDL: A Pictorial Approach
 
Overview of CPR Ontology
Overview of CPR OntologyOverview of CPR Ontology
Overview of CPR Ontology
 
Semantic Web Technologies as a Framework for Clinical Informatics
Semantic Web Technologies as a Framework for Clinical InformaticsSemantic Web Technologies as a Framework for Clinical Informatics
Semantic Web Technologies as a Framework for Clinical Informatics
 
UniProt and the Semantic Web
UniProt and the Semantic WebUniProt and the Semantic Web
UniProt and the Semantic Web
 
Semantic Web Technologies: A Paradigm for Medical Informatics
Semantic Web Technologies: A Paradigm for Medical InformaticsSemantic Web Technologies: A Paradigm for Medical Informatics
Semantic Web Technologies: A Paradigm for Medical Informatics
 
Using OWL for the RESO Data Dictionary
Using OWL for the RESO Data DictionaryUsing OWL for the RESO Data Dictionary
Using OWL for the RESO Data Dictionary
 

Similar to Characteristics of a RESTful Semantic Web

Introduction to Restful Web Services
Introduction to Restful Web ServicesIntroduction to Restful Web Services
Introduction to Restful Web Servicesweili_at_slideshare
 
RESTful Web Service using Swagger
RESTful Web Service using SwaggerRESTful Web Service using Swagger
RESTful Web Service using SwaggerHong-Jhih Lin
 
Semantic Web Servers
Semantic Web ServersSemantic Web Servers
Semantic Web Serverswebhostingguy
 
Intro to the semantic web (for libraries)
Intro to the semantic web (for libraries) Intro to the semantic web (for libraries)
Intro to the semantic web (for libraries) robin fay
 
REST Introduction.ppt
REST Introduction.pptREST Introduction.ppt
REST Introduction.pptKGSCSEPSGCT
 
Overview of REST - Raihan Ullah
Overview of REST - Raihan UllahOverview of REST - Raihan Ullah
Overview of REST - Raihan UllahCefalo
 
Data curation and data archiving at different stages of the research process
Data curation and data archiving at different stages of the research processData curation and data archiving at different stages of the research process
Data curation and data archiving at different stages of the research processAndrea Scharnhorst
 
[2015/2016] The REST architectural style
[2015/2016] The REST architectural style[2015/2016] The REST architectural style
[2015/2016] The REST architectural styleIvano Malavolta
 
Rest api webinar(3)
Rest api webinar(3)Rest api webinar(3)
Rest api webinar(3)WSO2
 
REST & API Management with the WSO2 ESB
REST & API Management with the WSO2 ESBREST & API Management with the WSO2 ESB
REST & API Management with the WSO2 ESBWSO2
 
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...Tom Hofte
 
Understanding REST-Based Services: Simple, Scalable, and Platform Independent
Understanding REST-Based Services: Simple, Scalable, and Platform IndependentUnderstanding REST-Based Services: Simple, Scalable, and Platform Independent
Understanding REST-Based Services: Simple, Scalable, and Platform IndependentCharles Knight
 
HATEOAS: The Confusing Bit from REST
HATEOAS: The Confusing Bit from RESTHATEOAS: The Confusing Bit from REST
HATEOAS: The Confusing Bit from RESTelliando dias
 
Sigma EE: Reaping low-hanging fruits in RDF-based data integration
Sigma EE: Reaping low-hanging fruits in RDF-based data integrationSigma EE: Reaping low-hanging fruits in RDF-based data integration
Sigma EE: Reaping low-hanging fruits in RDF-based data integrationRichard Cyganiak
 

Similar to Characteristics of a RESTful Semantic Web (20)

Introduction to Restful Web Services
Introduction to Restful Web ServicesIntroduction to Restful Web Services
Introduction to Restful Web Services
 
RESTful services
RESTful servicesRESTful services
RESTful services
 
RESTful Web Service using Swagger
RESTful Web Service using SwaggerRESTful Web Service using Swagger
RESTful Web Service using Swagger
 
Semantic Web Servers
Semantic Web ServersSemantic Web Servers
Semantic Web Servers
 
Intro to the semantic web (for libraries)
Intro to the semantic web (for libraries) Intro to the semantic web (for libraries)
Intro to the semantic web (for libraries)
 
REST Introduction.ppt
REST Introduction.pptREST Introduction.ppt
REST Introduction.ppt
 
Overview of REST - Raihan Ullah
Overview of REST - Raihan UllahOverview of REST - Raihan Ullah
Overview of REST - Raihan Ullah
 
Mini-Training: Let's have a rest
Mini-Training: Let's have a restMini-Training: Let's have a rest
Mini-Training: Let's have a rest
 
Data curation and data archiving at different stages of the research process
Data curation and data archiving at different stages of the research processData curation and data archiving at different stages of the research process
Data curation and data archiving at different stages of the research process
 
REST and RESTful Services
REST and RESTful ServicesREST and RESTful Services
REST and RESTful Services
 
[2015/2016] The REST architectural style
[2015/2016] The REST architectural style[2015/2016] The REST architectural style
[2015/2016] The REST architectural style
 
RESTful Web Services
RESTful Web ServicesRESTful Web Services
RESTful Web Services
 
Rest api webinar(3)
Rest api webinar(3)Rest api webinar(3)
Rest api webinar(3)
 
REST & API Management with the WSO2 ESB
REST & API Management with the WSO2 ESBREST & API Management with the WSO2 ESB
REST & API Management with the WSO2 ESB
 
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
 
Understanding REST-Based Services: Simple, Scalable, and Platform Independent
Understanding REST-Based Services: Simple, Scalable, and Platform IndependentUnderstanding REST-Based Services: Simple, Scalable, and Platform Independent
Understanding REST-Based Services: Simple, Scalable, and Platform Independent
 
The Glory of Rest
The Glory of RestThe Glory of Rest
The Glory of Rest
 
HATEOAS: The Confusing Bit from REST
HATEOAS: The Confusing Bit from RESTHATEOAS: The Confusing Bit from REST
HATEOAS: The Confusing Bit from REST
 
Sigma EE: Reaping low-hanging fruits in RDF-based data integration
Sigma EE: Reaping low-hanging fruits in RDF-based data integrationSigma EE: Reaping low-hanging fruits in RDF-based data integration
Sigma EE: Reaping low-hanging fruits in RDF-based data integration
 
Unit 2
Unit 2Unit 2
Unit 2
 

Recently uploaded

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Recently uploaded (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Characteristics of a RESTful Semantic Web

  • 1. Characteristics of a RESTful Semantic Web & Why They Are Important Chimezie Ogbuji The latest version of this presentation is here: http://gonzaga.ogbuji.net/~cogbuji/RestfulSemanticWeb.(odp|ppt|pdf)
  • 2. Introduction I work in the Cleveland Clinic Heart and Vascular Institute as an Architect and Developer Member representative and Editor in W3C Data Access Working Group (DAWG)
  • 3. The Semantic Web The Semantic Web (SW) is an extension of the Architecture of the World-wide Web (AWWW) • Web content is given well-defined meaning • Knowledge representation provides meaning
  • 4.
  • 5. SW & AWWW Interoperability SW should retain properties of the AWWW • Web agents should be able to seamlessly interact with both • The assumptions web agents make about the AWWW should hold in the SW • Should be able to have our 'layer cake' and eat it too!
  • 6. Current W3C DAWG Effort Relevant specifications • SPARQL 1.1/Query • SPARQL 1.1/Update • SPARQL 1.1/Protocol • SPARQL 1.1/Service Descriptions • SPARQL 1.1/Uniform HTTP Protocol for Managing RDF Graphs Discussing the latter
  • 7. SPARQL 1.1 Update A language for updates to an RDF store • Insert triples into an RDF graph • Delete triples from an RDF graph • Perform group of update actions • Create new RDF graph within store • Delete an RDF graph from the store Both large and small granularity
  • 8. Motivation Update operations should not be bound to an API or programming language Similar query languages include update mechanisms (SQL) A language extension is needed • However, an HTTP-based (RESTful) alternative is needed as well
  • 9. A RESTful Update Protocol What does it mean to be RESTful? • Adhering to best practices for distributed hypermedia • Often misunderstood or overstated What is Hypermedia: • Human-authored media that 'branch or perform' in response to user actions
  • 10. Primer on REST Representation State Transfer • A coordinated set of architectural constraints (an architectural style) • Properties induced by Web architecture • Abstraction of architectural elements within a distributed hypermedia system
  • 11. URLs and URIs URI (Uniform Resource Identifier) • A locator, a name, or both URL (Uniform Resource Locator) • Subset of URIs that provide a means of locating the resource via an access mechanism
  • 12. REST Data Elements Key data elements: • Resource identifier (URL, URN,etc.) • Resource (conceptual target of a reference) • Representation (RDF document) • Representation metadata (Internet Media Type) • Control data (if-modified-since, POST: purpose of message)
  • 13. Credit: I. Jacobs and N. Walsh (2004)
  • 14. Component Interactions Components act on resources via representations REST interactions are stateless REST interactions are similar to synchronous function calls • Input: control data, identifier, and representation • Output: control data, resource metadata, and representation
  • 15. W3C TAG and AWWW Information Resource (documents) • “[...] all of their essential characteristics can be conveyed in a message” Tag Issue httpRange-14: • What kind of things do HTTP URIs refer to? Depends on response to HTTP GET
  • 16.
  • 17. Exceptions to this Paradigm Some pegs don't fit this hole • There are URIs that are not resolvable (strictly names): • tag:chimezie@ogbuji.net:2009/Ngozi • There are HTTP URIs that are not resolvable (404 Not Found): • http://weather.example.com/oaxaca Can such URIs identify information resources?
  • 18. SPARQL Dataset RDF Dataset (collection of graphs) • One graph (the default graph) without a name • Zero or more named graphs that are identified with a (graph) URI Relationship between a named graph and its URI is indirect • This is a source of confusion
  • 19.
  • 20. Datasets, REST, and AWWW httpRange-14 and RDF datasets • What kind of things do graph URIs refer to? • If it is an HTTP URI, does it also depend on the response to HTTP GET?
  • 21. A Graph URI Conjecture httpRange-14 might be a moot point with RDF datasets • All of the essential characteristics of an RDF graph can be conveyed in a message (as an RDF document) • So, graph URIs identify (RDF) Information Resources • “RDF knowledge”
  • 22.
  • 23. RDF Graph Denotation What is the relationship between the graph and what the URI identifies? • RDF model theory tells us the meaning of an RDF graph • Allows us to interpret an RDF graph in a reproducible, principled way
  • 24. Graph URI Conjecture (cont.) For a named graph in a dataset: • Graph URI identifies the meaning of the graph • Meaning can be serialized into an RDF document (over a protocol) • RDF graph parsed from this document can be interpreted to provide the meaning (possibly with the aid of an ontology)
  • 25.
  • 26. Straightforward REST Model If we assume graph URIs are resolvable HTTP URIs: • REST components can interact with (named) graphs in a dataset intuitively via their URIs • They can retrieve a representation of the meaning of a graph in the dataset
  • 27. Straightforward Model (cont.) • REST components can update the meaning of a graph by sending representations to the graph URIs • They can create new named graphs by sending a representation to a URI
  • 28. Large Grain Protocol Compared to SPARQL Update • Facilitates manipulation at a strictly large granularity • RDF graphs are the atomic components of the RESTful update protocol • For smaller grain, more precise manipulation, there is SPARQL Update language
  • 29. REST and RDF Syntax REST provides an extensible framework for the syntax of representations • REST components can request representations in a format of their choice (NTriples, RDF/XML, custom XML, etc.) • They can update RDF graphs via representations of their choice
  • 30. Exceptions to the Rule What about graphs whose URIs are strictly names (and not locations)? • Their URIs are not HTTP URIs • Their HTTP URIs are not resolvable • The naming authority (DNS) for the URI is different from the server managing the dataset
  • 32. Embedding URIs Such URIs can be embedded (nested) in the query component of a resolvable, parent HTTP URI • A REST component interacts with the parent URI • Requests to the parent URI are understood to be directed at a graph associated with the embedded URI
  • 34. Managing the Exceptions Provides a way to manage graphs whose URIs are names but not locations • REST components interact with composite URIs (locations) • A URI (a name) is embedded in the location
  • 35. Outstanding Questions What does a graph URI in an RDF dataset identify? • Proposed it identifies the meaning of its associated graph • Does the response from interacting with a graph HTTP URI determine this authoritatively? • Does this matter?
  • 36. Outstanding Questions (cont.) Coordinating the protocols • How do web agents discover the various 'services'? • Can they do so in an unambiguous way? • Can they intuitively determine which to use and at what level of granularity?
  • 37. The Semantic Web Answers to these questions are key to the future landscape of the Semantic Web