W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > January 2016

Re: proposed set of SHACL tests

From: Holger Knublauch <holger@topquadrant.com>
Date: Mon, 11 Jan 2016 13:14:32 +1000
To: public-data-shapes-wg@w3.org
Message-ID: <56931E18.3060207@topquadrant.com>
Hi Peter,

thanks for playing with the test framework. I am still catching up on a 
number of fronts and may not have time to look into the details this 
week. A quick scan through your results indicates

- My current test framework also validates the shape definitions. A 
symptom of this is that, for example, values of sh:class are expected to 
be instances of rdfs:Class. The idea in my API is that this schema-level 
testing can be switched off using the "filtered" argument of 
ModelConstraintValidator.validateModel. ValueTestClass calls this with 
false, i.e. everything will be validated including shapes.

- Inferencing is switched off by default, as defined by the spec. So you 
should not expect rdfs:range and rdfs:domain to impact validation.

Moving forward my suggestion is for you to upload the tests that you 
have into a sub-folder of

https://github.com/w3c/data-shapes/tree/gh-pages/data-shapes-test-suite/tests

(The folder "features" there contains tests created by myself, and I see 
that Karen had prepared the folder "dcmi".) You could add a folder 
"pfps" so that we can more easily discuss and update individual tests 
instead of shipping bulky .tar files around.

Thanks
Holger


On 10/01/2016 3:32 PM, Peter F. Patel-Schneider wrote:
> I fiddled with the test manifest and the tests.
>
> The test harness doesn't seem to be doing the right thing for failures, but I
> inserted print statements to see what was going on.  I put comments in the
> manifest file where I think there are problems with Holger's implementation.
>
> I attach the revised tests and manifest.
>
> peter
Received on Monday, 11 January 2016 03:15:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:29 UTC