[ https://issues.apache.org/jira/browse/JENA-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16389757#comment-16389757 ]
A. Soroka edited comment on JENA-1499 at 3/7/18 4:25 PM: --------------------------------------------------------- [~andy.seaborne], {{o.a.j.s.core.mem.QuadTableForm.GSPO.listGraphNodes()}} is just taking the keys of the GSPO index and returning a stream of them. That's why (see above) if there are mappings fro\{{m }}{{Node => Node => Set<Node>}} with that {{Set}} empty, we're still seeing names of graphs appear at that exact method. was (Author: ajs6f): [~andy.seaborne], {{org.apache.jena.sparql.core.mem.QuadTableForm.GSPO.listGraphNodes()}} is just taking the keys of the GSPO index and returning a stream of them. That's why (see above) if there are mappings fro{{m }}{{Node => Node => Set<Node>}} with that {{Set}} empty, we're still seeing names of graphs appear at that exact method. > The TIM dataset retains a memory of named graphs after deleting all quads. > -------------------------------------------------------------------------- > > Key: JENA-1499 > URL: https://issues.apache.org/jira/browse/JENA-1499 > Project: Apache Jena > Issue Type: Bug > Affects Versions: Jena 3.6.0 > Reporter: Andy Seaborne > Priority: Major > > Illustration: > {noformat} > DatasetGraph dsg = DatasetGraphFactory.createTxnMem(); > Quad q = SSE.parseQuad("(:g :s :p :o)"); > dsg.add(q); > dsg.delete(q); > Iter.print(dsg.listGraphNodes()); > {noformat} > prints {{http://example/g}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)