I'm pretty new in the RDF, RDFS and OWL world and I'm trying to build my small ontology structure example.
I've gathered some information about plants, specifically I was thinking of a first partitioning level based on "how tall a plant can be" (please let me pass this phrase, I am doing a very very simple ontology that isn't 100% real world correct, just using it to understand OWL) by dividing a superclass called vegetation in 3 subclasses called herbaceous plant, shrub and tree.
Now those classes differ for the height of the objects in them so I was thinking of making 3 properties (one for each) with the same name: "hasHeight" in which, based on the class they have value certain restriction like (> 6 meters) for trees or (>= 1,5 & <= 6 meters) for shrubs.
The solution I was thinking:
Vegetation
* L Herbaceous plant with property hasHeight (< 1,5m)
* L Shrub with property hasHeight (>= 1,5m & <= 6m)
* L Tree with property hasHeight (> 6m)
I am sure this is not the correct way to approach this problem and wanted some help to understand better how I could structure those information.