Minimal Service Model

The Minimal Service Model (MSM), first introduced together with WSMO-Lite, is a simple RDF(S) ontology able to capture (part of) the semantics of both Web services and Web APIs in a common model supporting the common publishing and search of services while it allows specific extensions to benefit from the added expressivity of other formalisms should tools and applications require it.


Minimal Service Model


The MSM, denoted with the ’msm’ namespace in the figure, defines Services as having a number of operations each of which have an Input and Output MessageContent and Faults. In turn, a MessageContent may be composed of MessageParts which may be mandatory or optional. The renaming of Message into MessageContent and the inclusion of message parts extends the previous versions of the MSM as described in the WSMO-Lite definition to support finer-grain discovery based on MessageParts in a similar way to OWL-S, as well as in order to distinguish between mandatory and optional parts.

The figure shows additionally how the SAWSDL, WSMO-Lite and hRESTS vocabularies, depicted in the figure with the ’sawsdl’, ’wl’, and ’rest’ namespaces respectively, integrate with MSM. The SAWSDL vocabulary captures in RDF the three main kinds of annotations over WSDL and XML Schema, including modelReference, liftingSchemaMapping and loweringSchemaMapping that SAWSDL supports. The modelReference enables the linking of service elements to semantic models via URIs, while the two SchemaMappings are used to define data transformations from a syntactic representation to its semantic counterpart and vice versa. SAWSDL allows to annotate services and XML-Schema with semantic annotations but does not specify a particular representation language nor does it provide any specific vocabulary that users should adopt.

WSMO-Lite builds upon SAWSDL by extending it with a model specifying the semantics of the particular service annotations. It provides a simple RDFS ontology together with a methodology for expressing functional and non-functional semantics, and an information model for WSDL services based on SAWSDLs modelReference hooks. In particular, WSMO-Lite makes explicit the intended meaning for modelReference annotations without modifying SAWSDL but rather informing users on how they should structure the models their annotations point to. To this end the WSMO-Lite vocabulary includes the classes NonFunctionalParameter, FunctionalClassificationRoot, Condition, Effect and Ontology.

The hRESTS vocabulary, extends the MSM with specific attributes for operations so as to allow modeling addtional details necessary for Web APIs such as a URITemplate informing how to construct the URI for invocation, and an invocation Method. For completeness we include the most typical methods used – those defined by HTTP – by reusing the HTTP vocabulary.

Find the MSM ontology in RDF/XML