From 6bb3d17101741a5c4329a07b4a480fa3635be42a Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 13 Feb 2024 13:02:40 +0300 Subject: 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 --- examples/dataset-metadata.scm | 13 +------------ 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3