IST logo
WS2 brochure front page

SPDL

Talk Location: http://www.w3.org/2006/Talks/30-Aug-SPDL/

Eric Prud'hommeaux, eric@w3.org
RDF Data Access Working Group
Semantic Annotations for Web Services Description Language Working Group

Purpose

Execute WSDL interfaces to answer user queries.

Procedure

Description Annotations

a sawsdl:loweringSchemaMapping:

      <xs:element name="Item">
        <xs:complexType sawsdl:loweringSchemaMapping=
	'http://dev.w3.org/cvsweb/perl/modules/W3C/SPDL/descriptions/AWSECommerceService-SAWSDL-item-terms.ttl#title'>
	  <xs:sequence>
	    <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
	    <!-- ... -->
	    <xs:element name="Title" type="xs:string" minOccurs="0"/>
	  </xs:sequence>
	</xs:complexType>
      </xs:element>

points to:

:id spat:SPAT '?req :id xpath(".")' .
:keywords spat:SPAT '?req :keywords xpath("tns:Keywords") ; :index    xpath("tns:SearchIndex")' .
:asin spat:SPAT '?book :asin xpath("tns:ASIN")' .
:title spat:SPAT '?book tns:docTitle xpath("aws:Title")' .

Shortcut notation

      <xs:element name="Item">
        <xs:complexType spat:SPAT='?book tns:doctitle xpath("aws:Title")>
	  <xs:sequence>
	    <xs:element name="Author" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
	    <!-- ... -->
	    <xs:element name="Title" type="xs:string" minOccurs="0"/>
	  </xs:sequence>
	</xs:complexType>
      </xs:element>

Identifying information