aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-17 12:45:34 +0300
committerBonfaceKilz2023-11-27 12:29:25 +0300
commit143443fc8cbc58ef31c4595a000d374491c11fc9 (patch)
tree391ab4722ad3c1f6a8202e562be6e1fb190d5272 /gn3/api
parent970e118f4db88c145668056d53c27a0ac1029c32 (diff)
downloadgenenetwork3-143443fc8cbc58ef31c4595a000d374491c11fc9.tar.gz
Add "gnt:abbreviation" and "ex:inbredSet" to PHENOTYPE_CONTEXT.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/metadata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index e001eb2..ac582ed 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -107,11 +107,12 @@ PHENOTYPE_CONTEXT = BASE_CONTEXT | PUBLICATION_CONTEXT | {
"trait": "rdfs:label",
"altName": "rdfs:altLabel",
"description": "dct:description",
- "abbreviation": "dct:abbreviation",
+ "abbreviation": "gnt:abbreviation",
"labCode": "gnt:labCode",
"submitter": "gnt:submitter",
"ex": "http://example.org/stuff/1.0/",
"species": "ex:species",
+ "group": "ex:inbredSet",
"contributor": "dct:contributor",
"mean": "gnt:mean",
"locus": "gnt:locus",