Custom annotations #709
Unanswered
janik-martin
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Can I just clarify, you are seeing this behavior in gen-owl?
…On Wed, Apr 20, 2022 at 1:10 AM janik-martin ***@***.***> wrote:
Hi, I was trying to add my own custom annotations to some of my classes.
Something like:
...
default_prefix: moucmn
...
classes:
sample class:
...
annotations:
moucmn:my_annotation:
tag: moucmn:my_annotation
value: some value
but it skips the export with message:
INFO:root:Ignoring namespace error: Unknown CURIE prefix: moucmn
I found this same approach with Biolink Model
<https://biolink.github.io/biolink-model/> which is a huge schema (and
source of some advanced features knowledge for me :)
For example:
...
default_prefix: biolink
...
subclass of:
is_a: related to at concept level
...
annotations:
biolink:canonical_predicate:
tag: biolink:canonical_predicate
value: true
biolink:opposite_of:
tag: biolink:opposite_of
value: biolink:superclass of
I am not sure if I am doing something wrong, or this is not possible with
linkml and biolink is an exception. Note that using 'standard' well known
annotations works fine..
Thanks for any suggestions.
—
Reply to this email directly, view it on GitHub
<#709>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMMOKTNPXD5PLYHHEHYPTVF63WZANCNFSM5T3GGT3A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I was trying to add my own custom annotations to some of my classes. Something like:
but it skips the export with message:
INFO:root:Ignoring namespace error: Unknown CURIE prefix: moucmn
I found this same approach with Biolink Model which is a huge schema (and source of some advanced features knowledge for me :)
For example:
I am not sure if I am doing something wrong, or this is not possible with linkml and biolink is an exception. Note that using 'standard' well known annotations works fine..
Thanks for any suggestions.
Beta Was this translation helpful? Give feedback.
All reactions