Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for axiom annotations #91

Open
NicolasRouquette opened this issue Jan 19, 2022 · 0 comments
Open

Support for axiom annotations #91

NicolasRouquette opened this issue Jan 19, 2022 · 0 comments

Comments

@NicolasRouquette
Copy link
Member

OWL2-DL allows axioms to have zero or more annotations, see:
https://www.w3.org/TR/owl2-syntax/#Annotations_of_Ontologies.2C_Axioms.2C_and_other_Annotations

There is no such support in OML.

In particular, this prevents using annotations for modeling quantities and units.

currently, we can only annotate quantities/units on the definition of a scalar property, e.g:

https://github.com/NicolasRouquette/metrology-vocabularies/blob/vim4/src/examples/oml/example.org/some-domain.oml

  @rdfs:label "mass.basic"
  @vim4-annotations:generalQuantity "http://iso.org/iso-80000-4.1#mass"
  @vim4-annotations:measurementUnit "http://iso.org/iso-80000-4.1#kilogram"
  scalar property mass.basic [ domain Component range xsd:double functional ]

But we cannot annotate value assertions:
https://github.com/NicolasRouquette/metrology-vocabularies/blob/vim4/src/examples/oml/example.org/test-property-values.oml

  ci camera1 : some-domain:Component 
  [ some-domain:name "camera1" 
    some-domain:mass.basic "0.31"^^xsd:double
    some-domain:mass.allocation "0.5"^^xsd:double ]

It would be useful to have syntax support for annotating value assertions, e.g. :

  ci camera1 : some-domain:Component 
  [ some-domain:name "camera1"
    @vim4-annotations:measurementUnit "http://iso.org/iso-80000-4.1#kilogram"
    some-domain:mass.basic "0.31"^^xsd:double
    @vim4-annotations:measurementUnit "http://iso.org/iso-80000-4.1#kilogram"
    some-domain:mass.allocation "0.5"^^xsd:double ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant