Marvin Frommhold created JENA-1002:
--------------------------------------
Summary: specifying a FROM clause still selects from the unnamed
default graph
Key: JENA-1002
URL: https://issues.apache.org/jira/browse/JENA-1002
Project: Apache Jena
Issue Type: Bug
Components: Fuseki
Affects Versions: Fuseki 2.0.0
Reporter: Marvin Frommhold
When I execute a query specifying a {{FROM}} clause, the result set still
returns the content of the unnamed default graph.
My test data:
default graph
{code}
<http://example.org/graph1> rdfs:label "Graph1" .
<http://example.org/graph2> rdfs:label "Graph2" .
{code}
http://example.org/graph1
{code}
<urn:subject1> rdfs:label "Subject one" .
{code}
http://example.org/graph2
{code}
<urn:subject2> rdfs:label "Subject two" .
{code}
The test query:
{code}
SELECT *
FROM <http://example.org/graph1>
WHERE {
?s ?p ?o .
}
{code}
The result set:
{code}
s,p,o
http://example.org/graph1,http://www.w3.org/2000/01/rdf-schema#label,Graph1
http://example.org/graph2,http://www.w3.org/2000/01/rdf-schema#label,Graph2
{code}
which is the content of the unnamed default graph. This is against the
specification:
{quote}
a default graph consisting of the RDF merge of the graphs referred to in the
FROM clauses
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)