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

In toy owl file with subclass(B,A), reasoner infers Equivalent(Nothing, Thing) #24

Open
iamcrowd opened this issue Mar 15, 2022 · 3 comments

Comments

@iamcrowd
Copy link

I loaded a toy ontology with just a subclass.
JFact shows me EquivalentClasses(owl:Nothing owl:Thing )
when computing the inferences.
I am using the class InferredEquivalentClassAxiomGenerator()

        OWLReasoner reasoner = reasonerFactoryFact.createReasoner(this.ontology);
        this.gens.add(new InferredEquivalentClassAxiomGenerator());
        InferredOntologyGenerator iog = new InferredOntologyGenerator(reasoner, this.gens);
        OWLDataFactory df = OWLManager.getOWLDataFactory();
        iog.fillOntology(df, this.ontology);
@ignazio1977
Copy link
Contributor

Can you add the toy ontology?

@iamcrowd
Copy link
Author

iamcrowd commented Mar 15, 2022

Done! thanks

German

1a.owl.txt

@iamcrowd
Copy link
Author

I also tried with the OpenlletReasoner on the very same owl and I got the right inferences

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