[
https://issues.apache.org/jira/browse/JENA-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388509#comment-16388509
]
A. Soroka commented on JENA-1499:
---------------------------------
Well, surprising is not good.
Which way to play this? Prune all empty graphs, or make sure that empty graphs
appear from {{listGraphNodes()}}?
> 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)