W3C home > Mailing lists > Public > public-rdf-star@w3.org > December 2020

Re: Turtle* test suite

From: Andy Seaborne <andy@apache.org>
Date: Tue, 8 Dec 2020 11:52:01 +0000
To: Gregg Kellogg <gregg@greggkellogg.net>
Cc: public-rdf-star@w3.org
Message-ID: <a5d72624-8778-a618-624e-79843d2ca74f@apache.org>


On 07/12/2020 21:12, Gregg Kellogg wrote:
> In light of turtle-star-syntax-bad-03.ttl, perhaps we need one with a 
> non-empty embedded BlankNodePropertyList as being a bad syntax case:
> 
> PREFIX : <http://example/ <http://example/>>
> 
> :s :p [:p2 :o2] .
> <<:s :p [:p2 :o2] >> :q 456 .
> 

Good idea:

PR:
https://github.com/w3c/rdf-star/pull/56

     Andy

> Gregg Kellogg
> gregg@greggkellogg.net <mailto:gregg@greggkellogg.net>
> 
>> On Dec 6, 2020, at 3:04 PM, Gregg Kellogg <gregg@greggkellogg.net 
>> <mailto:gregg@greggkellogg.net>> wrote:
>>
>> I ran this through my Ruby-based distiller [1] and passed all but the 
>> following:
>>
>> * turtle-star-annotation-1.ttl – Don’t support these annotations yet
>> * turtle-star-annotation-2.ttl – Don’t support these annotations yet
>> * turtle-star-syntax-bad-03.ttl – Bug on my part
>>
>> We might consider a recursive example, such as the following:
>>
>> @prefix ex: <http://example/ <http://example/>> .
>> <<
>>   <<ex:s2 ex:p2 ex:o2>>
>>     ex:p1 ex:o1 >>
>>   ex:p ex:o .
>>
>> Gregg Kellogg
>> gregg@greggkellogg.net <mailto:gregg@greggkellogg.net>
>>
>> [1] 
>> http://rdf.greggkellogg.net/distiller?command=serialize&format=turtle&output_format=ntriples&rdfstar=SA 
>> <http://rdf.greggkellogg.net/distiller?command=serialize&format=turtle&output_format=ntriples&rdfstar=SA>
>>
>>> On Dec 5, 2020, at 10:11 AM, Andy Seaborne <andy@apache.org 
>>> <mailto:andy@apache.org>> wrote:
>>>
>>> DONE:
>>> > ACTION: andys to add a test-suite for Turtle*
>>>
>>> https://github.com/w3c/rdf-star/tree/main/tests/turtle/syntax 
>>> <https://github.com/w3c/rdf-star/tree/main/tests/turtle/syntax>
>>>
>>> These are initial input for syntax tests for triple terms: << >> with 
>>> both positive and negative tests. As syntax tests these are not 
>>> defining the resulting RDF.
>>>
>>> In addition, there are two about triple annotation:
>>>
>>> turtle-star-annotation-1.ttl
>>> turtle-star-annotation-2.ttl
>>>
>>> There is a companion GH issue:
>>>
>>> https://github.com/w3c/rdf-star/issues/53 
>>> <https://github.com/w3c/rdf-star/issues/53>
>>>
>>>    Andy
>>>
>>
> 
Received on Tuesday, 8 December 2020 11:52:16 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 8 December 2020 11:52:17 UTC