Currently, the Modelica unit ontology doesn't include data on inheritance between SIUnit individuals. ModelicaClass individuals should be able to indicate that they inherit from other ModelicaClass individuals.
The ontology schema needs a new ObjectProperty for this.
subtypeOf axiom has been defined to indicate that one instance inherits from another.
MSL2OWL needs to generate this for each individual.
Algorithm: If Quantity of a Type is set, and not equal to the current type, then set the value indicated by Quantity to be the basetype. This is done using the subtypeOf axiom from subtype to basetype.
The C# lib (#16) needs to include this data property in ModelicaClass.
When complete, merge to master, issue-16, and issue-2
Currently, the Modelica unit ontology doesn't include data on inheritance between SIUnit individuals.
ModelicaClass
individuals should be able to indicate that they inherit from otherModelicaClass
individuals.This data will be mined from the Modelica extract: https://github.com/adamnagel/qudt-for-domain-tools/blob/issue-23/modelica/modelica_units.json
Changes:
subtypeOf
axiom has been defined to indicate that one instance inherits from another.Quantity
of a Type is set, and not equal to the current type, then set the value indicated byQuantity
to be the basetype. This is done using thesubtypeOf
axiom from subtype to basetype.When complete, merge to master, issue-16, and issue-2