Re: Datatype restricted- allValuesFrom

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)

Greetings
Marc Eichler

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