[redland-dev] Preventing duplicate triples in memory store
Pierre-Antoine
pierre-antoine.champin at liris.cnrs.fr
Fri Aug 21 15:29:21 CEST 2009
Le 06/08/2009 09:52, Sebastian Trüg a écrit :
> Hi folks,
>
> is there a possibility to prevent duplicate triples in a redland memory store
> without having to test before insertion manually?
funny, I discovered *today* that redland allowed duplicate triples in
the same storage / same context, and I have exactly the same need!
But rather than preventing it on an application level, shouldn't this be
fixed in the library ? I can accept to retrieve the same triple several
times when it is present in several contexts, but having the same
triples stored several times in the same context amounts to managing
multi-graphs, while RDF has a simple graph semantics...
So I don't want to bother about checking the presence of any triple
before inserting it...
pa
More information about the redland-dev
mailing list