Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1002

specifying a FROM clause still selects from the unnamed default graph

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: Fuseki 2.0.0
    • Fix Version/s: None
    • Component/s: Fuseki
    • Labels:
      None

      Description

      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

      <http://example.org/graph1> rdfs:label  "Graph1" .
      <http://example.org/graph2> rdfs:label  "Graph2" .
      

      http://example.org/graph1

      <urn:subject1> rdfs:label "Subject one" .
      

      http://example.org/graph2

      <urn:subject2> rdfs:label "Subject two" .
      

      The test query:

      SELECT *
      FROM <http://example.org/graph1>
      WHERE {
        ?s ?p ?o .
      }
      

      The result set:

      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
      

      which is the content of the unnamed default graph. This is against the specification:

      a default graph consisting of the RDF merge of the graphs referred to in the FROM clauses

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              depressiveRobot Marvin Frommhold
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development