Let’s consider the following JOIN:

SELECT $subj
FROM NAMED ng1
FROM NAMED ng2
{
                GRAPH ng1  { $subj  $pred0  $obj0 }
GRAPH ng2  { $subj  $pred1  $obj1 }
}

My question is: Does the order of the clauses affect the performance? Let’s say 
that ng1 is much bigger than ng2. If SPARQL applies the first clause first and 
then the second clause over the set result of the first one, then it makes 
sense to exchange their places.

Is that right?

Regards,
Stefan

Reply via email to