SA-REST: Semantic Annotations for RESTFul Services

Published by Tomas Vitvar on November 8, 2007 in Ideas, Research

IEEE Internet Computing magazine in its November/December issue published the article authored by Amit Sheth et al. entitled SA-REST: Semantically Interoperable and Easier-to-Use Services and Mashups. They discuss how to enable semantic annotations for RESTful services in an analogical way as SAWSDL does (see my previous post and article on SAWSDL). They define a very simple mechanism to mark input, output, lifting, lowering and fault in the REST specification usually available through some XHTML page and by using RDFa and GRDDL. The main point is that since REST providers usually define the services in a textual form on the web there is no explicit and formal form for definition of input, output or fault schema for messages. SA-REST introduces a micro-format style to their semantic description as part of the REST service specification embedded in a XHTML page.

I only wonder why authors define input and output keywords for SA-REST and do not adopt SAWSDL modelReference. SAWSDL modelReference is more generic annotation you can use for any kind of service description including information model (like they do with input and output) as well as functional (capability such as preconditions and effects) or non-functional descriptions. In my opinion, it would also be handy that the annotation framework is the same as the one introduced by SAWSDL as it would allow to work with independent semantic layer on the top of technologies like WSDL and REST.

What I like in this work is the way how semantic annotations for services can be done using micro-format style to definition of meta-data about resources (in this case XHTML describing a RESTful service). They use RDFa and GRDDL for that purpose. This approach very much complements our work on WSMO-Lite and it is inline with what we plan to further introduce in our conceptual models for services around WSMO. This will all happen in the EU FP7 project SOA4ALL and W3C Incubator Group called SWS-Testbed (Amit contributes to this group with semantic annotations for REST too).

SAWSDL: Semantic Annotations for WSDL and XML Schema

Published by Tomas Vitvar on November 2, 2007 in Publications, Research

In November/December, IEEE Internet Computing magazine published our article on the Semantic Annotations for WSDL and XML Schema (SAWSDL). In this article we summarize the results of the W3C SAWSDL Wokring Group.

SAWSDL is the first step in W3C toward standardizing technologies for Semantic Web services. As a standard, SAWSDL provides a common ground for the various ongoing efforts toward SWS frameworks, such as the Web Service Modeling Ontology (WSMO) and the OWL-based Web Service Ontology (OWL-S). SAWSDL extends the major Web service technology WSDL with pointers to semantics that are crucial for achieving automation.