aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-01-08 16:37:56 +0300
committerMunyoki Kilyungi2024-01-08 16:37:56 +0300
commit6f8321b34311ea2d17d75d53bbd46ea1d88699f0 (patch)
treeff3296f7337a23f0c11058b209566b10e071f147
parenta32bc68c48443eb122c318285056d611edd56e40 (diff)
downloadgn-transform-databases-6f8321b34311ea2d17d75d53bbd46ea1d88699f0.tar.gz
Add InfoFiles.Experiment_Type metadata.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/dataset-metadata.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/dataset-metadata.scm b/examples/dataset-metadata.scm
index f340c93..fba04ce 100755
--- a/examples/dataset-metadata.scm
+++ b/examples/dataset-metadata.scm
@@ -142,6 +142,10 @@
(gnt:hasCaseInfo rdfs:label "About Case")
(gnt:hasCaseInfo a owl:ObjectProperty)
(gnt:hasCaseInfo skos:definition "Information about the cases used in this platform")
+ (gnt:hasExperimentType rdfs:domain dcat:Dataset)
+ (gnt:hasExperimentType rdfs:label "Experiment Type Metadata")
+ (gnt:hasExperimentType a owl:ObjectProperty)
+ (gnt:hasExperimentType skos:definition "Information about the experiment type")
(gnt:hasAcknowledgement rdfs:domain dcat:Dataset)
(gnt:hasAcknowledgement rdfs:label "Acknowledgement")
(gnt:hasAcknowledgement a owl:ObjectProperty)
@@ -201,6 +205,8 @@
;; If AvgMethodName is NULL, assume N/A.
(if (string-blank? (field AvgMethod Name AvgMethodName))
"N/A" (field AvgMethod Name AvgMethodName))))
+ (set gnt:hasExperimentType
+ (sanitize-rdf-string (field InfoFiles Experiment_Type)))
(set gnt:usesPlatform
(string->identifier "platform"
(field GeneChip Name GeneChip)))