Re: Equivalent query and performances

2019-03-07 Thread Andy Seaborne
It might be going to the network though as far as I can tell, http://givingsense.eu/datamusee/onto/contextgraph18022019 does not have any triples. In order to do FROM, the query engine has to create create a different dataset and that can imped some TDB features. Have you tried: where {

Re: Equivalent query and performances

2019-03-07 Thread Zachary Whitley
I believe that the first query with the "from" will make a network call and add what is returned to to default graph while the second one will query the data already loaded in the named graph. If I'm correct that would explain the difference and wouldn't be surprised to see the results you're getti

Fwd: Equivalent query and performances

2019-03-07 Thread Jean-Claude Moissinac
Hello I'm using jena-fuseki 3.6.0 I've tried two queries which, for me seems equivalent: select (count(distinct ?s) as ?c) from where { ?s a ?t; a } and select (count(distinct ?s) as ?c)