reusing SPARQL's result format ...

From: conor dowling <conor_at_the325project.org>
Date: Thu, 5 May 2005 11:29:45 -0700

this may be way off base - I'm only getting up to speed on RDF
querying. Is there any reason why the Fresnel "Result Tree" can't just
be an enhanced version of the SPARQL query result format
(http://www.w3.org/2001/sw/DataAccess/rf1/). For example, just add a
label attribute to head elements to support labels?

In the SPARQL standard they say: ""Results can be thought of as a
table, with one row per query solution. Some cells may be empty because
a variable is not bound in that particular solution."

An example in the SPARQL standard
(http://www.w3.org/TR/2005/WD-rdf-sparql-query-20050419/#select) with
added label support?

<?xml version="1.0"?>
<sparql
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
   xmlns="http://www.w3.org/2001/sw/DataAccess/rf1/result" >
   <head>
     <variable name="nameX" label="Name"/> <!-- ADDED label here -->
     <variable name="nameY" label="Friends Name"/>
     <variable name="nickY" label="NickName"/>
   </head>
   <results>
     <result>
       <nameX>Alice</nameX>
       <nameY>Clare</nameY>
       <nickY>CT</nickY>
     </result>
     <result>
       <nameX>Alice</nameX>
       <nameY>Bob</nameY>
       <nickY bound="false"/>
     </result>
   </results>
</sparql>
Received on Thu May 05 2005 - 18:28:43 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT