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

List properties for which the domain includes a given class. #14

Open
lolive opened this issue Jul 23, 2023 · 0 comments
Open

List properties for which the domain includes a given class. #14

lolive opened this issue Jul 23, 2023 · 0 comments

Comments

@lolive
Copy link

lolive commented Jul 23, 2023

Which code sounds like the quickest way to retrieve the list of object properties and data properties whose domain contains a given class?
Is it a matter of iterating all properties, ask the reasoner for getObjectPropertyDomains(prop), and test whether the given class is in the returned collection?
Or is there a more direct way?

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