Hello,
I need to identify a Graph URI, or alternatively the metadata:idenfitier value, where the query returns only for the local graph, ignoring any included graphs.
For example:
SELECT ?graph ?id
WHERE {
?graph metadata:identifier ?id
}
returns:
graph id
urn:x-evn-master:graph1 graph1
urn:x-evn-master:graph2 graph2
urn:x-evn-master:graph3 graph3
where:
- graph1 is the local graph
- graph2 and graph3 are Includes
- The Graph URIs for all graphs are unknown in advance
How can I filter the query so that it returns only values from graph1, excluding values from graph2 and graph3?
Note: In EDG, checking "Return local results only" in the SPARQL Query panel returns the desired result. However, I need to include the filtering syntax within the SPARQL query itself.
Thanks,
Dan