Search Mailing List Archives
[protege-owl] Define some interval subclass
nagy.attila.1984 at gmail.com
Fri Apr 27 05:34:53 PDT 2007
I guess you can't put a restriction on a numeric data property being
"less" or "more" than a given value.
I have the very same problem with ages. I currently have age ranges as
instances, and they are linked through a transitive object property
Here, you have another option. You can have two datatype properties
for a class: "min_weight" and "max_weight" with adequate fillers.
However, don't expect the reasoner to be able to anything with it. It
is up to the application that uses the ontology to handle this. I
don't have this option, since my age ranges are sometimes
noncontiguous, like "under 20 and above 60".
The problem with Juan's approach is that having a cardinality
restriction like "weight max 10" states that an object cannot have
more than 10 weights. This is obviously not what you want to express.
2007/4/27, Steve Jonathan Tirtha <sjtirtha at gmail.com>:
> How can I define subclass that represents interval of its superclass.
> I have a class "Weight" and I divide it into some subclasses:
> WeightUnder10Kg, WeightBetween10And30Kg, WeightOver30Kg.
> I can define them only as a name. But how can define that the class
> WeightUnder10Kg can only have weight under 10 kg.
> NB: is there any best practice for ontology modelling. I've read already
> Ontology 101. That was pretty good, but it's still not enough.
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing:
More information about the protege-owl