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 transformation. 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: http://lists.w3.org/Archives/Public/public-rdf-dawg/2004JulSep/0556.html 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. AndyReceived on Monday, 22 November 2004 17:31:30 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:21 GMT