[
https://issues.apache.org/jira/browse/JENA-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388495#comment-16388495
]
A. Soroka commented on JENA-1499:
---------------------------------
is this actually a bug? I was (perhaps wrongly) under the impression that this
is perfectly correct behavior. From
[https://www.w3.org/TR/rdf11-concepts/#section-dataset]:
{quote}Some [RDF dataset|https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-dataset]
implementations do not track empty [named
graphs|https://www.w3.org/TR/rdf11-concepts/#dfn-named-graph]. Applications can
avoid interoperability issues by not ascribing importance to the presence or
absence of empty named graphs.
{quote}
That having been said, if we want to make a guarantee across Jena datasets (or
if we already do and I just didn't know) of course we can make it so.
> 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)