Re: Does order of JOIN clauses affect performance

2017-10-24 Thread Martynas Jusevičius
Maybe this article can help: http://wwwconference.org/www2008/papers/pdf/p595-stocker1.pdf It's about BGPs not graph patterns, but I guess selectivity still applies. On Wed, 25 Oct 2017 at 03.17, Dimov, Stefan wrote: > Let’s consider the following JOIN: > > SELECT $subj > FROM NAMED ng1 > FROM

Does order of JOIN clauses affect performance

2017-10-24 Thread Dimov, Stefan
Let’s consider the following JOIN: SELECT $subj FROM NAMED ng1 FROM NAMED ng2 { GRAPH ng1 { $subj $pred0 $obj0 } GRAPH ng2 { $subj $pred1 $obj1 } } My question is: Does the order of the clauses affect the performance? Let’s say that ng1 is much bigger than ng2. If SPARQL ap

[3.0.1] listSuperClasses() does not traverse?

2017-10-24 Thread Martynas Jusevičius
Hi, I thought I understood how OntClass.listSuperClasses() works, but maybe I don't. I have such a class structure in my ontology (superclass is at the top): 3. https://www.w3.org/ns/ldt/document-hierarchy/domain#Item 2. http://atomgraph.com/ns/platform/domain#Item 1. https://localho

Re: Fuseki+HDT graceful "File not found"

2017-10-24 Thread Laura Morales
Yup, I think I get this. What I don't get is what a "service" is?     Sent: Tuesday, October 24, 2017 at 9:36 PM From: "Andy Seaborne" To: users@jena.apache.org Subject: Re: Fuseki+HDT graceful "File not found" On 24/10/17 11:57, Laura Morales wrote: > "each data service is an RDF datasets and

Re: Fuseki+HDT graceful "File not found"

2017-10-24 Thread Andy Seaborne
On 24/10/17 11:57, Laura Morales wrote: "each data service is an RDF datasets and a configurable set of endpoints for various operations such as SPARQL query, SPARQL update and file upload" How is this different than a "normal" standalone installation? It's not - the standalone server loo

Re: How to increase performance

2017-10-24 Thread George News
On 2017-10-24 16:56, Lorenz Buehmann wrote: > Hi, > > minor comments inline: > > > On 23.10.2017 22:44, George News wrote: >> Hi Rob, >> >> Thanks for your really helpful comments. >> >> As you mention the stack trace is not the one of the query. I actually >> don't have the query that originate

Re: How to increase performance

2017-10-24 Thread Lorenz Buehmann
Hi, minor comments inline: On 23.10.2017 22:44, George News wrote: > Hi Rob, > > Thanks for your really helpful comments. > > As you mention the stack trace is not the one of the query. I actually > don't have the query that originated that stack trace as this was in > production and I was not l

Re: Fuseki+HDT graceful "File not found"

2017-10-24 Thread Laura Morales
> The best Fuseki could do is scan for new services in run/services. Could you please explain briefly what is a Fuseki service? I also don't see any "services" folder under run/. The documentation doesn't have a lot of information either (https://jena.apache.org/documentation/fuseki2/fuseki-dat

Re: Fuseki+HDT graceful "File not found"

2017-10-24 Thread Andy Seaborne
On 23/10/17 18:34, Laura Morales wrote: Which again would be the task of the HDT-Fuseki library, not Jena Fuseki. You mean this one? https://github.com/rdfhdt/hdt-java/tree/master/hdt-fuseki The best Fuseki could do is scan for new services in run/services. Changes within a service need