Re: Implementing a QueryEngine

2015-06-03 Thread Claude Warren
Charles, There are several places the query can be extended. I think you may want to look at modifyOp() and eval() in QueryEngine (I used QueryEngineMain and over rode those methods). The other piece of the puzzle is to create a QueryEngineFactory that will create your QueryEngine instance on dem

Re: Fuseki SERVICE federation

2015-06-03 Thread Claude Warren
I used SERVICE federation exclusively in the granatum project query engine ( www.granatum.org). In fact the only local (not federated) data was data that allowed us to construct the federated queries across multiple vocabularies using a "roadmap" ( https://www.researchgate.net/publication/27119196

Re: Fuseki2 Delete blank node

2015-06-03 Thread Martynas Jusevičius
I think in such case it would be better to use Parameterized SPARQL String instead of string concatenation: https://jena.apache.org/documentation/query/parameterized-sparql-strings.html On Thu, Jun 4, 2015 at 2:06 AM, Wojciech Ciesielski wrote: > ok thx > problem solved :) > i read name/temat/pre

Implementing a QueryEngine

2015-06-03 Thread Charles Greer
Hello Jenarators, If I'm implementing a custom Dataset implemention (Hi, I'm implementing a custom Dataset for MarkLogic), how would I expect to create a QueryExecution instance? It seems that QueryExecutionFactory.create(Query query, Dataset dataset) should have some hope to create a specific

Re: Fuseki2 Delete blank node

2015-06-03 Thread Wojciech Ciesielski
ok thx problem solved :) i read name/temat/predykat/object from TextField, validate it and when temat/obiekt be blank node i replace it for ?a/?c and it works :) code below query= " WITH " + name+ " DELETE " + " { "+ temat + " " + predykat +

Re: Fuseki SERVICE federation

2015-06-03 Thread Rob Vesse
Answers inline: On 03/06/2015 18:25, "Juan Sequeda" wrote: >Is there any documentation that describes how SERVICE federation is >implemented, http://jena.apache.org/documentation/query/service.html > what optimizations exist, No optimisations are used AFAIK, Andy may know differently > is ca

Fuseki SERVICE federation

2015-06-03 Thread Juan Sequeda
Is there any documentation that describes how SERVICE federation is implemented, what optimizations exist, is caching done and if so, how, etc? Can anybody report on the use of SERVICE Federation in practice? Thanks Juan

Re: How to enable CORS on Fuseki2

2015-06-03 Thread Andy Seaborne
On 02/06/15 17:52, Jeffrey Witt wrote: Hi, I just updated to Fuseki2 from Fuseki1. With Fuseki1 I was enjoying the enabled CORS support, especially important for javascript only, single page apps. But, as I¹ve gleaned from this post: https://issues.apache.org/jira/browse/JENA-652 CORS is not ena

Re: delete/insert issue

2015-06-03 Thread Andy Seaborne
> text-config.ttl Do you have text index attached? By a complete, minimal example, I mean something that I can run with zero or very little change (details matter - filling in missing information risks the wrong details), and is as small as possible that illustrates the point. Some things a