-
Notifications
You must be signed in to change notification settings - Fork 2
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
"No possible resolution of perplexity" + no results #399
Comments
Hi! "Perplexity" refers to a data structure in the application which is a clump of mappings that it's an attempting to resolve exhaustively. So it likely means there is no mutually compatible solution among that group of mappings. I will try to run your input and see if I have any further ideas. Thanks for trying out the tool! It's very rough around the edges. |
@OliverHex I think what might be going on is that the ontology is incoherent (i.e., contains unsatisfiable classes) even without adding any of the mappings. I loaded it into Protege to check this. I thought there was better error reporting for this situation, but it might be in a different branch I was working on. Every time boomer tries to add axioms for a mapping, it checks whether any unsatisfiable classes have been found (and so that mapping is rejected). The ontology needs to start off without any unsatisfiable classes. |
Thank you very much. Indeed, I missed this issue. When I have created the "union" ontology with the IDO and the VIDO, I didn't expect that some IRIs were identical between both ontologies. Both ontologies are consistent but each contains its own specific definitions, and when the ontologies are joined in the "union" ontology these definitions might get in conflict. After running ELK on the union ontology, I can see that some classes (such as "drug-based immunosuppression") have super-classes that are disjoint, which leads to the inconsistency. I will search a way to solve this issue (renaming the IRIs before alignment/union/merging, or solving the inconsistencies after creating the union ontology). |
Hi, I have modified the two original ontologies so their union in a single file is not inconsistent anymore. Unfortunately, boomer is still stopping with a "No possible resolution of perplexity" message and does not produce any result. Here is the input data : _BOOMER-INPUT-DATA.zip What could possibly go wrong ? PS : Just for your information, this is the modification done to keep the union ontology consistent : I have suffixed all the class IRIs in the IDO with "_O1" and in the VIDO with "_O2" (while preserving the references) so that they don't merge nor conflict when creating the union ontology. The probabilistic mappings have been recreated accordingly. |
Hi @OliverHex I think the issue is with boomer's expectations of the prefixes file. This is not really explained in the readme. In our typical inputs, the ptable TSV uses curies like A workaround would be to provide an empty prefixes file (actually that confuses boomer so I provided a single irrelevant prefix in the prefixes file). If you do this, it runs successfully. However it ends up with many "singleton" cliques, so I don't think it's really checking what you want to check, which is mainly a consequence of having rewritten the input ontologies to not share an IDs. I think the best approach would be to first fix the logical issues in the previous input ontology and then try the mappings. |
Thank you for helping, it works. Actually, I am heavily relying on the quality of the alignment in order to merge the ontologies. |
Hi, There is something I don't understand in Boomer (maybe a bug ?). When I provide to Boomer the following input data :
Boomer still stops without producing any result and with a message "No possible resolution of perplexity". The reason is that among the newly added entries ending with 0 0 1 0 there are these two entries : And when I assert manually the corresponding two "equivalence axioms" in the union ontology, it becomes inconsistent. The problem is that, in my understanding of how Boomer works, Boomer should test itself if these entries lead to an inconsistency. Am I correct ? The data is here : 20240119-BOOMER_INPUT_DATA.zip Oliver PS : I have found a workaround that consists in not adding in the probabilistic mapping such entry <IRI>_O1 <IRI>_O2 0 0 1 0 if after programmatically asserting the corresponding equivalent axiom in the union ontology between <IRI>_O1 and <IRI>_O2, the union ontology becomes inconsistent (the consistency check is done with ELK). But this is just a partial solution since the whole "Boom" combinatorics is not done. And as I said, up to my knowledge, this job should be done by Boomer (since it is testing all possibilities). Am I right ? |
@OliverHex I think the issue is the probabilities you're using for those lines. |
Hi, thanks for your message. I did these two tests that failed :
But with my workaround, it works. My workaround preprocess the ptable so that :
But I still think that in step 1 I'm doing the job of Boomer (am I not ?) |
Hi, When I say "fail" in the previous message, it means that boomer is stopping with a "No possible resolution of perplexity" message and does not produce any result. Do you think it is a bug in boomer or am I doing something wrong ? |
Hi @OliverHex, sorry for the delay. I suggest trying without any Here is a workflow I've used to look at mappings between GO, Rhea, and EC: https://github.com/geneontology/go-rhea-boom. It leads to issues like this: geneontology/go-ontology#21796 |
Hi,
I have been using boomer for some ontology merging tests and sometimes I get a "No possible resolution of perplexity" message. Then boomer stops without producing any result.
What does it mean exactly and how to solve the issue ?
I am using the binary "boomer-0.2" version.
I have attached the input ptable and ontology (that contains the two ontologies that I try to merge) that leads to this issue.
The ontologies merged are the VIDO (Virus Infectious Disease Ontology) and the IDO (Infectious Disease Ontology).
The ptable file is an arbitrary probabilistic reinterpretation of an alignment generated with LOGMAP (I have converted the logmap mappings into a ptable).
I have also attached the prefixes.yaml file.
This is my command line (launched on Windows 11) :
Thanks for helping
_BOOMER-INPUT-DATA.zip
The text was updated successfully, but these errors were encountered: