Hi,

I have created a totally new data set on my computer, and executed the 
following update request :

prefix ex:<http://example.com#>


INSERT DATA {

   GRAPH ex:a_graph {
        ex:Alice ex:like ex:cats .
    }  

  

    GRAPH ex:meta_data_graph {
        ex:a_graph ex:author ex:Bob.

        ex:Alice ex:IsDescribedIn ex:a_graph.
    }

}

My data set contains now 2 graphs with minimal triples.

I now use the following SPARQL request :

prefix ex:<http://example.com#>
DESCRIBE ex:Alice

This request give me the following result ( XML formated )
<rdf:RDF  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";  
xmlns:ex="http://example.com#";> <rdf:Description 
rdf:about="http://example.com#Alice";> <ex:IsDescribedIn 
rdf:resource="http://example.com#a_graph"/> <ex:like 
rdf:resource="http://example.com#cats"/> </rdf:Description></rdf:RDF>

That the answer that I expected, but now if I send this request : 

prefix ex:<http://example.com#>
DESCRIBE ex:Alice
FROM ex:a_graph

I got the same result :
<rdf:RDF  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";  
xmlns:ex="http://example.com#";> <rdf:Description 
rdf:about="http://example.com#Alice";> <ex:IsDescribedIn 
rdf:resource="http://example.com#a_graph"/> <ex:like 
rdf:resource="http://example.com#cats"/> </rdf:Description></rdf:RDF>


I was expecting that only the triple "Alice like cats" as a result. The other 
triple isn't stored in the graph ex:a_graph and I was expecting it was not in 
the result.


Do I made a mistake anywhere ? Do it is the normal result ?

NB : I executed this 3 SPARQL queries on the web interface of a fuseki server

Sincerelly.

VAISSE-LESTEVEN Arthur.

Reply via email to