Re: [Fuseki] Configuring Fuseki2 to impose a maximum limit on the number of rows returned.

2017-10-27 Thread Phil Gooch
@Dave - thanks for the info about the two value timeout, I'll try that. @Andy - according to the META-INF in the fuseki.war file I'm running 2.6.0 #Generated by Maven #Tue May 02 13:43:43 EDT 2017 version=2.6.0 groupId=org.apache.jena artifactId=jena-fuseki-war The config file for demo.ttl in th

Re: [Fuseki] Configuring Fuseki2 to impose a maximum limit on the number of rows returned.

2017-10-27 Thread Andy Seaborne
Phil - Which version are you running? Can you show the configuration file? Andy On 27/10/17 08:30, Dave Reynolds wrote: On 26/10/17 12:27, Phil Gooch wrote: Hi there I am running Fuseki2 within Tomcat and I'm looking for a way to configure Fuseki to limit the number of rows returned by

Re: Removig persitent dataset in Fuseki 3.4.0 doen't work

2017-10-27 Thread Andy Seaborne
David raised JENA-1410. On 27/10/17 10:58, Andy Seaborne wrote: Confirm - that's what happens. Could you raise a JIRA please? The code in ActionDatasets.execDeleteItem appears to have delete database and configuration ... it just doesn't seem to do it. The code needs to be sensitive to wh

Re: How to derive Change Statements

2017-10-27 Thread Andy Seaborne
Hi Anuj, Jena has some building blocks: GraphListener, DatasetChanges GraphListener enables an app to watch every change on a graph. DatasetGraphMonitor/DatasetChanges can be used if you want to look at a dataset. Both give you triggers on individual triple/quad changes on which you can add

Re: How to derive Change Statements

2017-10-27 Thread Claude Warren
Since you need to detect who changed what the only way I can see to do this is turn on authentication on Fuseki and track changes made through it. You could bastardise the permissions layer[1] to do what you want. The permissions layer will let you filter down to the actions on the triples, rathe

Re: Slow query when getting rdf:type

2017-10-27 Thread Mikael Pesonen
Tried this also with other properties such as dcterms:created, and it didnt slow down with them. -Mikael On 27.10.2017 13:02, Andy Seaborne wrote: In this case, stats won't help.  The shoudl eb the starting point. (quadpattern   (quad ?g ?s ?p )   (quad ?g ?s

How to derive Change Statements

2017-10-27 Thread anuj kumar
Hi Jena Users, I have a query regarding the most effective way to capture changes in the underlying Triple Store. I have a requirement where: 1. Every time a property of a Node (represented as a Triple Statement) changes, I also need to generate certain change statements to capture what has change

Re: Slow query when getting rdf:type

2017-10-27 Thread Mikael Pesonen
Hi, yes I was using the same resource for testing. Jena has been running for weeks so not a cold system if understood correctly. Sorry what means inference? Br, Mikael On 27.10.2017 13:02, Andy Seaborne wrote: In this case, stats won't help.  The shoudl eb the starting point. (quadpatt

Re: Slow query when getting rdf:type

2017-10-27 Thread Andy Seaborne
In this case, stats won't help. The shoudl eb the starting point. (quadpattern (quad ?g ?s ?p ) (quad ?g ?s ?type) ) (quadpattern (quad ?g ?s ?p ) (quad ?g ?s ?p2 ?o2) ))) Are you using inference as well? Is it the same ? Is the tim

Re: Removig persitent dataset in Fuseki 3.4.0 doen't work

2017-10-27 Thread Andy Seaborne
Confirm - that's what happens. Could you raise a JIRA please? The code in ActionDatasets.execDeleteItem appears to have delete database and configuration ... it just doesn't seem to do it. The code needs to be sensitive to whether the database is inside the runtiem area of elsewhere. If t

Re: Slow query when getting rdf:type

2017-10-27 Thread Mikael Pesonen
Hi, thanks! I'll try that when get chance to stop jena. Yes we are using TDB. On 26.10.2017 16:15, Rob Vesse wrote: Is TDB the underlying database? If so is there a stats.opt file in your database directory? I remember there being issues in the past with the statistics for rdf:type tripl

Re: Removig persitent dataset in Fuseki 3.4.0 doen't work

2017-10-27 Thread Andy Seaborne
David, The sent the same message from email dmolinaestr...@costaisa.com yesterday. It got through to the list at 13:23 UTC A way to check is to look in the Apache archives: https://lists.apache.org/list.html?users@jena.apache.org ==> https://lists.apache.org/thread.html/6d5b703112d71858278

Re: [Fuseki] Configuring Fuseki2 to impose a maximum limit on the number of rows returned.

2017-10-27 Thread Dave Reynolds
On 26/10/17 12:27, Phil Gooch wrote: Hi there I am running Fuseki2 within Tomcat and I'm looking for a way to configure Fuseki to limit the number of rows returned by a query. For example, to prevent a rogue query such as SELECT * WHERE {?s ?v ?o} from being executed to completion. I've impos