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

template axiom annotations do not work for class assertions on individuals #1156

Closed
Clare72 opened this issue Oct 11, 2023 · 5 comments · Fixed by #1104
Closed

template axiom annotations do not work for class assertions on individuals #1156

Clare72 opened this issue Oct 11, 2023 · 5 comments · Fixed by #1104

Comments

@Clare72
Copy link

Clare72 commented Oct 11, 2023

>A columns to the right of TI columns do not add anything to the output ontology (there is also no error message - just silent failure to add annotation)
using the same template but changing to classes (so SC column for axiom to be annotated) works fine

@jamesaoverton
Copy link
Member

Can you please provide an example?

@Clare72
Copy link
Author

Clare72 commented Oct 11, 2023

neurotransmitter_predictions_template.txt

sorry - had to rename to txt to upload - should be tsv

run using robot template --template neurotransmitter_predictions_template.tsv --prefix "custom: http://n2o.neo/custom/" --output nt_predictions.owl

@Clare72
Copy link
Author

Clare72 commented Oct 11, 2023

It makes all the individuals and class assertions, but no annotations on the class assertions
If I change the type of the three individuals to owl:Class and TI to SC, then axiom annotations are added correctly

@jamesaoverton
Copy link
Member

I ran your example and got the behaviour you describe: rdf:type axioms for individuals but no annotations on them. I guess this should work, although I can't remember anyone trying it before. I looked at the code an did not see an obvious problem.

@jamesaoverton
Copy link
Member

This problem has the same root cause as #1133, and should be fixed by #1104.

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

Successfully merging a pull request may close this issue.

2 participants