Hi, I have trouble understanding why the first query is slow and second one is fast. Using Jena Fuseki 3.4.0.
So I want to get all resources that reference <some resource>, and their types:
SELECT * WHERE
{
GRAPH ?g
{
?s ?p <some resource> .
?s a ?type
}
}
SELECT * WHERE
{
GRAPH ?g
{
?s ?p <some resource> .
?s ?p2 ?o2
}
}
First one takes 5 seconds which is too slow for our application. Can it
be rearranged somehow to make fast? Sorry if this is not a correct forum
for this.
Thanks! --
