-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello. I have tried to normalize the ontology found here but I get this error:
de.tudresden.inf.lat.jcel.owlapi.translator.TranslationException: de.tudresden.inf.lat.jcel.owlapi.translator.TranslationException: Object cannot be translated: 'ObjectUnionOf(<http://purl.obolibrary.org/obo/UBERON_0001299> <http://purl.obolibrary.org/obo/UBERON_0006653>)'.
I also have a modified version of the previous ontology that can be downloaded from here. In this case I get this error:
de.tudresden.inf.lat.jcel.owlapi.translator.de.tudresden.inf.lat.jcel.owlapi.translator.TranslationException: de.tudresden.inf.lat.jcel.owlapi.translator.TranslationException: The translation map is incomplete. Item id was not found: 'https://github.com/obophenotype/uberon/wiki/Inferring-part-of-relationships'
This is. my code:
from de.tudresden.inf.lat.jcel.owlapi.main import JcelReasoner
from org.semanticweb.owlapi.apibinding import OWLManager
ont_manager = OWLManager.createOWLOntologyManager()
ontology = ont_manager.loadOntologyFromOntologyDocument(java.io.File("ontology_path"))
jreasoner = JcelReasoner(ontology, False)
The code is written in Python but I am using JPype to interface with Java.
Would you please help me to figure out what is happening?
Metadata
Metadata
Assignees
Labels
No labels