Re: Error while loading ontologies

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Error-while-loading-ontologies-tp2151p2157.html

Hi,

For 1. http://purl.obolibrary.org/obo/doid.owl  , the problem is that the ontology imports http://purl.obolibrary.org/obo/doid/obo/ext.owl , which is not in a format that Owlready can read (RDF/XML, OWL/XML or N-Triples).

You need to download a local copy, translate it in one of these formats (e.g. with Protégé) and put it in directory listed in onto_path.

For 2. http://purl.obolibrary.org/obo/clo.owl , the ontology seems to contain an error in that line (10986):

        <rdfs:label rdf:datatype="&xsd;short">永生的乳腺衍生细胞系细胞</rdfs:label>

"永生的乳腺衍生细胞系细胞" is associated to the "short" datatype but it is not a number. Owlready is thus unable to parse that integer number.

Jiba