Open reckart opened 6 years ago
Or even:
As decided in the meetings for ontology, we distinguish between
In the XSD, although hierarchical relations are encoded, they cannot be shown nor used for validation. The problem is that we use the same element ("function") for both components and applications - in fact, the only difference between them in the XSD is the flag "application" with yes/no values.
In the editor form, when the user selects to describe applications, he is shown only the tree with the values for applications; same thing for components.
So, when writing XML files, one has to be careful in selecting the appropriate values. We can have tips in the documentation but we cannot validate.
We can just as well mark an application which does NER as NamedEntityRecognizer. I see no benefit in assigning NamedEntityRecognition here as the difference between component and application is already encoded in the application flag.
The issue has been discussed and decided in one of the meetings for the ontology; there are pros and cons for this decision, but now is definitely not the time to re-open the discussion. Please, for the Maven components, use the values from the component type hierarchy. If it helps, I can send it separately in a json or ttl format. One thing that helps towards your suggestion is the fact that in the ontology (not the controlled vocabulary in the XSD), there's a property "performs operation" which links the two.
The controlled vocabulary for "operationType" contains mixed up values. E.g.:
IMHO it should only contain the latter (DependencyParser) not the former since we use this vocabulary to determine the type of components.