I have written an RDFStream to RDFConnection with caching.  Basically, the
stream caches triples/quads until a limit is reached and then it writes
them to the RDFConnection.  At finish it writes any triples/quads in the
cache to the RDFConnection.

Internally I cache the stream in a dataset.  I write triples to the default
dataset and quads as appropriate.

I have a couple of questions:

1) In this arrangement what does the "base" tell me? I currently ignore it
and want to make sure I havn't missed something.

2) I capture all the prefix calls in a PrefixMapping that is accessible
from the RDFConnectionStream class.  They are not passed into the dataset
in any way.  I didn't see any method to do so and don't really think it is
needed.  Does anyone see a problem with this?

3) Does anyone have a use for this class?  If so I am happy to contribute
it, though the next question becomes what module to put it in?  Perhaps we
should have an extras package for RDFStream implementations?

Claude

-- 
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to