minting uri for enum
From LinkML meeting on 02/26/2021
Currently, the uri for an enum is (or seems to be) minted in the form < ..prefix../<enum>; e.g. <https://w3id.org/synbio/3>
For cases in which a dataset may contain the same enum in multiple fields, do we want the enum uri to have multiple meanings? For example:
enums:
species_enum:
permissible_values:
#Aequorea.victoria:
1:
description: Aequorea victoria
meaning: NCBITaxon:61303
#Agrobacterium.tumefaciens:
2:
description: Agrobacterium tumefaciens
meaning: NCBITaxon:365
3:
#Arabidopsis.thaliana:
description: Arabidopsis thaliana
meaning: NCBITaxon:3702
category_enum:
permissible_values:
1:
description: GOI
meaning: synbio:GOI
2:
description: antibiotic resistance
meaning: synbio:antibiotic-resistance
3:
description: biosynthetic
meaning: synbio:biosynthetic
produces
<https://w3id.org/synbio/3>
skos:definition "Arabidopsis thaliana", "biosynthetic" ;
meta:meaning <https://w3id.org/synbio/NCBITaxon:3702>, <synbio:biosynthetic> .
In one sense this is fine if we know that skos:definition "Arabidopsis thaliana", "biosynthetic" is valid when querying for data linked via the category slot. But do we want to have more control in certain cases? E.g.:
- allow us to specify a particular uri for an enum
- allow use specify a uri "scope" for a group of enums
cc @hsolbrig @cmungall @deepakunni3 @sierra-moxon
Cant check just now but there us another issue about enum uris I think harold is working on that now
On Fri, Feb 26, 2021, 14:32 Bill Duncan [email protected] wrote:
From LinkML meeting on 02/26/2006
Currently, the uri for an enum is (or seems to be) minted in the form < ..prefix../
; e.g. https://w3id.org/synbio/3 For cases in which a dataset may contain the same enum in multiple fields, do we want the enum uri to have multiple meanings? For example:
enums: species_enum: permissible_values: #Aequorea.victoria: 1: description: Aequorea victoria meaning: NCBITaxon:61303 #Agrobacterium.tumefaciens: 2: description: Agrobacterium tumefaciens meaning: NCBITaxon:365 3: #Arabidopsis.thaliana: description: Arabidopsis thaliana meaning: NCBITaxon:3702 category_enum: permissible_values: 1: description: GOI meaning: synbio:GOI 2: description: antibiotic resistance meaning: synbio:antibiotic-resistance 3: description: biosynthetic meaning: synbio:biosynthetic
produces
https://w3id.org/synbio/3 skos:definition "Arabidopsis thaliana", "biosynthetic" ; meta:meaning https://w3id.org/synbio/NCBITaxon:3702, synbio:biosynthetic .
In one sense this is fine if we know that skos:definition "Arabidopsis thaliana", "biosynthetic" is valid when querying for data linked via the category slot. But do we want to have more control in certain cases? E.g.:
- allow us to specify a particular uri for an enum
- allow use specify a uri "scope" for a group of enums
cc @hsolbrig https://github.com/hsolbrig @cmungall https://github.com/cmungall @deepakunni3 https://github.com/deepakunni3 @sierra-moxon https://github.com/sierra-moxon
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/biolink/biolinkml/issues/389, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMMOIXMGYENSTWNW6Q65LTBAOQ5ANCNFSM4YJGZTMQ .
I think this is fixed?
Can this be closed?
I don't know if this has been addressed ... I haven't tested :(
We're trying to clean up open issues in LinkML, so I'll close, but please reopen if you test and find that it's not fixed.