aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2026-02-07 18:18:14 +0300
committerMunyoki Kilyungi2026-02-07 18:18:14 +0300
commite2f80ce33b2481ba8701c5c134a2b3fc1086c29a (patch)
tree8655cc4bada6c11d2c48703a54e1c621d69ea27c
parent89b71beb37f37da909b96e095190c6ff37b7a4d2 (diff)
downloadgn-transform-databases-e2f80ce33b2481ba8701c5c134a2b3fc1086c29a.tar.gz
Set phenotype name to datasetname+PublishXRef.Id.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/phenotype.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/phenotype.scm b/examples/phenotype.scm
index a116ac3..37bbd59 100755
--- a/examples/phenotype.scm
+++ b/examples/phenotype.scm
@@ -84,8 +84,8 @@
(set rdf:type 'gnc:phenotype_trait)
(set gnt:has_strain (string->identifier "set" (field InbredSet Name InbredSetName) #:separator "_"))
(set owl:equivalentClass
- (field ("CONCAT(IFNULL(InbredSet.InbredSetCode, PublishXRef.InbredSetId), '_', PublishXRef.Id)"
- Phenotype)))
+ (field ("CONCAT(PublishFreeze.Name, '_', PublishXRef.Id)"
+ PublishFreeze)))
(set dcat:distribution
(string->symbol
(format #f "gnd:~a"