Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-04-01 Thread Dick Murray
Hi. I've pushed up a draft to https://github.com/dick-twocows/jena-dev.git. This has two test cases; Echo : which will echo back the find GSPO call i.e. call find ABCD and you will get the Quad ABCD back. This does not cache between calls. CSV : which will transform a CSV file into Quads i.e.

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-29 Thread Joint
users@jena.apache.org Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory On 16/03/16 20:05, Dick Murray wrote: > Right, I think I cracked it! :-) > > Two classes defined below, one extends DatasetGraphInMemory, one provides a > small test (bas

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-29 Thread Andy Seaborne
On 16/03/16 20:05, Dick Murray wrote: Right, I think I cracked it! :-) Two classes defined below, one extends DatasetGraphInMemory, one provides a small test (basically a quad echo). Simple overview; addToNamedGraph writes the quad into a separate QuadTable if the transaction is READ

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-18 Thread Dick Murray
Right, I think I cracked it! :-) Two classes defined below, one extends DatasetGraphInMemory, one provides a small test (basically a quad echo). Simple overview; addToNamedGraph writes the quad into a separate QuadTable if the transaction is READ otherwise it call super... findInNamedGraph

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread Andy Seaborne
On 15/03/16 14:12, A. Soroka wrote: I guess you could use addGraph to intercept and alter (or substitute) the graph, Or getGraph(graphNode) but that seems like a real distortion of the semantics. Seems like the AFS-Dev material is more to the point here. Andy, what do you think it

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread A. Soroka
I guess you could use addGraph to intercept and alter (or substitute) the graph, but that seems like a real distortion of the semantics. Seems like the AFS-Dev material is more to the point here. Andy, what do you think it would take to get that stuff to Jena master? Do you think it is ready

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread Dick Murray
Eureka moment! It returns a new Graph of a certain type. Whereas I need the graph node to determine where the underlying data is. Cheers Dick. On 15 March 2016 at 11:28, Andy Seaborne wrote: > On 15/03/16 10:30, Dick Murray wrote: > >> Sorry, supportsTransactionAbort() in

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread Andy Seaborne
On 15/03/16 10:30, Dick Murray wrote: Sorry, supportsTransactionAbort() in AFS-Dev /src /main /java

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-15 Thread Dick Murray
s this) or a log of > some kind (TDB does this). > > For example, plain synchronization MRSW locking can't provide an abort > operation. It needs the cooperation of components to do that. > > Andy > > > > > >> Dick >> >> ---- Original mess

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-14 Thread Andy Seaborne
message From: Andy Seaborne <a...@apache.org> Date: 13/03/2016 7:54 pm (GMT+00:00) To: users@jena.apache.org Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory On 10/03/16 20:10, Dick Murray wrote: Hi. Yes re TriTable and TripleTable.

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-14 Thread Joint
eating Triples/Quads on demand using DatasetGraphInMemory On 10/03/16 20:10, Dick Murray wrote: > Hi. Yes re TriTable and TripleTable. I too like the storage interface which > would work for my needs and make life simpler. A few points from me. > Currently I wrap an existing dsg and cache

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-13 Thread Andy Seaborne
On 10/03/16 20:10, Dick Murray wrote: Hi. Yes re TriTable and TripleTable. I too like the storage interface which would work for my needs and make life simpler. A few points from me. Currently I wrap an existing dsg and cache the additional tuples into what I call the deferred DSG or DDSG. The

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-10 Thread A. Soroka
On this particular point, there has been such discussion recently: http://markmail.org/message/wo5r3edi7xzt7zmx http://markmail.org/message/hxao4izpiv7quumv but no action that I know of. (Claude Warren would know more than me.) --- A. Soroka The University of Virginia Library > On Mar 10,

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-10 Thread Dick Murray
upleTable with which you are working have exactly the >>> same kinds of find() methods. Why are they not problematic in that context? >>> >>> --- >>> A. Soroka >>> The University of Virginia Library >>> >>>> On Mar 3, 2016, at 5:

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-10 Thread A. Soroka
;>> >>> --- >>> A. Soroka >>> The University of Virginia Library >>> >>>> On Mar 3, 2016, at 5:47 AM, Joint <dandh...@gmail.com> wrote: >>>> >>>> >>>> >>>> Hi Andy. >>>> I

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-10 Thread Andy Seaborne
pache.org> Date: 18/02/2016 6:31 pm (GMT+00:00) To: users@jena.apache.org Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory Hi, I'm not seeing how tapping into the implementation of DatasetGraphInMemory is going to help (through the details As we

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-04 Thread Andy Seaborne
Original message From: Andy Seaborne <a...@apache.org> Date: 18/02/2016 6:31 pm (GMT+00:00) To: users@jena.apache.org Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory Hi, I'm not seeing how tapping into the implemen

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-04 Thread Dick Murray
to be cached. > Also the cache can be preloaded with common triples e.g. ANY RDF:type ?. > > Would you consider a generic version for the Jena code base? > > > > > > Dick > > > > ---- Original message > > From: Andy Seaborne <a...@apache.org&

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-03 Thread A. Soroka
gt; > Dick > > Original message > From: Andy Seaborne <a...@apache.org> > Date: 18/02/2016 6:31 pm (GMT+00:00) > To: users@jena.apache.org > Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using > DatasetGraphInMemory >

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-03-03 Thread Joint
Original message From: Andy Seaborne <a...@apache.org> Date: 18/02/2016 6:31 pm (GMT+00:00) To: users@jena.apache.org Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory Hi, I'm not seeing how tapping into the implemen

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-02-18 Thread Andy Seaborne
essage From: "A. Soroka" <aj...@virginia.edu> Date: 12/02/2016 11:07 pm (GMT+00:00) To: users@jena.apache.org Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory Okay, I’m more confident at this point that you’re not well served by DatasetGr

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-02-16 Thread A. Soroka
bed easy to hook on. > Dick > > Original message ---- > From: "A. Soroka" <aj...@virginia.edu> > Date: 12/02/2016 11:07 pm (GMT+00:00) > To: users@jena.apache.org > Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using > Dat

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-02-13 Thread Joint
What was DatasetGraphInMemory created for..? ;-) > Dick > > Original message > From: "A. Soroka" <aj...@virginia.edu> > Date: 12/02/2016  6:21 pm  (GMT+00:00) > To: users@jena.apache.org > Subject: Re: SPI DatasetGraph creating Triples/Quads on deman

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-02-12 Thread A. Soroka
I wrote the DatasetGraphInMemory code, but I suspect your question may be better answered by other folks who are more familiar with Jena's DatasetGraph implementations, or may actually not have anything to do with DatasetGraph (see below for why). I will try to give some background

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-02-12 Thread Joint
Original message From: "A. Soroka" <aj...@virginia.edu> Date: 12/02/2016 6:21 pm (GMT+00:00) To: users@jena.apache.org Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory I wrote the DatasetGraphInMemory  code, but I suspe

Re: SPI DatasetGraph creating Triples/Quads on demand using DatasetGraphInMemory

2016-02-12 Thread A. Soroka
eated for..? ;-) > Dick > > Original message > From: "A. Soroka" <aj...@virginia.edu> > Date: 12/02/2016 6:21 pm (GMT+00:00) > To: users@jena.apache.org > Subject: Re: SPI DatasetGraph creating Triples/Quads on demand using > DatasetGraph