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
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:
http://purl.obolibrary.org/obo/cl/releases/2024-05-15/cl.owl
into Protege 5.6.4I also reproduced this in code using, e.g.,
reasoner.getSubClasses(expression, false)
The same issue seems to apply to
getSuperClasses
.