robot icon indicating copy to clipboard operation
robot copied to clipboard

robot reason --annotate-inferred-axioms true annotates with string

Open shawntanzk opened this issue 3 years ago • 4 comments

when using robot reason --annotate-inferred-axioms true, we end up with this axiom oboInOwl:is_inferred "true"^^xsd:string Should it be ^^xsd:boolean instead?

shawntanzk avatar Mar 11 '22 16:03 shawntanzk

What does the OBO in OWL specification say it should be?

jamesaoverton avatar Mar 11 '22 16:03 jamesaoverton

[Term]
id: TMP:0000072
name: A
is_a: TMP:0000073 {is_inferred="true"} ! B

and

[Term]
id: TMP:0000072
name: A
is_a: TMP:0000073 {is_inferred=true} ! B

Both convert to:

SubClassOf(Annotation(<http://www.geneontology.org/formats/oboInOwl#is_inferred> "true"^^xsd:string) <http://purl.obolibrary.org/obo/TMP_0000072> <http://purl.obolibrary.org/obo/TMP_0000073>)

matentzn avatar Mar 11 '22 16:03 matentzn

(I guess you all heard the sigh :)

matentzn avatar Mar 11 '22 16:03 matentzn

If forgot this mapped to an OBO feature.

balhoff avatar Mar 11 '22 16:03 balhoff

Closing this in favour of https://github.com/owlcollab/oboformat/issues/142

matentzn avatar Aug 05 '23 16:08 matentzn