W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2004

Issue with the result set format

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 22 Nov 2004 17:31:12 +0000
Message-ID: <41A22260.3020308@hp.com>
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>

My base example for working with the XML result set format is turning the
results into an HTML table and I have been writing an XQuery to do this 

The first stage of the transformation is writing out the table headers in <th>'s 
based on the variable names.

The proposed result set format:

either the form result1.xml or result2.xml

is slightly tricky to work with because the variables aren't declared 
explicitly.  It is possible to access the variables in the first row if every 
variable is always named in every solution even when unbound, but it isn't 
convenient to treat the first row specially, when streaming for example.  There 
are two access to row one in this example.

Having the variable names enables sending SPARQL queries to a server and getting 
the results without the result processing needing to understand the query to 
extract the variables.  The query-and-results layer can be a pass-through that 
just processes XML; no SPARQL parser, no RDF toolkit needed.

Received on Monday, 22 November 2004 17:31:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:45 UTC