Hi all,

we are trying to switch to Jena 5 and from using setInitialBindings to 
substitution.

There is a change in behaviour of SELECT *

Consider a query such as

SELECT  *
WHERE
  { ?this  ?PATH  ?value
    FILTER EXISTS { ?value (rdfs:subClassOf)* ?class
                    FILTER ( ?class IN (rdfs:Class, rdf:Property, sh:Shape) )
                  }
  }

where ?this and ?PATH have initial bindings.

Using initialBindings, the result variables include ?this, but with 
substitution semantics, only ?value is returned.

Does this mean that queries need to be rewritten to explicitly state SELECT 
?this ?value ... ?

Thanks,
Holger

Reply via email to