IST logo
WS2 brochure front page

SPDL

Talk Location: http://www.w3.org/2006/Talks/0927-egp-tag/

Eric Prud'hommeaux, [email protected]
RDF Data Access Working Group
Semantic Annotations for Web Services Description Language Working Group

Purpose

Execute WSDL interfaces to answer user queries.

Procedure

Connecting SPARQL to XML

Identifying information

Demo excerpts

PREFIX tnss: <http://webservices.amazon.com/AWSECommerceService/2004-11-10>
SELECT ?asin ?title WHERE {
 ?X tnss:id "0FWYBWB91M5S26YBE382" ;
    tnss:keywords "cola" ;
    tnss:index "Books" ;

    tnss:asin ?asin ;
    tnss:doctitle ?title }
asin title
"0896584542""The Sparkling Story of Coca-Cola"
"0953984028""The World Stormrider Guide (Stormrider Guides)"
"0887307515""Secret Formula"
"0873493818""The Encyclopedia of Pepsi-Cola Collectibles (Encyclopedia of Pepsi-Cola Collectibles)"
"0896960528""The Cola Wars: The story of the global battle between the Coca-Cola Company and PepsiCo, Inc."
"1887432930""Coca-Cola Collectible Santas (Collector's Guide to Coca Cola Items Series)"
"0977184307""Splenda® Is It Safe Or Not?"
"0873492412""Petretti's Coca-Cola Collectibles Price Guide (Petretti's Coca-Cola Collectibles Price Guide)"
"0553568914""Elvis, Jesus and Coca-Cola (Kinky Friedman Novels (Paperback))"
"0465054684""For God, Country, and Coca-Cola: The Definitive History of the Great American Soft Drink and the Company That Makes It"

    

Expressed in SAWSDL

a sawsdl:loweringSchemaMapping:

      <xs:element name="Item">
        <!-- xs:complexType spat:SPAT='?book tns:doctitle xpath("aws:Title") -->
        <xs:complexType sawsdl:loweringSchemaMapping='&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>

points to a document containing the SPDL annotations:

: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")' .

SAWSDL Described

Tools — Recap

What tools do we have now?

Capabilities

What can we do with these tools?

Costs

What does it cost to use these tools?

Questions/Discussion

Impressions of the demonstrator.

Applicability to industry today and tomorrow.

Applicability to users today and tomorrow.