Closed sternk closed 8 years ago
Comment by maeder Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/1230#comment:2
This issue is fixed by spechub/Hets@0b8595f7a0662ff5e1f7adaf53029213cf43c4d3, but I have no fix yet for #1214 that turns up now.
Comment by maeder Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/1230#comment:3
This fix does not work for #1226, because there the item name http://develop.ontohub.org/sandbox/pizza.owl does not match the (unique) ontology name http://www.co-ode.org/ontologies/pizza/pizza.owl A different fix is given by spechub/Hets@ad7a1aea1e516e89649497daf9ed8e165eac352d.
With e.g http://ontohub.org/fois2016/ZFA_CCONT.dol, I get
*** Error:
non-unique name within imported library
'<http://livercancer.imbi.uni-heidelberg.de/ccont>'
hets: user error (Stopped due to errors)
The same error seems to appear whenever an imported OWL ontology has imports itself.
@cmaeder, do you have time to have a look at this? Would be much appreciated!
I get:
maeder@lati:~/Hets$ ./hets -g http://ontohub.org/fois2016/ZFA_CCONT.dol
Analyzing file http://ontohub.org/fois2016/ZFA_CCONT.dol as library ZFA_CCONT
Downloading <http://ontohub.org/fois2016/CCONT> ...
Analyzing library <http://ontohub.org/iswc2014/CCONT.owl_module.owl>
logic OWL
Analyzing spec <http://ontohub.org/iswc2014/CCONT.owl_module.owl>
... loaded <http://ontohub.org/fois2016/CCONT>
Downloading <http://ontohub.org/fois2016/ZFA> ...
Analyzing library <http://ontohub.org/iswc2014/ZFA.owl_module.owl>
logic OWL
Analyzing spec <http://ontohub.org/iswc2014/ZFA.owl_module.owl>
... loaded <http://ontohub.org/fois2016/ZFA>
logic OWL
Analyzing alignment ZFA_CCONT?ZFA2CCONT
hets: non-unique symbol match: [Entity {label = Nothing, entityKind = Class, cutIRI = QN {namePrefix = "obo", localPart = "ZFA_0009031", iriType = Abbreviated, expandedIRI = "http://purl.obolibrary.org/obo/ZFA_0009031", iriPos = nullRange}}]
[]
What about this: http://ontohub.org/fois2016/ZFA_UBERON.dol?
Could you please give me the version of hets you are using?
PS: this is a large file, so I had to increase stack.
I'm using the master branch
maeder@lati:~/Hets$ ./hets --version
version of hets: v0.99, 1452515368
maeder@lati:~/Hets$ ./hets -g http://ontohub.org/fois2016/ZFA_UBERON.dol
Analyzing file http://ontohub.org/fois2016/ZFA_UBERON.dol as library ZFA_UBERON
Downloading <http://ontohub.org/fois2016/UBERON> ...
Analyzing library <http://ontohub.org/iswc2014/UBERON.owl_module.owl>
logic OWL
Analyzing spec <http://ontohub.org/iswc2014/UBERON.owl_module.owl>
... loaded <http://ontohub.org/fois2016/UBERON>
Downloading <http://ontohub.org/fois2016/ZFA> ...
Analyzing library <http://ontohub.org/iswc2014/ZFA.owl_module.owl>
logic OWL
Analyzing spec <http://ontohub.org/iswc2014/ZFA.owl_module.owl>
... loaded <http://ontohub.org/fois2016/ZFA>
Analyzing alignment ZFA_UBERON?ZFA2UBERON
*** Error: symbolsOf1: Logic OWL expected, but CASL found
hets: user error (Stopped due to errors)
I'm working on https://github.com/spechub/Hets/tree/1564_improve_analysis_of_alignments, which should not have modified the library imports in HETS.
About the ZFA_UBERON file, the current logic should be set to OWL before the error occurs. Ontohub has a bug that prevents me from pushing the change there.
$ ./hets -g +RTS -K1G -RTS ~/repos/fois2016/ZFA_UBERON.dol
Analyzing file /home/mcodescu/repos/fois2016/ZFA_UBERON.dol as library ZFA_UBERON
Downloading <http://ontohub.org/iswc2014/UBERON> ...
Analyzing library <http://purl.obolibrary.org/obo/uberon/nbo_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/nbo_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/cl_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/cl_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/references/references.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/references/references.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/ncbitaxon_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/ncbitaxon_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/ro_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/ro_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/pato_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/pato_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/go_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/go_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/pr_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/pr_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/envo_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/envo_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/chebi_import.owl>
logic OWL
Analyzing spec <http://purl.obolibrary.org/obo/uberon/chebi_import.owl>
Analyzing library <http://purl.obolibrary.org/obo/uberon/ext.owl>
logic OWL
Analyzing from <http://purl.obolibrary.org/obo/uberon/pr_import.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/nbo_import.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/chebi_import.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/go_import.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/cl_import.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/references/references.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/ro_import.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/pato_import.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/envo_import.owl>
Analyzing from <http://purl.obolibrary.org/obo/uberon/ncbitaxon_import.owl>
Analyzing spec <http://purl.obolibrary.org/obo/uberon/ext.owl>
... loaded <http://ontohub.org/iswc2014/UBERON>
*** Error:
non-unique name within imported library
'<http://purl.obolibrary.org/obo/uberon/ext.owl>'
hets: user error (Stopped due to errors)
mcodescu@nuance:~/repos/HETS$ ./hets --version
version of hets: v0.99, 1452515368
The last error I received when working on the master branch.
Now the logic was set to OWL.
Works for me (but I'm still waiting for the dg to pop up)
maeder@lati:~/Hets$ ./hets -g http://ontohub.org/fois2016/ZFA_UBERON.dol
Analyzing file http://ontohub.org/fois2016/ZFA_UBERON.dol as library ZFA_UBERON
Downloading <http://ontohub.org/fois2016/UBERON> ...
Analyzing library <http://ontohub.org/iswc2014/UBERON.owl_module.owl>
logic OWL
Analyzing spec <http://ontohub.org/iswc2014/UBERON.owl_module.owl>
... loaded <http://ontohub.org/fois2016/UBERON>
Downloading <http://ontohub.org/fois2016/ZFA> ...
Analyzing library <http://ontohub.org/iswc2014/ZFA.owl_module.owl>
logic OWL
Analyzing spec <http://ontohub.org/iswc2014/ZFA.owl_module.owl>
... loaded <http://ontohub.org/fois2016/ZFA>
logic OWL
Analyzing alignment ZFA_UBERON?ZFA2UBERON
Analyzing spec ZFA_UBERON?ZFA2UBERON_c
The dg won't pop up, it's a bug I'm trying to fix, but this is for me to solve.
I have sent you two files that cause this non-unique name within imported library error when the ontologies are imported from a different Ontohub repository.
With your file ZFA_UBERON.dol` I can reproduce your above output.
./hets -g http://purl.obolibrary.org/obo/uberon/ext.owl -i owl
consumes all my RAM (> 6 GB) without ever showing a DG. Maybe all imports contribute a DG to the library uberon/ext.owl
an make it thus non-unique. Has uberon/ext.owl
a cycle?
http://ontohub.org/sandbox/import.dol is a much smaller file that reproduces the behavior. Will try to follow your hint from the email. Many thanks for your help!
Could you try to merge in my branch https://github.com/spechub/Hets/tree/1230-unique_name?
Reported by mcodescu and assigned to maeder Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/1230
With the ontology from http://develop.ontohub.org/bioportal/OntoVIP.owl, I get