Re: a question about turtle as it appears in the test manifests

On Oct 2, 2013, at 2:33 PM, Peter Patel-Schneider <pfpschneider@gmail.com> wrote:

> The test manifest files contain portions like:
> 
> <#xxx>
>   mf:result false .
> 
> 
> is this legal Turtle?

Yes, from <http://www.w3.org/TR/turtle/#booleans>: 

[[[
Boolean values may be written as either 'true' or 'false' (case-sensitive) and represent RDF literals with the datatype xsd:boolean.

@prefix : <http://example.org/stats> .
<http://somecountry.example/census2007>
    :isLandlocked false .           # xsd:boolean

]]]

Another issue is if the range of ms:result allows a literal, but this isn't a syntactic issue. I think the test-manifest schema [1] is actually wrong, as :result is defined twice, the second of which is probably intended to be :status

[[[
:result rdf:type rdf:Property ;
    rdfs:comment "The expected outcome" ;
    rdfs:domain	 :ManifestEntry ;
    # rdfs:range   ?? ;
    .	

:result rdf:type rdf:Property ;
    rdfs:comment "The test status" ;
    rdfs:domain	 :ManifestEntry ;
    rdfs:range   :TestStatus ;
    .
]]]

Perhaps one reasoning test should be if the test manifest itself is valid WRT the vocabularies it uses.

Gregg

[1] http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#

> peter
> 

Received on Wednesday, 2 October 2013 22:33:38 UTC