Hi,

Is there a way to rewrite this Sparql query to run more efficiently?


SELECT ?s

WHERE

{

  ?s <http://foo/bar> ?o1, ?o2 .

  ?o2 <http://foo/id> "some id" .

  FILTER (?o1 != ?o2) .
}


It seems to me this can be optimized, I am still trying to figure it out.



Thanks,

Z

Reply via email to