W3C home > Mailing lists > Public > public-webont-comments@w3.org > March 2004

Re: Datatype restricted- allValuesFrom

From: Marc Eichler <Marc.Eichler@studserv.uni-stuttgart.de>
Date: Tue, 02 Mar 2004 13:12:30 +0100
Message-ID: <40447A2E.7F0EF4EB@studserv.uni-stuttgart.de>
To: public-webont-comments@w3.org

Hi Luis,

your example  does not work.

In the Definition of "hasB" you restrict the range to "http://www.w3.org/2001/XMLSchema#string" which is valid OWL-Lite.

In the Definition of Class A you restrict the values of "hasB" to members of Class B. This is also Valid OWL-Lite.

=> Valid values of hasB must be members of XMLSchema#string AND Class B. Since Class B is not ab subclass of XMLSchema#string there are no valid values for hasB.

I think what you need is an enumerated datatype. (OWL Reference 6.2)

Marc Eichler
Received on Tuesday, 2 March 2004 07:22:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:09:29 UTC