diff options
author | Munyoki Kilyungi | 2023-06-06 14:42:14 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-06-12 19:06:36 +0300 |
commit | 412825b115f466ceea551b18221350140984c6d1 (patch) | |
tree | 19dd5af9b1b61ed05f0e53edf81dd90374e018b4 /examples/dump-dataset-metadata.scm | |
parent | 7121155871b500bf49e4f1ffa13ed66601acff8b (diff) | |
download | gn-transform-databases-412825b115f466ceea551b18221350140984c6d1.tar.gz |
Add publicationTitle to dataset dump
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-dataset-metadata.scm')
-rwxr-xr-x | examples/dump-dataset-metadata.scm | 5 |
1 files changed, 5 insertions, 0 deletions
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)) |