Saving voluminous RDF model in File?

2014-08-13 Thread Zahir Kali
Hello, I am working about reasoning in Jena. I take RDF model and i enrich it.So the RDF obtained is voluminous and to save it in a file i must wait many hours (3 or 4 hours). I thought to use TDB but i am not sure that is the best way to resolve the problem. Please, do you have idea? Thanks.

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Damian Steer
On 13/08/14 09:14, Zahir Kali wrote: > Hello, I am working about reasoning in Jena. I take RDF model and i > enrich it.So the RDF obtained is voluminous and to save it in a file > i must wait many hours (3 or 4 hours). I thought to use TDB but i am > not sure that is the best way to resolve the pro

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Zahir Kali
Thank you for the help. But i have tried the both  RDFDataMgr and RDFWriter but the result is not better. Sofiane. Le Mercredi 13 août 2014 11h28, Damian Steer a écrit : On 13/08/14 09:14, Zahir Kali wrote: > Hello, I am working about reasoning in Jena. I take RDF model and i > enrich it.

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Damian Steer
On 13/08/14 11:59, Zahir Kali wrote: > Thank you for the help. But i have tried the both RDFDataMgr and RDFWriter > but the result is not better. You didn't address these questions: > How big is the model, and what format are you writing the file in? Damian

Re: Re: Saving voluminous RDF model in File?

2014-08-13 Thread Chris Dollin
On Wednesday, August 13, 2014 11:59:47 AM Zahir Kali wrote: > Thank you for the help. But i have tried the both RDFDataMgr and RDFWriter > but the result is not better. Please be specific about what you tried. Include how big your data is [befor and after inference] and how much memory you gave

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Andy Seaborne
On 13/08/14 12:08, Damian Steer wrote: On 13/08/14 11:59, Zahir Kali wrote: Thank you for the help. But i have tried the both RDFDataMgr and RDFWriter but the result is not better. You didn't address these questions: How big is the model, and what format are you writing the file in? Dami

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Zahir Kali
I am using OWL reasoner of Jena. But the problem is not the inference ingine. The inference finished after 2 seconds. The probleme is whene i take resulted Model to save it in a file. I am trying with Jena TDB and i seems that i am in the right direction. Thank you. Le Mercredi 13 août 2014

Re: Re: Saving voluminous RDF model in File?

2014-08-13 Thread Chris Dollin
On Wednesday, August 13, 2014 02:47:33 PM Zahir Kali wrote: > > I am using OWL reasoner of Jena. But the problem is not the inference ingine. > The inference finished after 2 seconds. The probleme is whene i take resulted > Model to save it in a file. If the inference uses backwards rules, it do

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Dave Reynolds
On 13/08/14 15:02, Chris Dollin wrote: On Wednesday, August 13, 2014 02:47:33 PM Zahir Kali wrote: I am using OWL reasoner of Jena. But the problem is not the inference ingine. The inference finished after 2 seconds. The probleme is whene i take resulted Model to save it in a file. If the inf

Re: Saving voluminous RDF model in File?

2014-08-13 Thread Zahir Kali
Thank you Dave, effectively the materialization of the model make the writing in file really faster. Thanks Le Mercredi 13 août 2014 16h09, Dave Reynolds a écrit : On 13/08/14 15:02, Chris Dollin wrote: > On Wednesday, August 13, 2014 02:47:33 PM Zahir Kali wrote: >> >> I am using OWL re

Re: controlling JSON-LD output

2014-08-13 Thread Jim Balhoff
On Aug 12, 2014, at 10:20 AM, Andy Seaborne wrote: > On 11/08/14 20:03, Jim Balhoff wrote: >> Hi, >> >> I am trying to output a Model as JSON-LD. It's working fine, but now >> I would like to make some changes to how the output is structured. >> For example, I'd like to define a @reverse propert

ConcurrentModificationException responding to View Request's

2014-08-13 Thread Devlin Junker
Hi, I am having a little bit of trouble implementing the TDB store for my Jena Ontologies. I have been able to solve most of the issues that I've come across, but I have become frustrated with the view request functions that the Ontology objects define. I am trying to get a list of all of the res

Re: ConcurrentModificationException responding to View Request's

2014-08-13 Thread Devlin Junker
I forgot to mention that this is happening during a Write Transaction on the Dataset, in case that is important. Devlin On Wed, Aug 13, 2014 at 9:19 AM, Devlin Junker wrote: > Hi, > > I am having a little bit of trouble implementing the TDB store for my Jena > Ontologies. I have been able to s

Re: ConcurrentModificationException responding to View Request's

2014-08-13 Thread Devlin Junker
And here is the stack trace. Sorry about sending multiple emails. java.util.ConcurrentModificationException: Iterator: started at 6, now 7 at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW.policyError(DatasetControlMRSW.java:157) at com.hp.hpl.jena.tdb.sys.DatasetControlMRSW.access$000(DatasetControl

Re: ConcurrentModificationException responding to View Request's

2014-08-13 Thread Devlin Junker
Hi, Found that the problem was due to to trying to add a submodel and OWL:imports statement during the same transaction. I had to finish and commit the transaction where I add the submodel first, then start another transaction that would read the Class Restrictions. Sometimes I just need to expla

Re: ConcurrentModificationException responding to View Request's

2014-08-13 Thread Andy Seaborne
On 13/08/14 18:21, Devlin Junker wrote: Hi, Found that the problem was due to to trying to add a submodel and OWL:imports statement during the same transaction. I had to finish and commit the transaction where I add the submodel first, then start another transaction that would read the Class Res

Re: controlling JSON-LD output

2014-08-13 Thread Andy Seaborne
On 13/08/14 16:14, Jim Balhoff wrote: On Aug 12, 2014, at 10:20 AM, Andy Seaborne wrote: On 11/08/14 20:03, Jim Balhoff wrote: Hi, I am trying to output a Model as JSON-LD. It's working fine, but now I would like to make some changes to how the output is structured. For example, I'd like to

Re: controlling JSON-LD output

2014-08-13 Thread Jim Balhoff
On Aug 13, 2014, at 4:19 PM, Andy Seaborne wrote: > > Jim, > > Thanks for trying. It's probably a question for jsonld-java directly. Jena > is using jsonld-java and maybe the writer is being too simplistic. If there > improvements, then I'm very willing to add them but when I tried various

evaluation semantics of BIND in a basic graph pattern

2014-08-13 Thread Tim Harsch
Hi all, I'm wondering if someone can help me check my understanding of how ARQ evaluates the following DAWG test query.  Output below using Fuseki 1.1.0 ( How do I check which version of ARQ is in this version of Fuseki?).   I'm wondering if in the first un-optimized algebra form, this amounts t

Re: evaluation semantics of BIND in a basic graph pattern

2014-08-13 Thread Rob Vesse
Tim Running Fuseki with just the --version argument will dump out the versions of the various components to stdout VALUES translates into the table operator which essentially provides a set of solutions which are joined to some other part of the query. So with the unoptimised algebra ARQ would f