diff options
author | Munyoki Kilyungi | 2024-02-13 13:02:40 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-02-13 13:05:39 +0300 |
commit | 6bb3d17101741a5c4329a07b4a480fa3635be42a (patch) | |
tree | 0114c5b4df46e7250c50780fdc482ab898937dbc | |
parent | 236c6a4ef4dd4f315e961fde24daeb579d6214c2 (diff) | |
download | gn-transform-databases-6bb3d17101741a5c4329a07b4a480fa3635be42a.tar.gz |
Remove more fields from dataset's RDF output.
These are: "Experiment_Type", "Contributors" & "Citation" which are
already in RTF form.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | examples/dataset-metadata.scm | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/examples/dataset-metadata.scm b/examples/dataset-metadata.scm index 2cb3820..5c59530 100755 --- a/examples/dataset-metadata.scm +++ b/examples/dataset-metadata.scm @@ -206,8 +206,6 @@ ;; 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))) @@ -217,16 +215,7 @@ (field ("IFNULL(Datasets.GeoSeries, '')" GeoSeries))))) (if s (ontology 'geoSeries: (match:substring s)) - ""))) - (set dct:creator - (sanitize-rdf-string - (field Datasets Contributors))) - (set dct:isReferencedBy - (sanitize-rdf-string - (regexp-substitute/global - #f "^[Nn]one$" - (field Datasets Citation) - ""))))) + ""))))) ;; These are phenotype datasets that don't have Infofile metadata (define-transformer publishfreeze |