- From: Shadi Abou-Zahra <shadi@w3.org>
- Date: Fri, 03 Jun 2005 10:36:10 +0200
- To: public-wai-ert@w3.org
Hi, 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"/> <rdfs:subClassOf> <owl:Restriction> <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:Restriction> <owl:Restriction> <owl:onProperty rdf:resource="&dc;isPartOf"> <rdfs:range rdf:resource="&earl;TestSubject"/> </owl:onProperty> <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:minCardinality> </owl:Restriction> </rdfs:subClassOf> </rdfs:Class> Regards, Shadi -- 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