Commit db3ccfa7 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add step name as param

parent a207318c
/* /*
Copyright 2020 Jonas Waeber Copyright 2020-2021 Jonas Waeber
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
......
/* /*
Copyright 2020 Jonas Waeber Copyright 2020-2021 Jonas Waeber
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
*/ */
package ch.memobase.configs package ch.memobase.configs
import ch.memobase.helpers.KEYS
import ch.memobase.helpers.ValidationError import ch.memobase.helpers.ValidationError
import ch.memobase.model.LocalTransform import ch.memobase.model.LocalTransform
import ch.memobase.reporting.Report import ch.memobase.reporting.Report
...@@ -25,11 +24,11 @@ import com.fasterxml.jackson.databind.ObjectMapper ...@@ -25,11 +24,11 @@ import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.exc.MismatchedInputException import com.fasterxml.jackson.databind.exc.MismatchedInputException
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory import com.fasterxml.jackson.dataformat.yaml.YAMLFactory
import com.fasterxml.jackson.module.kotlin.registerKotlinModule import com.fasterxml.jackson.module.kotlin.registerKotlinModule
import org.apache.logging.log4j.LogManager
import java.io.ByteArrayInputStream import java.io.ByteArrayInputStream
import java.util.regex.PatternSyntaxException import java.util.regex.PatternSyntaxException
import org.apache.logging.log4j.LogManager
class LocalTransformsLoader(private val data: ByteArray) { class LocalTransformsLoader(private val data: ByteArray, private val step: String) {
private val log = LogManager.getLogger(this::class.java) private val log = LogManager.getLogger(this::class.java)
private val objectMapper = ObjectMapper(YAMLFactory()).registerKotlinModule() private val objectMapper = ObjectMapper(YAMLFactory()).registerKotlinModule()
private val transforms = mutableListOf<ITransformer>() private val transforms = mutableListOf<ITransformer>()
...@@ -41,7 +40,7 @@ class LocalTransformsLoader(private val data: ByteArray) { ...@@ -41,7 +40,7 @@ class LocalTransformsLoader(private val data: ByteArray) {
key, key,
ReportStatus.ignored, ReportStatus.ignored,
"[Local Transform] Ignored empty local transformation file.", "[Local Transform] Ignored empty local transformation file.",
KEYS.step step
) )
else { else {
val results = objectMapper.readValue(ByteArrayInputStream(data), LocalTransform::class.java) val results = objectMapper.readValue(ByteArrayInputStream(data), LocalTransform::class.java)
...@@ -53,24 +52,24 @@ class LocalTransformsLoader(private val data: ByteArray) { ...@@ -53,24 +52,24 @@ class LocalTransformsLoader(private val data: ByteArray) {
transforms.addAll(it) transforms.addAll(it)
} }
} }
Report(key, ReportStatus.success, "", KEYS.step) Report(key, ReportStatus.success, "", step)
} }
} catch (ex: MismatchedInputException) { } catch (ex: MismatchedInputException) {
val message = "[Local Transform] YamlParserError: ${ex.localizedMessage}" val message = "[Local Transform] YamlParserError: ${ex.localizedMessage}"
log.error(message) log.error(message)
Report(key, ReportStatus.fatal, message, KEYS.step) Report(key, ReportStatus.fatal, message, step)
} catch (ex: ValidationError) { } catch (ex: ValidationError) {
val message = "[Local Transform] ValidationError: ${ex.localizedMessage}" val message = "[Local Transform] ValidationError: ${ex.localizedMessage}"
log.error(message) log.error(message)
Report(key, ReportStatus.fatal, message, KEYS.step) Report(key, ReportStatus.fatal, message, step)
} catch (ex: PatternSyntaxException) { } catch (ex: PatternSyntaxException) {
val message = "[Local Transform] RegexError: ${ex.localizedMessage}" val message = "[Local Transform] RegexError: ${ex.localizedMessage}"
log.error(message) log.error(message)
Report(key, ReportStatus.fatal, message, KEYS.step) Report(key, ReportStatus.fatal, message, step)
} catch (ex: Exception) { } catch (ex: Exception) {
val message = "[Local Transform] ${ex.javaClass.name}: ${ex.localizedMessage}" val message = "[Local Transform] ${ex.javaClass.name}: ${ex.localizedMessage}"
log.error(message) log.error(message)
Report(key, ReportStatus.fatal, message, KEYS.step) Report(key, ReportStatus.fatal, message, step)
} }
} }
......
...@@ -28,6 +28,4 @@ object KEYS { ...@@ -28,6 +28,4 @@ object KEYS {
const val missingLabelDe = "FEHLENDES LABEL" const val missingLabelDe = "FEHLENDES LABEL"
const val missingLabelFr = "L'ÉTIQUETTE MANQUANTE" const val missingLabelFr = "L'ÉTIQUETTE MANQUANTE"
const val missingLabelIt = "GALATEO MANCANTE" const val missingLabelIt = "GALATEO MANCANTE"
const val step = "normalization-service"
} }
...@@ -49,7 +49,7 @@ class LocalTestRun { ...@@ -49,7 +49,7 @@ class LocalTestRun {
val mappingFile = "localTransform.yml" val mappingFile = "localTransform.yml"
val global = GlobalTransformsLoader("src/test/resources/global/transforms.yml") val global = GlobalTransformsLoader("src/test/resources/global/transforms.yml")
global.parse() global.parse()
val local = LocalTransformsLoader(File(folder + mappingFile).readBytes()) val local = LocalTransformsLoader(File(folder + mappingFile).readBytes(), "test")
local.parse("test-key") local.parse("test-key")
val transformConfigs = local.get() + global.get() val transformConfigs = local.get() + global.get()
File(folder + "test-item.nt") File(folder + "test-item.nt")
...@@ -87,7 +87,7 @@ class LocalTestRun { ...@@ -87,7 +87,7 @@ class LocalTestRun {
val mappingFile = "/config/localTransforms.yml" val mappingFile = "/config/localTransforms.yml"
val global = GlobalTransformsLoader("src/test/resources/global/transforms.yml") val global = GlobalTransformsLoader("src/test/resources/global/transforms.yml")
global.parse() global.parse()
val local = LocalTransformsLoader(File(folder + mappingFile).readBytes()) val local = LocalTransformsLoader(File(folder + mappingFile).readBytes(), "test")
local.parse("test-key") local.parse("test-key")
val transformConfigs = local.get() + global.get() val transformConfigs = local.get() + global.get()
File(inputFolder) File(inputFolder)
......
...@@ -36,7 +36,7 @@ class TestLocalTransformLoader { ...@@ -36,7 +36,7 @@ class TestLocalTransformLoader {
@Test @Test
fun `test empty local transform`() { fun `test empty local transform`() {
val localTransformsLoader = LocalTransformsLoader(byteArrayOf()) val localTransformsLoader = LocalTransformsLoader(byteArrayOf(), "test")
val report = localTransformsLoader.parse("key") val report = localTransformsLoader.parse("key")
assertThat(report.status) assertThat(report.status)
.isEqualTo(ReportStatus.ignored) .isEqualTo(ReportStatus.ignored)
...@@ -44,7 +44,7 @@ class TestLocalTransformLoader { ...@@ -44,7 +44,7 @@ class TestLocalTransformLoader {
@Test @Test
fun `test yml parse error`() { fun `test yml parse error`() {
val localTransformsLoader = LocalTransformsLoader(readYml("invalid")) val localTransformsLoader = LocalTransformsLoader(readYml("invalid"), "test")
val report = localTransformsLoader.parse("key") val report = localTransformsLoader.parse("key")
assertAll( assertAll(
"", "",
...@@ -66,7 +66,7 @@ class TestLocalTransformLoader { ...@@ -66,7 +66,7 @@ class TestLocalTransformLoader {
@Test @Test
fun `test valid input`() { fun `test valid input`() {
val localTransformsLoader = LocalTransformsLoader(readYml("valid")) val localTransformsLoader = LocalTransformsLoader(readYml("valid"), "test")
val report = localTransformsLoader.parse("key") val report = localTransformsLoader.parse("key")
assertAll( assertAll(
"", "",
...@@ -83,7 +83,7 @@ class TestLocalTransformLoader { ...@@ -83,7 +83,7 @@ class TestLocalTransformLoader {
@Test @Test
fun `test invalid entity splitter input`() { fun `test invalid entity splitter input`() {
val localTransformsLoader = LocalTransformsLoader(readYml("invalidEntitySplitter")) val localTransformsLoader = LocalTransformsLoader(readYml("invalidEntitySplitter"), "test")
val report = localTransformsLoader.parse("key") val report = localTransformsLoader.parse("key")
assertAll( assertAll(
"", "",
......
...@@ -7,33 +7,44 @@ _:b0 a <https://www.ica.org/standards/RiC/ontology# ...@@ -7,33 +7,44 @@ _:b0 a <https://www.ica.org/standards/RiC/ontology#
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"content" . "content" .
_:b2 a <https://www.ica.org/standards/RiC/ontology#Language> ; _:b1 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
<https://www.ica.org/standards/RiC/ontology#name>
"GALATEO MANCANTE"@it , "L'ÉTIQUETTE MANQUANTE"@fr , "FEHLENDES LABEL"@de ;
<https://www.ica.org/standards/RiC/ontology#resultsFrom>
_:b3 ;
<https://www.ica.org/standards/RiC/ontology#type>
"content" .
_:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
<https://www.ica.org/standards/RiC/ontology#affects> <https://www.ica.org/standards/RiC/ontology#affects>
_:b5 ; _:b2 ;
<https://www.ica.org/standards/RiC/ontology#beginningDate> <https://www.ica.org/standards/RiC/ontology#beginningDate>
"2021-10-15T08:10:49+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ; "2021-43-12T07:43:28+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#endDate> <https://www.ica.org/standards/RiC/ontology#endDate>
"2021-10-15T08:10:49+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ; "2021-43-12T07:43:28+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#performedBy> <https://www.ica.org/standards/RiC/ontology#performedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Mechanism> ; [ a <https://www.ica.org/standards/RiC/ontology#Mechanism> ;
<https://www.ica.org/standards/RiC/ontology#name> <https://www.ica.org/standards/RiC/ontology#name>
"GenreNormalizer" ; "LanguagesNormalizer" ;
<https://www.ica.org/standards/RiC/ontology#performs> <https://www.ica.org/standards/RiC/ontology#performs>
_:b4 _:b1
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#resultsIn> <https://www.ica.org/standards/RiC/ontology#resultsIn>
_:b6 ; _:b0 ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"enrichment" . "enrichment" .
_:b3 a <https://www.ica.org/standards/RiC/ontology#CreationRelation> ;
<https://www.ica.org/standards/RiC/ontology#creationRelationHasSource>
<https://memobase.ch/record/soz-007-Sozarch_F_1030-094A> ;
<https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget>
[ a <https://www.ica.org/standards/RiC/ontology#Person> ;
<http://xmlns.com/foaf/0.1/firstName>
"Stefan" ;
<http://xmlns.com/foaf/0.1/lastName>
"Schmid" ;
<https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation>
_:b3 ;
<https://www.ica.org/standards/RiC/ontology#name>
"Stefan Schmid"
] ;
<https://www.ica.org/standards/RiC/ontology#name>
"Moderation" ;
<https://www.ica.org/standards/RiC/ontology#type>
"contributor" .
<https://memobase.ch/record/soz-007-Sozarch_F_1030-094A> <https://memobase.ch/record/soz-007-Sozarch_F_1030-094A>
a <https://www.ica.org/standards/RiC/ontology#Record> ; a <https://www.ica.org/standards/RiC/ontology#Record> ;
<http://purl.org/dc/terms/abstract> <http://purl.org/dc/terms/abstract>
...@@ -72,7 +83,7 @@ _:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ; ...@@ -72,7 +83,7 @@ _:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
] ; ] ;
<http://schema.org/sameAs> "http://www.bild-video-ton.ch/bestand/objekt/Sozarch_F_1030-094A" ; <http://schema.org/sameAs> "http://www.bild-video-ton.ch/bestand/objekt/Sozarch_F_1030-094A" ;
<http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasGenre> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasGenre>
_:b6 , _:b5 ; _:b4 , _:b5 ;
<https://memobase.ch/internal/isPublished> <https://memobase.ch/internal/isPublished>
false ; false ;
<https://www.ica.org/standards/RiC/ontology#conditionsOfUse> <https://www.ica.org/standards/RiC/ontology#conditionsOfUse>
...@@ -80,50 +91,50 @@ _:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ; ...@@ -80,50 +91,50 @@ _:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
<https://www.ica.org/standards/RiC/ontology#hasInstantiation> <https://www.ica.org/standards/RiC/ontology#hasInstantiation>
<https://memobase.ch/physical/soz-007-Sozarch_F_1030-094A-1> , <https://memobase.ch/digital/soz-007-Sozarch_F_1030-094A-1> ; <https://memobase.ch/physical/soz-007-Sozarch_F_1030-094A-1> , <https://memobase.ch/digital/soz-007-Sozarch_F_1030-094A-1> ;
<https://www.ica.org/standards/RiC/ontology#hasLanguage> <https://www.ica.org/standards/RiC/ontology#hasLanguage>
_:b0 , _:b2 , _:b7 ; _:b2 , _:b6 , _:b0 ;
<https://www.ica.org/standards/RiC/ontology#hasTitle> <https://www.ica.org/standards/RiC/ontology#hasTitle>
[ a <https://www.ica.org/standards/RiC/ontology#Title> ; [ a <https://www.ica.org/standards/RiC/ontology#Title> ;
<https://www.ica.org/standards/RiC/ontology#title> <https://www.ica.org/standards/RiC/ontology#title>
"Radio Riesbach: Sendung vom 06.11.1988, \"Mosaik\" - Teil 1/2, Moderation: Stefan Schmid" ; "Radio Riesbach: Sendung vom 06.11.1988" ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"main" "broadcast"
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#hasTitle> <https://www.ica.org/standards/RiC/ontology#hasTitle>
[ a <https://www.ica.org/standards/RiC/ontology#Title> ; [ a <https://www.ica.org/standards/RiC/ontology#Title> ;
<https://www.ica.org/standards/RiC/ontology#title> <https://www.ica.org/standards/RiC/ontology#title>
"Radio Riesbach: Sendung vom 06.11.1988" ; "Mosaik" ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"broadcast" "series"
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#hasTitle> <https://www.ica.org/standards/RiC/ontology#hasTitle>
[ a <https://www.ica.org/standards/RiC/ontology#Title> ; [ a <https://www.ica.org/standards/RiC/ontology#Title> ;
<https://www.ica.org/standards/RiC/ontology#title> <https://www.ica.org/standards/RiC/ontology#title>
"Mosaik" ; "Radio Riesbach: Sendung vom 06.11.1988, \"Mosaik\" - Teil 1/2, Moderation: Stefan Schmid" ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"series" "main"
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#heldBy> <https://www.ica.org/standards/RiC/ontology#heldBy>
<https://memobase.ch/institution/soz> ; <https://memobase.ch/institution/soz> ;
<https://www.ica.org/standards/RiC/ontology#identifiedBy> <https://www.ica.org/standards/RiC/ontology#identifiedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Identifier> ; [ a <https://www.ica.org/standards/RiC/ontology#Identifier> ;
<https://www.ica.org/standards/RiC/ontology#identifier> <https://www.ica.org/standards/RiC/ontology#identifier>
"Sozarch_F_1030-094A" ; "soz-007-Sozarch_F_1030-094A" ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"original" "main"
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#identifiedBy> <https://www.ica.org/standards/RiC/ontology#identifiedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Identifier> ; [ a <https://www.ica.org/standards/RiC/ontology#Identifier> ;
<https://www.ica.org/standards/RiC/ontology#identifier> <https://www.ica.org/standards/RiC/ontology#identifier>
"SozArch-Sozarch_F_1030-094A" ; "Sozarch_F_1030-094A" ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"oldMemobase" "original"
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#identifiedBy> <https://www.ica.org/standards/RiC/ontology#identifiedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Identifier> ; [ a <https://www.ica.org/standards/RiC/ontology#Identifier> ;
<https://www.ica.org/standards/RiC/ontology#identifier> <https://www.ica.org/standards/RiC/ontology#identifier>
"soz-007-Sozarch_F_1030-094A" ; "SozArch-Sozarch_F_1030-094A" ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"main" "oldMemobase"
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#isPartOf> <https://www.ica.org/standards/RiC/ontology#isPartOf>
<https://memobase.ch/recordSet/soz-007> ; <https://memobase.ch/recordSet/soz-007> ;
...@@ -133,7 +144,7 @@ _:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ; ...@@ -133,7 +144,7 @@ _:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
"Verein Radio Riesbach" "Verein Radio Riesbach"
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation>
_:b8 , _:b9 ; _:b3 , _:b7 ;
<https://www.ica.org/standards/RiC/ontology#regulatedBy> <https://www.ica.org/standards/RiC/ontology#regulatedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Rule> ; [ a <https://www.ica.org/standards/RiC/ontology#Rule> ;
<https://www.ica.org/standards/RiC/ontology#name> <https://www.ica.org/standards/RiC/ontology#name>
...@@ -148,104 +159,61 @@ _:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ; ...@@ -148,104 +159,61 @@ _:b4 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"Radio" . "Radio" .
_:b3 a <https://www.ica.org/standards/RiC/ontology#Activity> ; _:b6 a <https://www.ica.org/standards/RiC/ontology#Language> ;
<https://www.ica.org/standards/RiC/ontology#affects>
_:b7 ;
<https://www.ica.org/standards/RiC/ontology#beginningDate>
"2021-10-15T08:10:49+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#endDate>
"2021-10-15T08:10:49+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#performedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Mechanism> ;
<https://www.ica.org/standards/RiC/ontology#name> <https://www.ica.org/standards/RiC/ontology#name>
"LanguagesNormalizer" ; "GALATEO MANCANTE"@it , "L'ÉTIQUETTE MANQUANTE"@fr , "FEHLENDES LABEL"@de ;
<https://www.ica.org/standards/RiC/ontology#performs> <https://www.ica.org/standards/RiC/ontology#resultsFrom>
_:b3 _:b8 ;
] ;
<https://www.ica.org/standards/RiC/ontology#resultsIn>
_:b2 ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"enrichment" . "content" .
_:b1 a <https://www.ica.org/standards/RiC/ontology#Activity> ; _:b9 a <https://www.ica.org/standards/RiC/ontology#CarrierType> ;
<https://www.ica.org/standards/RiC/ontology#affects>
_:b7 ;
<https://www.ica.org/standards/RiC/ontology#beginningDate>
"2021-10-15T08:10:49+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#endDate>
"2021-10-15T08:10:49+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#performedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Mechanism> ;
<https://www.ica.org/standards/RiC/ontology#name> <https://www.ica.org/standards/RiC/ontology#name>
"LanguagesNormalizer" ; "Kompaktkassette" .
<https://www.ica.org/standards/RiC/ontology#performs>
_:b1
] ;
<https://www.ica.org/standards/RiC/ontology#resultsIn>
_:b0 ;
<https://www.ica.org/standards/RiC/ontology#type>
"enrichment" .
_:b10 a <https://www.ica.org/standards/RiC/ontology#Activity> ; _:b10 a <https://www.ica.org/standards/RiC/ontology#CarrierType> ;
<http://schema.org/sameAs> "http://www.wikidata.org/entity/Q149757" ;
<https://www.ica.org/standards/RiC/ontology#name>
"musicassetta"@it , "cassette audio"@fr , "Compact Cassette"@de ;
<https://www.ica.org/standards/RiC/ontology#resultsFrom>
_:b11 .
_:b4 a <http://www.w3.org/2004/02/skos/core#Concept> ;
<http://www.w3.org/2004/02/skos/core#prefLabel>
"Trasmissione radio"@it , "Émission de radio"@fr , "Radiosendung"@de ;
<https://www.ica.org/standards/RiC/ontology#resultsFrom>
_:b12 .
_:b11 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
<https://www.ica.org/standards/RiC/ontology#affects> <https://www.ica.org/standards/RiC/ontology#affects>
_:b11 ; _:b9 ;
<https://www.ica.org/standards/RiC/ontology#beginningDate> <https://www.ica.org/standards/RiC/ontology#beginningDate>
"2021-10-15T08:10:49+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ; "2021-43-12T07:43:28+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#endDate> <https://www.ica.org/standards/RiC/ontology#endDate>
"2021-10-15T08:10:49+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ; "2021-43-12T07:43:28+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#performedBy> <https://www.ica.org/standards/RiC/ontology#performedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Mechanism> ; [ a <https://www.ica.org/standards/RiC/ontology#Mechanism> ;
<https://www.ica.org/standards/RiC/ontology#name> <https://www.ica.org/standards/RiC/ontology#name>
"CarrierTypeNormalizer" ; "CarrierTypeNormalizer" ;
<https://www.ica.org/standards/RiC/ontology#performs> <https://www.ica.org/standards/RiC/ontology#performs>
_:b10 _:b11
] ; ] ;
<https://www.ica.org/standards/RiC/ontology#resultsIn> <https://www.ica.org/standards/RiC/ontology#resultsIn>
_:b12 ; _:b10 ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"enrichment" . "enrichment" .
_:b12 a <https://www.ica.org/standards/RiC/ontology#CarrierType> ;
<http://schema.org/sameAs> "http://www.wikidata.org/entity/Q149757" ;
<https://www.ica.org/standards/RiC/ontology#name>
"musicassetta"@it , "cassette audio"@fr , "Compact Cassette"@de ;
<https://www.ica.org/standards/RiC/ontology#resultsFrom>
_:b10 .
_:b9 a <https://www.ica.org/standards/RiC/ontology#CreationRelation> ;
<https://www.ica.org/standards/RiC/ontology#creationRelationHasSource>
<https://memobase.ch/record/soz-007-Sozarch_F_1030-094A> ;
<https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget>
[ a <https://www.ica.org/standards/RiC/ontology#Person> ;
<http://xmlns.com/foaf/0.1/firstName>
"Stefan" ;
<http://xmlns.com/foaf/0.1/lastName>
"Schmid" ;
<https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation>
_:b9 ;
<https://www.ica.org/standards/RiC/ontology#name>
"Stefan Schmid"
] ;
<https://www.ica.org/standards/RiC/ontology#name>
"Moderation" ;
<https://www.ica.org/standards/RiC/ontology#type>
"contributor" .
_:b11 a <https://www.ica.org/standards/RiC/ontology#CarrierType> ;
<https://www.ica.org/standards/RiC/ontology#name>
"Kompaktkassette" .
_:b5 a <http://www.w3.org/2004/02/skos/core#Concept> ; _:b5 a <http://www.w3.org/2004/02/skos/core#Concept> ;
<http://www.w3.org/2004/02/skos/core#prefLabel> <http://www.w3.org/2004/02/skos/core#prefLabel>
"Quartierradio" . "Quartierradio" .
_:b8 a <https://www.ica.org/standards/RiC/ontology#CreationRelation> ; _:b7 a <https://www.ica.org/standards/RiC/ontology#CreationRelation> ;
<https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource>
<https://memobase.ch/record/soz-007-Sozarch_F_1030-094A> ; <https://memobase.ch/record/soz-007-Sozarch_F_1030-094A> ;
<https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget>
[ a <https://www.ica.org/standards/RiC/ontology#CorporateBody> ; [ a <https://www.ica.org/standards/RiC/ontology#CorporateBody> ;
<https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation>
_:b8 ; _:b7 ;
<https://www.ica.org/standards/RiC/ontology#name> <https://www.ica.org/standards/RiC/ontology#name>
"Verein Radio Riesbach" "Verein Radio Riesbach"
] ; ] ;
...@@ -254,6 +222,25 @@ _:b8 a <https://www.ica.org/standards/RiC/ontology#CreationRelation> ; ...@@ -254,6 +222,25 @@ _:b8 a <https://www.ica.org/standards/RiC/ontology#CreationRelation> ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"creator" . "creator" .
_:b8 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
<https://www.ica.org/standards/RiC/ontology#affects>
_:b2 ;
<https://www.ica.org/standards/RiC/ontology#beginningDate>
"2021-43-12T07:43:28+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#endDate>
"2021-43-12T07:43:28+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
<https://www.ica.org/standards/RiC/ontology#performedBy>
[ a <https://www.ica.org/standards/RiC/ontology#Mechanism> ;
<https://www.ica.org/standards/RiC/ontology#name>
"LanguagesNormalizer" ;
<https://www.ica.org/standards/RiC/ontology#performs>
_:b8
] ;
<https://www.ica.org/standards/RiC/ontology#resultsIn>
_:b6 ;
<https://www.ica.org/standards/RiC/ontology#type>
"enrichment" .
<https://memobase.ch/digital/soz-007-Sozarch_F_1030-094A-1> <https://memobase.ch/digital/soz-007-Sozarch_F_1030-094A-1>
a <https://www.ica.org/standards/RiC/ontology#Instantiation> ; a <https://www.ica.org/standards/RiC/ontology#Instantiation> ;
<http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#locator> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#locator>
...@@ -291,24 +278,37 @@ _:b8 a <https://www.ica.org/standards/RiC/ontology#CreationRelation> ; ...@@ -291,24 +278,37 @@ _:b8 a <https://www.ica.org/standards/RiC/ontology#CreationRelation> ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"digitalObject" . "digitalObject" .
_:b7 a <https://www.ica.org/standards/RiC/ontology#Language> ; _:b2 a <https://www.ica.org/standards/RiC/ontology#Language> ;
<https://www.ica.org/standards/RiC/ontology#name> <https://www.ica.org/standards/RiC/ontology#name>
"schweizerdeutsch" ; "schweizerdeutsch" ;
<https://www.ica.org/standards/RiC/ontology#type> <https://www.ica.org/standards/RiC/ontology#type>
"content" . "content" .
_:b6 a <http://www.w3.org/2004/02/skos/core#Concept> ; _:b12 a <https://www.ica.org/standards/RiC/ontology#Activity> ;
<http://www.w3.org/2004/02/skos/core#prefLabel> <https://www.ica.org/standards/RiC/ontology#affects>
"Trasmissione radio"@it , "Émission de radio"@fr , "Radiosendung"@de ; _:b5 ;
<https://www.ica.org/standards/RiC/ontology#resultsFrom> <https://www.ica.org/standards/RiC/ontology#beginningDate>
_:b4 . "2021-43-12T07:43:28+0000"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;