opencaesar / oml

Ontological Modeling Language (OML)
https://opencaesar.github.io/oml/
Apache License 2.0
23 stars 4 forks source link

Add support for qualified object property cardinality restrictions. #65

Closed NicolasRouquette closed 3 years ago

NicolasRouquette commented 3 years ago

User Story

As an ontologist, I would like support for qualified object property cardinality restrictions so that I can represent expressive vocabularies concisely..

Detailed Description

Description providing additional details and context.

Consider the example from this paper: http://dx.doi.org/10.1016/j.artint.2009.06.003

OML lacks the expressivity to encode the axioms (4-18) on page 1283:

Screenshot_20210227_170116

Proposed OML syntax:

Add to OML restriction syntax support for specifying an optional class expression.

For example:

  concept Index_finger :> Finger [  
    restricts relation hasPart to max 1 Distal_phalanx_oif // (13)
    restricts relation hasPart to max 1 Middle_phalanx_oif // (14)
    restricts relation hasPart to max 1 Proximal_phalanx_oif // (15)
  ]

Acceptance Criteria

Sub-task List

NicolasRouquette commented 3 years ago

this is already supported in oml 0.8.