hich9n / cumulusrdf

Automatically exported from code.google.com/p/cumulusrdf
0 stars 0 forks source link

Inconsistent results when query is rewritten to use a GRAPH keyword instead of a FROM clause #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Populate a graph with triples.
1. Phrase a simple SPARQL SELECT query using a FROM clause that returns a 
result.
2. Rephrase the query to use the GRAPH keyword instead of the FROM clause.

What is the expected output? What do you see instead?

The results are expected to be consistent with either variation. The results 
are not consistent. 

What version of the product are you using? On what operating system?

Cumulus 1.0.1 on Centos release 6.5 (Final)

Please provide any additional information below.

Assuming the graph is populated the results for both queries should be 
equivalent. 

SELECT *
FROM <http://graph/default>
WHERE {
  ?s ?p ?o
}

SELECT *
WHERE {
  GRAPH <http://graph/default> { ?s ?p ?o }
}

Original issue reported on code.google.com by abar...@i3.com on 4 Nov 2014 at 8:42