Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-223

Default memory model will not remove (partially) reified statements

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Jena 2.7.0
    • Fix Version/s: Jena 2.10.0
    • Component/s: Jena
    • Labels:

      Description

      From antiguru on IRC:

      Model m = ModelFactory.createDefaultModel();
      Resource r = m.createResource("http://example.com/a");
      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();

        Attachments

          Activity

            People

            • Assignee:
              andy Andy Seaborne
              Reporter:
              shellac Damian Steer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: