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

getDescriptionLogicName does not return DL names #1144

Open
ckindermann opened this issue Jun 22, 2024 · 0 comments
Open

getDescriptionLogicName does not return DL names #1144

ckindermann opened this issue Jun 22, 2024 · 0 comments

Comments

@ckindermann
Copy link

ckindermann commented Jun 22, 2024

Hi,

the implementation of getDesriptionLogicName currently does not return DL names. Instead, a concatenation of the set of constructors used in the ontology is returned (see here in version 4 and here in version 5).

For example, the current output on http://purl.obolibrary.org/obo/ro.owl is RRESTRCUCINTUNIVRESTREROIF(D).

Using

DLExpressivityChecker checker = new DLExpressivityChecker(onts);
Collection<Languages> languages = checker.expressibleInLanguages();

as suggested in a workaround, the language can be determined to be ALCROIFD. A downside of this workaround is that the string representation of Languages does not follow conventions such as placing D in brackets.

Also, http://purl.obolibrary.org/obo/ro.owl contains transitive property axioms. So, ALCROIFD is not correct. It should be (at least) SROIF(D).

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