W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > March 2008

Re: Another attempt...

From: Andrew Newman <andrewfnewman@gmail.com>
Date: Sun, 23 Mar 2008 23:03:54 +1000
Message-ID: <2db5a5c40803230603y67ff46c1pf00f58f6fa7b67a9@mail.gmail.com>
To: "Lee Feigenbaum" <lee@thefigtrees.net>
Cc: "Richard Newman" <rnewman@twinql.com>, andy.seaborne@hp.com, "Arjohn Kampman" <arjohn.kampman@aduna-software.com>, "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>

Darn, after all that they are around the wrong freaking way.  So it should be.

Test 1
=====

Data:
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl

Query:
SELECT * WHERE { ?s ?p ?o . {} }

Results:
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/graph-05.ttl

Test 2
=====
Data:
http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/data-g1.ttl

Query:
SELECT * WHERE { ?s ?p ?o UNION {} }

Results (this is suppose to represent empty):

<?xml version="1.0"?>
<sparql
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:xs="http://www.w3.org/2001/XMLSchema#"
   xmlns="http://www.w3.org/2005/sparql-results#" >
<head>
  <variable name="s"/>
  <variable name="p"/>
  <variable name="o"/>
</head>
  <results>
    <result>
    </result>
 </results>
</sparql>

Test 3
=====
Negative syntax test.

SELECT ?x WHERE { ?s ?p ?o }
Received on Sunday, 23 March 2008 13:04:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 23 March 2008 13:04:27 GMT