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

Default memory model will not remove (partially) reified statements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 2.7.0
    • Jena 2.10.0
    • Jena

    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

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

            Dates

              Created:
              Updated:
              Resolved: