Semantic Web Services: A RESTful Approach

18
Semantic Web Services A RESTful Approach Otávio Freitas Ferreira Filho Maria Alice Grigas Varella Ferreira University of São Paulo Polytechnic School IADIS International Conference WWW/INTERNET 2009 Rome, Italy 20/11/2009

description

Presentation given at the IADIS International Conference WWW/Internet 2009, in Rome, Italy. November/09. More info: http://otaviofff.github.io/restful-grounding/

Transcript of Semantic Web Services: A RESTful Approach

Page 1: Semantic Web Services: A RESTful Approach

Semantic Web ServicesA RESTful Approach

Otávio Freitas Ferreira FilhoMaria Alice Grigas Varella Ferreira

University of São PauloPolytechnic School

IADIS International Conference WWW/INTERNET 2009Rome, Italy20/11/2009

Page 2: Semantic Web Services: A RESTful Approach

/ 18

Topics

•Objective•Web 2.0•Web Services•RESTful Web Services•Semantic Web Services•RESTful Semantic Web Services•The RESTfulGrounding Ontology•Conclusions

2

Page 3: Semantic Web Services: A RESTful Approach

/ 18

Objective

•To promote the inclusion of RESTful Web services powering the Web 2.0 into the semantic world, potentially speeding up the adoption of the Semantic Web as a whole

3

Page 4: Semantic Web Services: A RESTful Approach

/ 18

Web 2.0

•Collaborative, social applications•Content consumption and, mainly,

production•Network effects•Web services for data extraction and

reuse

4

Page 5: Semantic Web Services: A RESTful Approach

/ 18

Web Services

•Web-based components•Interoperable communication over

networks•Classification:

▫RPC▫RESTful

5

Page 6: Semantic Web Services: A RESTful Approach

/ 18

RESTful Web Services

•REST: architectural style for distributed systems

•RESTful: REST + HTTP•Syntactic description: WADL

6

Page 7: Semantic Web Services: A RESTful Approach

/ 18

RESTful Web Services / Concepts•Resource•Representation•Uniform Identifier•Unified Interface•Execution Scope

7

Page 8: Semantic Web Services: A RESTful Approach

/ 18

RESTful Web Services / Principles•Addressability•Statelessness•Connectedness

8

Page 9: Semantic Web Services: A RESTful Approach

/ 18

Semantic Web Services

•Semantic layer for automated service discovery, composition, monitoring, and execution

•Offer both syntactic and semantic descriptions

9

Access Syntax Semantics

RPC SOAP WSDL OWL-S

RESTful HTTP WADL OWL-S

Page 10: Semantic Web Services: A RESTful Approach

/ 18

Semantic Web Services

•OWL-S: Upper ontology for services

10

Page 11: Semantic Web Services: A RESTful Approach

/ 1811

Page 12: Semantic Web Services: A RESTful Approach

/ 18

RESTful Semantic Web Services•Follow the addressability principle•Follow the statelessness principle•Follow the connectedness principle•Support the unified interface (HTTP)•Offer syntactic description (WADL)•Offer semantic description (OWL-S)

12

Page 13: Semantic Web Services: A RESTful Approach

/ 1813

Page 14: Semantic Web Services: A RESTful Approach

/ 18

The RESTfulGrounding Ontology

14

Page 15: Semantic Web Services: A RESTful Approach

/ 18

The RESTfulGrounding Ontology01 <owl:Class rdf:ID="WadlGrounding"> 02 <rdfs:subClassOf rdf:resource="&grounding;#Grounding"/> 03 <rdfs:subClassOf> 04 <owl:Restriction> 05 <owl:onProperty 06

rdf:resource="&grounding;#hasAtomicProcessGrounding"/> 07 <owl:allValuesFrom 08 rdf:resource="#WadlAtomicProcessGrounding"/> 09 </owl:Restriction> 10 </rdfs:subClassOf> 11 </owl:Class>

15

Page 16: Semantic Web Services: A RESTful Approach

/ 18

The RESTfulGrounding Ontology01 <owl:Class rdf:ID="WadlAtomicProcessGrounding"> 02 <rdfs:subClassOf

rdf:resource="&grounding;#AtomicProcessGrounding"/>03 <rdfs:subClassOf> 04 <owl:Restriction> 05 <owl:onProperty rdf:resource="#wadlResourceMethod"/> 06 <owl:cardinality

rdf:datatype="&xsd;#nonNegativeInteger">1 07 </owl:cardinality> 08 </owl:Restriction> 09 </rdfs:subClassOf> 10 </owl:Class>

16

Page 17: Semantic Web Services: A RESTful Approach

/ 18

Conclusions

•Proposed mapping is possible: OWL-S/WADL

•Coexistence of mappings also possible

17

Page 18: Semantic Web Services: A RESTful Approach

/ 18

Thank You!

18

Grazie

http://FullSemanticWeb.com/