W3C home > Mailing lists > Public > public-wai-ert@w3.org > August 2006

Re: Action Item: Testable Statement class

From: Shadi Abou-Zahra <shadi@w3.org>
Date: Wed, 16 Aug 2006 13:34:12 +0200
Message-ID: <44E302B4.8000808@w3.org>
To: Charles McCathieNevile <chaals@opera.com>, public-wai-ert@w3.org

Hi,

How about the following tweak to express the intended restriction:

  <rdfs:Class rdf:about="http://www.w3.org/WAI/ER/EARL/nmg-strawman#Testable">
    <rdfs:label xml:lang="en">Testable Thing</rdfs:label>
    <rdfs:comment xml:lang="en">A requirement against which subjects are 
    <owl:oneOf rdf:parseType="Collection">
      <owl:Thing rdf:about="http://www.w3.org/WAI/ER/EARL/nmg-strawman#TestRequirement"/>
      <owl:Thing rdf:about="http://www.w3.org/WAI/ER/EARL/nmg-strawman#TestCase"/>
    </owl:oneOf>
  </rdfs:Class>


Regards,
  Shadi


Charles McCathieNevile wrote:
> 
> On Thu, 20 Jul 2006 10:37:55 +0200, Shadi Abou-Zahra <shadi@w3.org> wrote:
> 
>> Hi Charles,
>>
>> <cite url="http://www.w3.org/2006/02/28-er-minutes">
>> * JibberJim> chaals, are you still happy to have the action item to 
>> write up the thing you can pass or fail and subClass ?
>> * chaals> yeah.
>> </cite>
>>
>> We urgently need this class in order to finalize the schema. If I 
>> recall correctly, you had proposed to write up and RDF Schema for a 
>> generic class to describe "testable statement" (aka "a thing you can 
>> pass or fail"), which then has "test requirement" and "test case" as 
>> sub-classes. By when could you complete this?
> 
>   <rdfs:Class 
> rdf:about="http://www.w3.org/WAI/ER/EARL/nmg-strawman#TestRequirement">
>     <rdfs:subClassOf 
> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#Testable"/>
>     <rdfs:label xml:lang="en">Test Requirement</rdfs:label>
>     <rdfs:comment xml:lang="en">A requirement against which subjects are 
> tested</rdfs:comment>
>   </rdfs:Class>
> 
>   <rdfs:Class 
> rdf:about="http://www.w3.org/WAI/ER/EARL/nmg-strawman#TestCase">
>     <rdfs:subClassOf 
> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#Testable"/>
>     <rdfs:label xml:lang="en">Test Case</rdfs:label>
>     <rdfs:comment xml:lang="en">A Test Case, that when tested indicates 
> whether the subject passed or failed</rdfs:comment>
>   </rdfs:Class>
> 
>   <rdfs:Class 
> rdf:about="http://www.w3.org/WAI/ER/EARL/nmg-strawman#Testable">
>     <rdfs:label xml:lang="en">Testable Thing</rdfs:label>
>     <rdfs:comment xml:lang="en">A requirement against which subjects are 
> tested, or a test case</rdfs:comment>
>   </rdfs:Class>
> 
> I still think this is a bad idea, since I don't see the value in having 
> the two kinds of subClass. If we adopt this, the range of 
> earl:requirement needs to be made earl:Testable too. (Since we are 
> shifting the range to a superclass, I think we can get away with that.
> 
> Cheers
> 
> Chaals
> 
> --  Charles McCathieNevile, Opera Software: Standards Group
>   hablo español  -  je parle français  -  jeg lærer norsk
> chaals@opera.com          Try Opera 9 now! http://opera.com
> 
> 

-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe | 
Chair & Staff Contact for the Evaluation and Repair Tools WG | 
World Wide Web Consortium (W3C)           http://www.w3.org/ | 
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ | 
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ | 
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ | 
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France | 
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 | 
Received on Wednesday, 16 August 2006 11:34:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:27 GMT