W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2010

Re: Updated delete tests

From: Matt Perry <matthew.perry@oracle.com>
Date: Fri, 05 Nov 2010 18:22:23 -0400
Message-ID: <4CD4839F.4040602@oracle.com>
To: Andy Seaborne <andy.seaborne@epimorphics.com>
CC: W3C SPARQL Working Group <public-rdf-dawg@w3.org>
Hi,

I added the delete-using tests to the manifest and added a test 
(dawg-delete-07) for the unbound variable wildcard behavior in DELETE.

Thanks,
Matt

Andy Seaborne wrote:
> ARQ now passes the suite in delete (I took the liberty of making the 
> test names in mf:name unique - having multiple "Simple DELETE 1" 
> confused me.
>
> == delete
> Tests = 12 : Successes = 12 : Errors = 0 : Failures = 0
>
> I do see  :dawg-delete-using-NN for 01 to 06 which are not linked into 
> the manifest lists.
>
> ARQ would not pass these - I haven't implemented USING yet.
>
>     Andy
>
> On 01/11/10 14:17, Matt Perry wrote:
>> Hi Andy,
>>
>> I corrected and updated the tests in CVS. Please let me know if there
>> are any problems with the new tests.
>>
>> Thanks,
>> Matt
>>
>> Andy Seaborne wrote:
>>>
>>>
>>> On 27/10/10 19:04, Matt Perry wrote:
>>>> Hi,
>>>>
>>>> I have updated the tests in the delete, delete-data and delete-where
>>>> directories to use the new ut vocabulary.
>>>>
>>>> Thanks,
>>>> Matt
>>>>
>>>
>>> Matt,
>>>
>>> I can parse the manifests successfully. The tests themselves caused
>>> some issues:
>>>
>>> ==== delete/
>>> Tests = 12 : Successes = 4 : Errors = 0 : Failures = 8
>>>
>>> For example:
>>> == Test :dawg-delete-01
>>>
>>> == delete-01.ru
>>> PREFIX : <http://example.org/>
>>> PREFIX foaf: <http://xmlns.com/foaf/0.1/>
>>>
>>> DELETE
>>> {
>>> ?s ?p ?o .
>>> }
>>> WHERE
>>> {
>>> :a foaf:knows ?s .
>>> }
>>> so regardless of the data, ?p and ?o do not get bound and no triples
>>> will be deleted.
>>>
>>> Was the assumption that variables in DELETE template act as wildcards?
>>>
>>> Example 1, of section "3.1.4 DELETE", places variables in the WHERE
>>> clause to get them bound for the template.
>>>
>>>
>>>
>>> ==== delete-data/
>>> Tests = 6 : Successes = 6 : Errors = 0 : Failures = 0
>>>
>>> ==== delete-where/
>>> Tests = 6 : Successes = 3 : Errors = 3 : Failures = 0
>>>
>>> 3 tests involve DELETE DATA, not DELETE WHERE:
>>> delete-where-02.ru
>>> delete-where-05.ru
>>> delete-where-06.ru
>>>
>>>
>>> Andy
>>
>
Received on Friday, 5 November 2010 22:23:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:44 GMT