4. RDF Mapping

This section describes how the WSDL extensions introduced in this document are mapped into an RDF form compatible with the WSDL 2.0 RDF Mapping [WSDL 2.0 RDF]. This specification introduces the properties {model reference}, {lifting schema mapping} and {lowering schema mapping}. Since the WSDL 2.0 RDF mapping does not provide an RDF form for the element declaration and type definition components, our schema mapping properties (i.e. {lifting schema mapping} and {lowering schema mapping}) are also not mapped. Therefore we only map {model reference} properties.

To represent the {model reference} property on any WSDL component (esp. Interface and Interface Operation components, as described earlier in this document) we reuse the name of the sawsdl:modelReference extension attribute as an RDF property identifier (the full IRI of the property is then "http://www.w3.org/2002/ws/sawsdl/spec/sawsdl#modelReference"), as shown in table 4-1. As the value of {model reference} is a list of IRIs, we introduce an RDF triple for each of the IRIs.

Table 4-1. Mapping modelReference property to RDF
Property RDF Form
  (componentId of the parent component generated per IRI-References for WSDL 2.0 Components)
{model reference} (for each IRI <iri> in the value of {model reference})
<componentId> sawsdl:modelReference <iri>

Note that WSDL 2.0 RDF Mapping section 2.2.2 Generic extensions provides a generic mapping for WSDL extensions into RDF. Component {model references} may thus be expressed in the graph as a structure with the modelReference attribute in a canonicalized XMLLiteral element. For a given component in the graph with the wsdl:ExtensionAttribute structure, each URI in the sawsdl:modelReference attribute implies that the component has a sawsd:modelReference property of that URI. For example, the a graph:

<componentId> wsdl:extensionAttribute <genId> .
 <genId> rdf:type wsdl:ExtensionAttribute .
 <genId> quote:attributeHolder
      "<quote:attrContainer xml:base='http://example.com/rdf/products'
       xmlns:wsdl='...' xmlns:sawsdl='...'
       xmlns:quote='http://www.w3.org/2006/07/quotedXML#';
       sawsdl:modelReference='../terms#BookSearch
                              http://uddi.example/prodMatch'/>"^^rdf:XMLLiteral.

implies the two triples

<parentComponentId> sawsdl:modelReference <http://example.com/rdf/terms#BookSearch> .
<parentComponentId> sawsdl:modelReference <http://uddi.example/prodMatch> .

5.1 Normative References

[WSDL 2.0 RDF]
Web Services Description Language (WSDL) Version 2.0: RDF Mapping, J. Kopecky, B. Parsia, Editors. World Wide Web Consortium, 18 May 2006. This version of the "Web Services Description Language (WSDL) Version 2.0: RDF Mapping" Specification is available at http://www.w3.org/TR/2006/WD-wsdl20-rdf-20060518/. The latest version of "Web Services Description Language (WSDL) Version 2.0: RDF Mapping" is available at http://www.w3.org/TR/wsdl20-rdf/.