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

Adds test for prefix under labels and lists of them

parent b8ec1e98
......@@ -163,6 +163,14 @@ class Tests {
"https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0",
"https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1"
)
),
KafkaTestParams(
4,
"Sig Han 1293",
listOf(
"https://memobase.ch/record/TEST-sigantur-example",
"https://memobase.ch/instantiation/physical/TEST-sigantur-example-0"
)
)
)
......
id: jobXYZ
app:
institutionId: "TEST"
recordSetId: "TEST_RECORD_SET"
configs: src/test/resources/kafkaTests/4/config
kafka:
streams:
bootstrap.servers: localhost:12345
application.id: test-clinet-1234
topic:
in: test-topic-in
out: test-topic-out
process: test-topic-process
\ No newline at end of file
record:
uri: sigantur
uri: signatur
type: Foto
physical:
......@@ -9,8 +9,16 @@ physical:
value: "Seitenverhältnis: "
field: seitenverhältnis_de
fr:
#const: "Format d'image: "
- seitenverhältnis_fr
- prefix:
value: "Procede Son: "
field: procede_son
- prefix:
value: "Métrage: "
field: metrage
- prefix:
value: "ID Film: "
field: id_film
it:
#const: "Rapporto d'aspetto: "
- seitenverhältnis_it
\ No newline at end of file
prefix:
value: "Rapporto d'aspetto: "
field: seitenverhältnis_it
{
"signatur": "sigantur-example",
"": ""
"id_film": "id_film",
"metrage": "metrage",
"procede_son": "procede_son",
"seitenverhältnis_it": "seitenverhältnis_it",
"seitenverhältnis_de": "seitenverhältnis_de"
}
\ No newline at end of file
<https://memobase.ch/record/TEST-Sig_Han_1293> <http://purl.org/dc/terms/spatial> _:B .
<https://memobase.ch/record/TEST-Sig_Han_1293> <http://rdaregistry.info/Elements/u/P60441> _:B .
<https://memobase.ch/record/TEST-Sig_Han_1293> <http://schema.org/sameAs> "http://example.org/stuff" .
<https://memobase.ch/record/TEST-Sig_Han_1293> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Record> .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#descriptiveNote> "Eine Bespielbeschreibung"@de .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#hasInstantiation> <https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#hasInstantiation> <https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#hasSubject> _:B .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#heldBy> <https://memobase.ch/institution/TEST> .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#isPartOf> <https://memobase.ch/recordSet/TEST_RECORD_SET> .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#scopeAndContent> "Kontext text"@de .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#title> "Das ist ein Titel"@de .
<https://memobase.ch/record/TEST-Sig_Han_1293> <https://www.ica.org/standards/RiC/ontology#type> "Tonbildschau" .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Agent> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CorporateBody> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
<https://memobase.ch/record/TEST-sigantur-example> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Record> .
<https://memobase.ch/record/TEST-sigantur-example> <https://www.ica.org/standards/RiC/ontology#hasInstantiation> <https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> .
<https://memobase.ch/record/TEST-sigantur-example> <https://www.ica.org/standards/RiC/ontology#heldBy> <https://memobase.ch/institution/TEST> .
<https://memobase.ch/record/TEST-sigantur-example> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/record/TEST-sigantur-example> <https://www.ica.org/standards/RiC/ontology#isPartOf> <https://memobase.ch/recordSet/TEST_RECORD_SET> .
<https://memobase.ch/record/TEST-sigantur-example> <https://www.ica.org/standards/RiC/ontology#type> "Foto" .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Identifier> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Place> .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/TEST-Sig_Han_1293> .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/TEST-Sig_Han_1293> .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/TEST-Sig_Han_1293> .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B .
_:B <https://www.ica.org/standards/RiC/ontology#identifier> "https://memobase.ch/record/TEST-Sig_Han_1293" .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#type> "Autor" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "Kamera" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "Regie" .
_:B <https://www.ica.org/standards/RiC/ontology#identifier> "https://memobase.ch/record/TEST-sigantur-example" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "main" .
\ No newline at end of file
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <http://rdaregistry.info/Elements/u/P60558> "farbe" .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#duration> "10:10:10" .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasMedium> "format"@de .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Instantiation> .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#heldBy> <https://memobase.ch/institution/TEST> .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#instantiates> <https://memobase.ch/record/TEST-Sig_Han_1293> .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#physicalCharacteristics> "bildformat"@de .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#physicalCharacteristics> "codec"@de .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#regulatedBy> _:B .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#regulatedBy> _:B .
<https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> <https://www.ica.org/standards/RiC/ontology#type> "physicalObject" .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Instantiation> .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#heldBy> <https://memobase.ch/institution/TEST> .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#instantiates> <https://memobase.ch/record/TEST-sigantur-example> .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#physicalCharacteristics> "ID Film: id_film"@fr .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#physicalCharacteristics> "Métrage: metrage"@fr .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#physicalCharacteristics> "Procede Son: procede_son"@fr .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#physicalCharacteristics> "Rapporto d'aspetto: seitenverhältnis_it"@it .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#physicalCharacteristics> "Seitenverhältnis: seitenverhältnis_de"@de .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#type> "physicalObject" .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Identifier> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Identifier> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Rule> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Rule> .
_:B <https://www.ica.org/standards/RiC/ontology#identifier> "Sig Han 1293" .
_:B <https://www.ica.org/standards/RiC/ontology#identifier> "https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0" .
_:B <https://www.ica.org/standards/RiC/ontology#regulates> <https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> .
_:B <https://www.ica.org/standards/RiC/ontology#regulates> <https://memobase.ch/instantiation/physical/TEST-Sig_Han_1293-0> .
_:B <https://www.ica.org/standards/RiC/ontology#title> "Familie XYZ" .
_:B <https://www.ica.org/standards/RiC/ontology#title> "public" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "access" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "callNumber" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "holder" .
_:B <https://www.ica.org/standards/RiC/ontology#identifier> "https://memobase.ch/instantiation/physical/TEST-sigantur-example-0" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "main" .
\ No newline at end of file
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#locator> "http://exampl.org/video/play" .
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Instantiation> .
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <https://www.ica.org/standards/RiC/ontology#heldBy> <https://memobase.ch/institution/TEST> .
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <https://www.ica.org/standards/RiC/ontology#instantiates> <https://memobase.ch/record/TEST-Sig_Han_1293> .
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <https://www.ica.org/standards/RiC/ontology#regulatedBy> _:B .
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <https://www.ica.org/standards/RiC/ontology#regulatedBy> _:B .
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <https://www.ica.org/standards/RiC/ontology#regulatedBy> _:B .
<https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> <https://www.ica.org/standards/RiC/ontology#type> "digitalObject" .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Identifier> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Rule> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Rule> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Rule> .
_:B <https://www.ica.org/standards/RiC/ontology#identifier> "https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1" .
_:B <https://www.ica.org/standards/RiC/ontology#regulates> <https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> .
_:B <https://www.ica.org/standards/RiC/ontology#regulates> <https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> .
_:B <https://www.ica.org/standards/RiC/ontology#regulates> <https://memobase.ch/instantiation/digital/TEST-Sig_Han_1293-1> .
_:B <https://www.ica.org/standards/RiC/ontology#title> "Familie XYZ" .
_:B <https://www.ica.org/standards/RiC/ontology#title> "cc-by-nc-nd" .
_:B <https://www.ica.org/standards/RiC/ontology#title> "public" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "access" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "holder" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "main" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "usage" .
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment