From e615b5d8319f70a54ac27545855c71ffd08eee65 Mon Sep 17 00:00:00 2001 From: Adrian Pohl Date: Mon, 6 Jan 2025 14:56:40 +0100 Subject: [PATCH] Add missing language tag ..when automatically creating the classification to avoid errors in SkoHub shape validation process. --- app/SpatialToSkos.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/SpatialToSkos.java b/app/SpatialToSkos.java index 5148591..5061e8c 100644 --- a/app/SpatialToSkos.java +++ b/app/SpatialToSkos.java @@ -47,7 +47,7 @@ * Generate a SKOS representation from the internal spatial classification data * (which itself originates from a SKOS file, but is enriched from different * sources, see https://github.com/hbz/lobid-vocabs/issues/85) - * + * * @author Fabian Steeg (fsteeg) * */ @@ -114,7 +114,7 @@ private static void initCsv() { /** * Write a SKOS turtle file for nwbib-spatial to the conf/ folder - * + * * @param args Not used */ public static void main(String[] args) { @@ -220,7 +220,7 @@ private static Resource addConceptScheme(Model model) { model.createResource( "http://creativecommons.org/publicdomain/zero/1.0/")) .addProperty(DCTerms.description, - "This controlled vocabulary for areas in Northrhine-Westphalia was created for use in the North Rhine-Westphalian bibliography. The initial transformation to SKOS was carried out by Felix Ostrowski for the hbz.") + "This controlled vocabulary for areas in Northrhine-Westphalia was created for use in the North Rhine-Westphalian bibliography. The initial transformation to SKOS was carried out by Felix Ostrowski for the hbz.", "en") .addProperty(DCTerms.issued, "2014-01-28") .addProperty(DCTerms.modified, ZonedDateTime.now().format(DateTimeFormatter.ISO_LOCAL_DATE))