aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-17 09:44:53 +0300
committerBonfaceKilz2023-11-27 12:29:25 +0300
commit970e118f4db88c145668056d53c27a0ac1029c32 (patch)
tree3a916cbb0ebec93f94abc304ddd49b697afbd654 /gn3/api
parent72955126fa988aceeb18ce434f0cee7b1ae94127 (diff)
downloadgenenetwork3-970e118f4db88c145668056d53c27a0ac1029c32.tar.gz
Add "ex:species" to phenotypes json-ld context.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/metadata.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index 6623508..e001eb2 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -110,6 +110,8 @@ PHENOTYPE_CONTEXT = BASE_CONTEXT | PUBLICATION_CONTEXT | {
"abbreviation": "dct:abbreviation",
"labCode": "gnt:labCode",
"submitter": "gnt:submitter",
+ "ex": "http://example.org/stuff/1.0/",
+ "species": "ex:species",
"contributor": "dct:contributor",
"mean": "gnt:mean",
"locus": "gnt:locus",