Re: How to set a timeout for QueryExecution correctly?

2021-08-03 Thread Andy Seaborne
Thank you! On 03/08/2021 22:07, Cristóbal Miranda wrote: Hi Andy, Q1 seems to have the same problem, I created a script to generate data for it: https://github.com/CristobalM/jena-query-timeout/blob/main/scripts/generate_q1_optional.py It gets stuck in getPlan() when there are no matches for

Re: How to set a timeout for QueryExecution correctly?

2021-08-03 Thread Cristóbal Miranda
Hi Andy, Q1 seems to have the same problem, I created a script to generate data for it: https://github.com/CristobalM/jena-query-timeout/blob/main/scripts/generate_q1_optional.py It gets stuck in getPlan() when there are no matches for the OPTIONAL pattern having ?var5. I tried first with data

Azure Data Factory

2021-08-03 Thread Matt Whitby
Hi all. Has anyone had any experience with using an Azure Data Factory to map and get some data into a Jena instance running in a container?

Re: Undesirable SPARQL Jena Query Pattern Behavior with Optionals

2021-08-03 Thread Marco Neumann
OK yes, thank you for the algebra hint and implicit empty graph pattern Andy. Blazegraph has thrown me off here since it seems to interpret the query differently. without preserving the table unit on the left hand side I presume. On Tue, Aug 3, 2021 at 6:20 PM Andy Seaborne wrote: > > > On

Re: Undesirable SPARQL Jena Query Pattern Behavior with Optionals

2021-08-03 Thread Andy Seaborne
On 03/08/2021 17:38, Marco Neumann wrote: I have just noticed that the following query pattern with optionals yields undesirable SPARQL query results if the variable (?xLabel) isn't bound. Let the data be: :x :p :y SELECT ?x WHERE{ OPTIONAL{ ?x rdfs:label ?xLabel.} ?x :p ?y. } (join

Undesirable SPARQL Jena Query Pattern Behavior with Optionals

2021-08-03 Thread Marco Neumann
I have just noticed that the following query pattern with optionals yields undesirable SPARQL query results if the variable (?xLabel) isn't bound. Let the data be: :x :p :y SELECT ?x WHERE{ OPTIONAL{ ?x rdfs:label ?xLabel.} ?x :p ?y. } while reversing the order in the query pattern yields a