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.
| 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> .