Skip to content
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

Annotate axioms in output ontology with prior probabilities #147

Open
cmungall opened this issue Feb 1, 2021 · 2 comments
Open

Annotate axioms in output ontology with prior probabilities #147

cmungall opened this issue Feb 1, 2021 · 2 comments

Comments

@cmungall
Copy link
Contributor

cmungall commented Feb 1, 2021

E.g. if the txt output is

A:1 ProperSubClassOf B:1        (most probable) 0.7
A:2 ProperSuperClassOf B:2      (most probable) 0.7
A:3 EquivalentTo B:3    (most probable) 0.7
A:4 SiblingOf B:4       (most probable) 0.7

then add annotations to axioms 1-3. TBD: predicate for probability? biollink?

Also:

currently no axiom is emitted for 4. Can we emit an annotation assertion? It is useful to be explicit about what was not inferred

Also:

Annotations on ontology:

  • ontology ID. Get from user?
  • metadata about the input ontologies, parameters, steps. Consider using a full PROV model. But even just some rdfs:comments would be awesome
@balhoff
Copy link
Member

balhoff commented Feb 1, 2021

I don't think it suits your use case, but just FYI you can output axioms for 4 (and the "proper" aspect of 1 and 2) by using an undocumented option --output-internal-axioms=true. This includes the generated disjoint siblings.

@cmungall
Copy link
Contributor Author

cmungall commented Feb 2, 2021

Thanks, I can see that being useful for doing things like debugging and generating explanations. But yes just a direct annotation axiom is what is best here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants