From 8400efa6ff3fd9b1efc73d3a8d94b73d7359d65c Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 19 Oct 2023 20:40:08 +0300 Subject: Use InbredSetCode instead of Name when creating a trait name. Signed-off-by: Munyoki Kilyungi --- examples/phenotype.scm | 4 ++-- 1 file 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 -- cgit v1.2.3