W3C home > Mailing lists > Public > public-wai-ert@w3.org > June 2005

OWL Restrictions

From: Shadi Abou-Zahra <shadi@w3.org>
Date: Fri, 03 Jun 2005 10:36:10 +0200
Message-ID: <42A0167A.6050001@w3.org>
To: public-wai-ert@w3.org


Still playing around with the optimal way of integrating external vocabulary into the EARL schema. Let's say we want to define earl:TestSubject to have *exactly* one dc:date and *any number* of dc:isPartOf. Additionally, the dc:isPartOf should point from on earl:TestSubject to another. Does the following OWL construct behave the way we want it to?

<rdfs:Class rdf:about="&earl;TestSubject" rdfs:label="Subject being tested"> 
  <rdfs:subClassOf rdf:resource="&rdfs;Resource"/> 
      <owl:onProperty rdf:resource="&dc;date"/>
      <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
      <owl:maxCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
      <owl:onProperty rdf:resource="&dc;isPartOf">
        <rdfs:range rdf:resource="&earl;TestSubject"/> 
      <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:minCardinality>


Shadi Abou-Zahra,       Web Accessibility Specialist for Europe 
World Wide Web Consortium (W3C),             http://www.w3.org/ 
Web Accessibility Initiative (WAI),      http://www.w3.org/WAI/ 
IST WAI-TIES Project (WAI-TIES)     http://www.w3.org/WAI/TIES/ 
Evaluation and Repair Tools (ERT WG), http://www.w3.org/WAI/ER/ 
2004, Route des Lucioles BP93 - 06560 Sophia-Antipolis - France 
Voice: +33(0)4 92 38 50 64             Fax: +33(0)4 92 38 78 22 
Received on Friday, 3 June 2005 08:36:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:52 UTC