separate bindings and graph operations wsdlAbstractProtocol

re...

ACTION: DanC to try splitting SparqlQuery interface into SparqlGraph
SparqlBindings

thinking over the interoperability/conformance implications of
a separate interface, I think I'll just try a separate operation.
This has no impact on the HTTP level protocol, by the way.

w.r.t. 1.51 2005/06/06 18:35:00 of
http://www.w3.org/TR/rdf-sparql-protocol/


| It contains one operation, query, which is used to convey a SPARQL query — including 
| a SPARQL query string and an RDF dataset — and a query result between
| clients (requesters) and services (responders).

becomes...

It contains two operation, queryBindings and queryGraph, which are used to
convey SPARQL queries — including SPARQL query strings and RDF datasets — and
query results between clients (requesters) and services (responders).
The queryBindings operation carries SPARQL query with a result form of
SELECT or ASK and returns a set of bindings or a boolean result. The
queryGraph operation carries a SPARQL query with a result form of CONSTRUCT
or DESCRBIBE and returns an RDF graph.


Then...

|This interface and its operation are described...

becomes

This interface and its operations are described in the
following WSDL 2.0 fragment (from sparql-protocol-query.wsdl):

<interface name="SparqlQuery" styleDefault="http://www.w3.org/2005/05/wsdl/style/uri">
   <operation name="queryBindings" pattern="http://www.w3.org/2004/08/wsdl/in-out" safe="true">
     <documentation>The operation is used to convey SELECT and ASK queries and their
                    results in binding form.</documentation>
     <input messageLabel="In" element="st:query"></input>
     <output messageLabel="Out" element="vbr:sparql"></output>
   </operation>
   <operation name="queryGraph" pattern="http://www.w3.org/2004/08/wsdl/in-out" safe="true">
     <documentation>The operation is used to convey CONSTRUCT and DESCRIBE queries
                    and their result in graph form.</documentation>
     <input messageLabel="In" element="st:query"></input>
     <output messageLabel="Out" element="rdf:RDF"></output>
   </operation>
</interface>

(is it safe or safety?)

section b. query Out Message becomes...


b. query Out Message

The Out Message of SparqlQuery's queryBindings operation carries
an instance of the SPARQL Variable Binding Results XML Format [VBR].
The Out Message of SparqlQuery's queryGraph operation carries
an instance of the RDF/XML syntax [RDF-Syntax] or an equivalent
serialization.


Hmm... I wonder what "an equivalent serialization" means in the WSDL
world, but I guess that is the protocol we're specifying.


The query-result type can go away.


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Tuesday, 7 June 2005 13:03:38 UTC