owlcs / owlapi

OWL API main repository
821 stars 315 forks source link

Cannot load the ontology DOLCE from a file using the API. It never stop. #1058

Closed iamcrowd closed 2 years ago

iamcrowd commented 2 years ago

I also attach the fil dul.n3.zip e

iamcrowd commented 2 years ago

This is the last message logged:

14:55:26.553 [main] DEBUG org.semanticweb.owlapi.rdf.rdfxml.parser.TripleLogger - Loaded OntologyID(OntologyIRI(http://www.ontologydesignpatterns.org/ont/dul/DUL.owl) VersionIRI())

ignazio1977 commented 2 years ago

Can you share the code? The following loads the ontology in seconds, and finds 1500 axioms in it.

    OWLOntology o = OWLManager.createOWLOntologyManager()
        .loadOntologyFromOntologyDocument(new File("/Users/ignazio/Downloads/dul.n3"));
    System.out.println("LoadDolce.main() " + o.getAxiomCount());