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

'direct' subclasses are not included when 'all' subclasses are requested for anonymous class expressions #70

Open
balhoff opened this issue Jun 22, 2024 · 1 comment

Comments

@balhoff
Copy link

balhoff commented Jun 22, 2024

Using ELK 0.6.0, if you submit a DL query using an anonymous class expression, 'direct' subclasses (direct=true) are not included when 'all' subclasses (direct=false) are requested.

To reproduce:

  • Load http://purl.obolibrary.org/obo/cl/releases/2024-05-15/cl.owl into Protege 5.6.4
  • Select ELK 0.6.0 and start the reasoner
  • In the DL query tab, query "part of some hippocampal granule cell"
  • With the 'Subclasses' result checked, there are no results.
  • With the 'Direct subclasses' result checked, there is one result: hippocampal mossy fiber

I also reproduced this in code using, e.g., reasoner.getSubClasses(expression, false)

The same issue seems to apply to getSuperClasses.

@balhoff balhoff changed the title incorrect results with DL queries using anonymous class expressions 'direct' subclasses are not included when 'all' subclasses are requested for anonymous class expressions Jun 22, 2024
@ykazakov
Copy link
Member

@balhoff thanks for the report!
I reproduced the problem for pizza.owl and DL query hasTopping some MeatTopping.

Screenshot 2024-06-23 at 18 03 38

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

2 participants