Re: [Virtuoso-users] Query comparison

2011-01-11 Thread Sebastian Trüg
Hello Ivan, thanks a lot for answering. On 01/10/2011 05:44 PM, Ivan Mikhailov wrote: > It's hard to diagnose without dumps of EXPLAINs of these queries. > Most probably, the last triple pattern has been moved toward the leading > position because the selectivity of the fixed object variant was >

Re: [Virtuoso-users] Query comparison

2011-01-10 Thread Ivan Mikhailov
Hello Sebastian, It's hard to diagnose without dumps of EXPLAINs of these queries. Most probably, the last triple pattern has been moved toward the leading position because the selectivity of the fixed object variant was overestimated. You can try to check variants that restrict graphs, if that is

[Virtuoso-users] Query comparison

2011-01-10 Thread Sebastian Trüg
Hi list, again I have a question about query performance: why is there a big difference in query execution time between select distinct ?r ?v where { { ?r ?v1 ?v2 . FILTER(bif:contains(?v2, "'hello' AND 'world'")) . } UNION { ?r ?v1 ?v3 . ?v3 ?v4 ?v2 . ?v4 rdfs:subPropertyOf r