aboutsummaryrefslogtreecommitdiff
path: root/examples/dump-phenotype.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dump-phenotype.scm')
-rwxr-xr-xexamples/dump-phenotype.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/dump-phenotype.scm b/examples/dump-phenotype.scm
index 8d04a80..203b2f3 100755
--- a/examples/dump-phenotype.scm
+++ b/examples/dump-phenotype.scm
@@ -79,6 +79,13 @@
(field ("CONCAT(IFNULL(InbredSet.Name, PublishXRef.InbredSetId), '_', PublishXRef.Id)"
Phenotype)))
(set rdf:type 'gnc:phenotype)
+ (set gnt:belongsToInbredSet
+ (string->identifier
+ "inbredSet" (field InbredSet Name)
+ #:separator ""
+ #:proc string-capitalize-first))
+ (set gnt:traitName
+ (field PublishXRef Id))
(set rdfs:label
(field ("CONCAT(IFNULL(InbredSet.Name, PublishXRef.InbredSetId), '_', PublishXRef.Id)"
Phenotype)))