From 412825b115f466ceea551b18221350140984c6d1 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 6 Jun 2023 14:42:14 +0300 Subject: Add publicationTitle to dataset dump Signed-off-by: Munyoki Kilyungi --- examples/dump-dataset-metadata.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'examples/dump-dataset-metadata.scm') diff --git a/examples/dump-dataset-metadata.scm b/examples/dump-dataset-metadata.scm index 5b57890..cac9a38 100755 --- a/examples/dump-dataset-metadata.scm +++ b/examples/dump-dataset-metadata.scm @@ -112,6 +112,7 @@ (gn:geoSeries rdfs:range rdfs:Literal) (gn:name rdfs:range rdfs:Literal) (gn:title rdfs:range rdfs:Literal) + (gn:publicationTitle rdfs:range rdfs:Literal) (gn:specifics rdfs:range rdfs:Literal) (gn:datasetGroup rdfs:range rdfs:Literal) (gn:aboutCases rdfs:range rdfs:Literal) @@ -173,6 +174,10 @@ (regexp-substitute/global #f "^[Nn]one$" (field InfoFiles Title) + (set gn:publicationTitle + (regexp-substitute/global + #f "^[Nn]one$" + (field Datasets PublicationTitle) "")) (set gn:specifics (sanitize-rdf-string (field InfoFiles Specifics))) (set gn:datasetGroup (field Datasets DatasetName DatasetGroup)) -- cgit v1.2.3