Re: Another attempt...

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 UTC