incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Seaborne (Commented) (JIRA)" <>
Subject [jira] [Commented] (JENA-223) Default memory model will not remove (partially) reified statements
Date Wed, 21 Mar 2012 22:35:09 GMT


Andy Seaborne commented on JENA-223:

I've tracked this from m.removeAll(...) turns to a graph find iterator over reifier and base
graph.  iter.remove does not seem to remove the triple from the reifiers fragments list.

(Works for TDB but TDB reification is just an algorithm over the base storage state - there
is no "reifier" that stores fragments -- TDB only support ReificationStyle.Standard via GraphBase2+Reifier2
in ARQ's graph extras.  Long term, I'd like to suggest use this or somethign similar for reification
and simplify the reifier architecture.)
> Default memory model will not remove (partially) reified statements
> -------------------------------------------------------------------
>                 Key: JENA-223
>                 URL:
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 2.7.0
>            Reporter: Damian Steer
>              Labels: reification
> From antiguru on IRC:
> Model m = ModelFactory.createDefaultModel();
> Resource r = m.createResource("");
> r.addProperty(RDF.object, "test1"); // or predicate or subject
> m.removeAll(r, null, null);
> System.err.println(m.size()); // => 1
> Works (returns 0) with:
> ModelFactory.createMemModelMaker(ReificationStyle.Minimal).createDefaultModel();

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message