diff options
author | Munyoki Kilyungi | 2023-10-19 20:40:08 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-10-19 20:40:16 +0300 |
commit | 8400efa6ff3fd9b1efc73d3a8d94b73d7359d65c (patch) | |
tree | f32b2ea2ee35f32fd3152690a93ad7d49d776283 | |
parent | 8bf0ce9f2f08c6220f848c4e00f7e04018a8d1fb (diff) | |
download | gn-transform-databases-8400efa6ff3fd9b1efc73d3a8d94b73d7359d65c.tar.gz |
Use InbredSetCode instead of Name when creating a trait name.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | examples/phenotype.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/phenotype.scm b/examples/phenotype.scm index 6dd82f2..3165f6e 100755 --- a/examples/phenotype.scm +++ b/examples/phenotype.scm @@ -49,7 +49,7 @@ (gnt:sequence rdfs:range xsd:integer)) (triples (string->identifier "trait" - (field ("CONCAT(IFNULL(InbredSet.Name, PublishXRef.InbredSetId), '_', PublishXRef.Id)" + (field ("CONCAT(IFNULL(InbredSet.InbredSetCode, PublishXRef.InbredSetId), '_', PublishXRef.Id)" Phenotype))) (set rdf:type 'gnc:Phenotype) (set xkos:classifiedUnder @@ -64,7 +64,7 @@ (number->string trait-id) trait-id))) (set skos:altLabel - (field ("CONCAT(IFNULL(InbredSet.Name, PublishXRef.InbredSetId), '_', PublishXRef.Id)" + (field ("CONCAT(IFNULL(InbredSet.InbredSetCode, PublishXRef.InbredSetId), '_', PublishXRef.Id)" Phenotype))) ;; All phenotypes have a post-publication description (set dct:description |