Lourens

> My first intuition would say that a sparql query containing
> 
> { _:hidden_bnode skos:prefLabel ?v1_lab .
>   FILTER (_:hidden_bnode = iri(?:_uri)) }
> 
> could be inefficient. Will Virtuoso internally optimize this into a query
> equivalent to { $:some_uri skos:prefLabel ?v1_lab. } ?

Yes, of course it will. One can't make a functional SQL compiler without
optimization of all sorts of equalities.


Best Regards,

Ivan Mikhailov
OpenLink Software
http://virtuoso.openlinksw.com



Reply via email to