Re: Problem with simple query

2016-04-16 Thread james anderson
good morning, > On 2016-04-14, at 11:11, Mikael Pesonen wrote: > > > Hi, > > im matching strings in different graphs and this should do the trick: a more complete statement of your intent would help, but going by the query text, it appears that your goal is to

Re: Problem with simple query

2016-04-16 Thread Claude Warren
Given that the two queries have no common variables, wouldn't removing the optional be more performant? It seems like the optional will create extra null results for triple, then do the cross product with the same query from the other graph. I think that removing the optional will reduce the

Re: Problem with simple query

2016-04-14 Thread Mikael Pesonen
Thanks, that worked! Br, Mikael On 14.4.2016 12:36, Martynas Jusevičius wrote: My guess would be that because of SPARQL bottom-up semantics, ?prefLabel is undefined at the point where you are applying it. Try moving it out of OPTIONAL. On Thu, Apr 14, 2016 at 11:11 AM, Mikael Pesonen

Re: Problem with simple query

2016-04-14 Thread Martynas Jusevičius
My guess would be that because of SPARQL bottom-up semantics, ?prefLabel is undefined at the point where you are applying it. Try moving it out of OPTIONAL. On Thu, Apr 14, 2016 at 11:11 AM, Mikael Pesonen wrote: > > Hi, > > im matching strings in different graphs and