Re: Turtle* test suite

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