Re: Query causes a StackOverflowError

2014-03-17 Thread Chris_Dollin
On Sunday, March 16, 2014 06:58:29 PM Adam Retter wrote: Unfortunately, today, we have a query that is generated by Elda and POST'ed to Fuseki (https://github.com/epimorphics/elda). The query is about 1.4MB! Unfortunately this query causes Fuseki to throw a java.lang.StackOverflowError.

Re: Multiple bindings

2014-03-17 Thread Dave Reynolds
On 14/03/14 13:53, Richard Morgan wrote: Hi, I would like to extend the base regex function in Jena to provide more than one match result. I don't think that's possible. For instance I would like the following rule [ myregex(the cat sat on the mat, \(.at)\, ?token) - (http://a

Re: jena rule: rule in the head of a forward rule

2014-03-17 Thread Dave Reynolds
Hi Miguel, The difference between forward and backward rules, in the case of Jena Rules at least, is simply to do with performance tradeoffs. Generally whatever you can do with one you can do with the other. There's no connection between backward rules and particular shapes of triple

Re: Jena + pellet Reasoner

2014-03-17 Thread Dave Reynolds
On 14/03/14 08:08, Adeeb Noor wrote: Hello everyone: I have been struggling a lot with a problem that I did not find a solution for, so hopefully guys can guide me or help me with it. I have my data (rdfs) store in jena tdb as model and my owl (schema) using protoge. Here is the code to merge

Re: Multiple bindings

2014-03-17 Thread Richard Morgan
Hi Dave, Thank you for your response, I'm glad to have my thoughts confirmed. Is it possible to write my own generators and register them like I have with builtins? The problem I want to solve isn't the regex example above, its more about generating bindings so I can feed them into a forward

Re: Fuseki Namespaces Management

2014-03-17 Thread Andy Seaborne
(sorry for the delay) On 11/03/14 17:52, Rodrigo Antonialli wrote: Hi Andy, Thanks for your tips about the prefixes files! I downloaded the new-ui branch and it's awesome! Really a great improvement. I understood the prefixes handling at client side. The way it is in the new UI, the prefixes

Re: Multiple bindings

2014-03-17 Thread Dave Reynolds
On 17/03/14 11:44, Richard Morgan wrote: Hi Dave, Thank you for your response, I'm glad to have my thoughts confirmed. Is it possible to write my own generators and register them like I have with builtins? No, sorry. For the forward rule system there's simply no equivalent notion. For the

Re: Multiple bindings

2014-03-17 Thread silkyrich
Hi Dave, That is an enormous shame. This is a methodology I've worked with in a different library and it makes a very simple way to instantiate complex structures from tabular structures. For instance consider this pseudo code below, it reads a three column CSV file, then it creates URIs

Re: jena-text indexing fields with KeywordAnalyzer

2014-03-17 Thread bwm-epimorphics
On 14/03/14 00:51, Paul Tyson wrote: [...] Has anyone else encountered this problem? I have. I have an application that may require using either a different analyzer or the StandardAnalyzer with a different set of stop words. Have I missed some other way to improve response time for a

Re: Configuring TDB to use inference within assembler file

2014-03-17 Thread Fajar Juang Ekaputra
Hi Andy, Thanks again for the info! I will definitely try the suggestion of yours. Thank you and best regards, -- Fajar J. Ekaputra On 16 Mar 2014, at 18:42, Andy Seaborne a...@apache.org wrote: On 16/03/14 06:42, Fajar Juang Ekaputra wrote: Hi Andy, Thank you for the information, I

Re: Multiple bindings

2014-03-17 Thread Rob Vesse
Stop me if I'm oversimplifying but it sounds like you are trying to use the Jena rules engine to do ETL? This seems wildly inappropriate and not at all what the rules engine was intended for. If you are doing ETL then there are several options depending on your raw data format: - Tarql would be

Re: Multiple bindings

2014-03-17 Thread Dave Reynolds
On 17/03/14 12:26, silkyr...@gmail.com wrote: Hi Dave, That is an enormous shame. This is a methodology I've worked with in a different library and it makes a very simple way to instantiate complex structures from tabular structures. For instance consider this pseudo code below, it reads a

Re: Multiple bindings

2014-03-17 Thread Richard Morgan
Hi Rob, I'll not stop you as you are not oversimplifying things at all. However I would respectfully disagree that it is an inappropriate thing to do to the rules engine. Fundamentally a rules engine is to construct, transform and enrich a graph. I would like to load and reason in a single step

Re: Query causes a StackOverflowError

2014-03-17 Thread Adam Retter
Thanks Guys, We did try using the: yourSPARQLEndpoint elda:supportsNestedSelects true. Although I think we found that the option was actually (non-plural): yourSPARQLEndpoint elda:supportsNestedSelect true. However, whilst Elda reported that it did indeed support the NestedSelect, it

Re: Query causes a StackOverflowError

2014-03-17 Thread Andy Seaborne
On 17/03/14 18:17, Adam Retter wrote: Thanks Guys, We did try using the: yourSPARQLEndpoint elda:supportsNestedSelects true. Although I think we found that the option was actually (non-plural): yourSPARQLEndpoint elda:supportsNestedSelect true. However, whilst Elda reported that it did

tdbloader2 process crashed at sort step

2014-03-17 Thread Martino Buffolino
Hi, I ran tdbloader2 overnight on an amazon box and it seemed to run out of disk space and ultimately crashed. Is there a way I can start the process up, beginning at the sort step? Here is the log: INFO Add: 2,647,900,000 Data (Batch: 54,704 / Avg: 24,949) INFO Add: 2,647,950,000 Data

Re: jena-text indexing fields with KeywordAnalyzer

2014-03-17 Thread Paul Tyson
On Mon, 2014-03-17 at 12:58 +, bwm-epimorphics wrote: On 14/03/14 00:51, Paul Tyson wrote: [...] Has anyone else encountered this problem? I have. I have an application that may require using either a different analyzer or the StandardAnalyzer with a different set of stop words.