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

2018-03-07 Thread ajs6f
+1!

ajs6f

> On Mar 7, 2018, at 11:29 AM, Claude Warren  wrote:
> 
> This looks like a prime candidate for a contract test (as soon as we agree
> on what the action should be)
> 
> Claude
> 
> On Wed, Mar 7, 2018 at 4:26 PM, A. Soroka (JIRA)  wrote:
> 
>> 
>>[ https://issues.apache.org/jira/browse/JENA-1499?page=
>> com.atlassian.jira.plugin.system.issuetabpanels:comment-
>> tabpanel=16389757#comment-16389757 ]
>> 
>> A. Soroka commented on JENA-1499:
>> -
>> 
>> [~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}} 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)
>> 
> 
> 
> 
> -- 
> I like: Like Like - The likeliest place on the web
> 
> LinkedIn: http://www.linkedin.com/in/claudewarren



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

2018-03-07 Thread Claude Warren
This looks like a prime candidate for a contract test (as soon as we agree
on what the action should be)

Claude

On Wed, Mar 7, 2018 at 4:26 PM, A. Soroka (JIRA)  wrote:

>
> [ https://issues.apache.org/jira/browse/JENA-1499?page=
> com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel=16389757#comment-16389757 ]
>
> A. Soroka commented on JENA-1499:
> -
>
> [~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}} 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)
>



-- 
I like: Like Like - The likeliest place on the web

LinkedIn: http://www.linkedin.com/in/claudewarren