You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/03/06 22:42:00 UTC

[jira] [Comment Edited] (JENA-1499) The TIM dataset retains a memory of named graphs after deleting all quads.

    [ https://issues.apache.org/jira/browse/JENA-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388641#comment-16388641 ] 

Andy Seaborne edited comment on JENA-1499 at 3/6/18 10:41 PM:
--------------------------------------------------------------

Could you explain a bit about what {{QuadTableForm.GSPO.listGraphNodes}} is doing? I haven't looked at these details of {{QuadTableForm}} before. Can empty graphs appear in other ways? Does traversal of {{G\?\?\?}} simply on generate quads if the subtree is partial (i.e. empty) some how in {{GS\?\?}} ?




was (Author: andy.seaborne):
Could you explain a bit about what {{QuadTableForm.GSPO.listGraphNodes}} is doing? I haven't looked at these details of `QuadTableForm` before. Can empty graphs appear in other ways? Does traversal of {{G\?\?\?}} simply on generate quads if the subtree is partial (i.e. empty) some how in {{GS\?\?}} ?



> 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)