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
Execute WSDL interfaces to answer user queries.
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")' .
<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>
SELECT ?tile WHERE { ?response tnss:doctitle ?title }
aws:ItemSearchResponse/aws:Items/aws:Item/aws:Title
<definitions><types><element name="ItemSearchResponse"></element></types>... <message name="ItemSearchResponseMsg"/></definitions>
<xs:element name="Item" spat:SPAT='?book tns:doctitle xpath("aws:Title")'/>