Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Define some interval subclass

Nagy Attila 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
called "fully_includes".

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.

Cheers,

Attis

2007/4/27, Steve Jonathan Tirtha <sjtirtha at gmail.com>:
> Hi,
>
> How can I define subclass that represents interval of its superclass.
> Example:
> 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.
>
> Regards,
>
> Steve
>
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
>



More information about the protege-owl mailing list