[SNIP]
Yes, I am looking for a hyponym, not a meronym.
Red, Blue and Green are hyponyms of Colour, with the hyponym specialising the hypernym Colour. A hyponym is a type of the hypernym, in UML the hypernym generalises the hyponym or the hyponym specialises the hypernym.
A wing is a meronym of a plane, likewise, a port is meronym of a switch or router. This is in UML is depicted by composition (or aggregation).
Typically inheritance is something associated with hyponyms and hypernyms and not with meronym.
The difficulty I always had with Sparx "Child (Generalization)" is what it does with the elements: adds "_child" at the end and ignores the stereotypes (at least in V13). If it did not do that I will be a bit more helpful.
Hey Modesto,
reading your post triggered a thought in my head (dangerous, I know)
Looking at your colour example, I would have said that "Red, Blue and Green are instances of Colour". I thought (and you agreed) hyponyms were a TYPE_OF.
One "trick" I use is to use the indefinite article to determine if I have an inheritance or restriction (IS_WHERE). Thus I can say a spoon is a TYPE_OF cutlery, but it is more difficult to say a green is a TYPE_OF colour.
That's because Green IS a colour WHERE the frequency is x.
In our modelling technology (as I've said before) we have Inheritance, Restriction and unspecified Specialization (not sure yet whether it's an inheritance or restriction).
As I said, just a thought.
Paolo
The use of the indefinite article may be of assistance to establish if something is a type of something else but it is not bullet proof. "Spoon" is a type of cutlery irrespective of the article preceding, likewise "POE Switch" is a type of Switch irrespective of the article preceding it.
I'll get into colours shortly.
According to Merriam-Webster, the definite article is used in English to refer to a person or thing that is identified or specified. While the OED, states "The main function of the definite article (in English, the) is to specify the noun given, while the indefinite article (in English, a or an) marks a noun as being generic."
To take Rhys' example, the use of a definite article before "Switch" or "POE Switch" denotes a switch (of a particular make and model) with a specific IP address. It is not the actual physical switch but a representation of a physical switch. Whether a Realization is the right or wrong way to depict the relationship between the representation of a physical switch and its hypernyms, I don't know and need to ponder about it.
Colours are one of those examples where the "article" rule to decide if something is a type does not work, but there many others: water, methane, and Sodium chloride are chemical compounds (there types of of chemical compounds), and a AFIK, in English, preceding them by an article without further lexicalisation does not work. The fact that red has a dominant wavelength of approximately 625–740 nanometres and that reds range from the brilliant yellow-tinged scarlet and vermillion to bluish-red crimson, and vary in shade from the pale red pink to the dark red burgundy, does not mean red is not a type of colour and that vermillion, crimson, and so on are not types of red.
In other words, because you can define something based on physical parameters does not mean there are not a type of.
Incidentally, POE Switch is also an example of lexicalisation.
To sum up, lexicalisation plays a role when trying to decide if something is a type of.