|
From: Shyama <shy...@gm...> - 2021-08-20 08:03:41
|
Hi Can anyone explain why a function has not been defined for getting ranges/Literals of a *data property* through reasoner? Example: We can get all domains and ranges (explicit and inferred ) through a reasoner. - reasoner.getObjectPropertyDomains(obj) - reasoner.r.getObjectPropertyRanges(obj) We can get all domains of a Data Property, but I could not find a function to get ranges/Literals of a data property, However, we can get explicit ranges of a data property from ontology.getDataPropertyRangeAxioms(obj). it is not sufficient for my program. I want to get inferred ranges/Literal as well - reasoner.getDataPropertyDomains(obj) - *reasoner.getDataPropertyLiterial....... ????? or similar function could not be found* Thank You -- Shyama Wilson Department of Computer Science and Informatics Uva Wellassa University: www.uwu.ac.lk Badulla, Sri Lanka email: sh...@uw... <am...@uw...> |