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

Inferred statements #25

Open
reckart opened this issue Jul 2, 2017 · 2 comments
Open

Inferred statements #25

reckart opened this issue Jul 2, 2017 · 2 comments
Milestone

Comments

@reckart
Copy link
Contributor

reckart commented Jul 2, 2017

I have refined an RDF bean which is meant to retrieve all class definitions from an OWL/RDFS ontology. That resources are classes is not always explicitly defined in the ontologies that I am trying with but rather an output of an inferencer. However, whenever RDFBeans is retrieving statements, it excludes inferred ones, e.g. :

statements = conn.getStatements(resource, predicate, null, false);

Is there are reason for excluding inferred statements?

@cyberborean
Copy link
Owner

Hi,

I think that the only reason is that it has never been tested with an inferencer. If it works, I see no problem with including inferred statements by default.

@cyberborean cyberborean added this to the 2.3 milestone Jul 5, 2017
@reckart
Copy link
Contributor Author

reckart commented Jul 5, 2017

In some cases it is useful, e.g. when querying classes. I'll submit a pull request later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants