Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
libraries
Mapper Service Configuration
Commits
3fb487d2
Commit
3fb487d2
authored
Feb 15, 2021
by
Jonas Waeber
Browse files
Improve logging
parent
ab480e9a
Pipeline
#21799
passed with stage
in 2 minutes and 15 seconds
Changes
17
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main/kotlin/mapping/fields/ConfigField.kt
View file @
3fb487d2
...
...
@@ -78,7 +78,7 @@ sealed class ConfigField {
for
(
field
in
fields
)
{
when
(
field
)
{
is
MappedAnnotationField
->
FieldParsers
.
unpackSource
(
field
.
field
,
source
).
let
{
value
->
FieldParsers
.
unpackSource
(
field
.
key
,
field
.
field
,
source
).
let
{
value
->
when
(
value
)
{
is
SimpleString
->
if
(
resultList
.
size
==
1
)
{
...
...
@@ -126,7 +126,7 @@ sealed class ConfigField {
languagePair
.
sources
.
forEach
{
field
->
when
(
field
)
{
is
MappedAnnotationField
->
FieldParsers
.
unpackSource
(
field
.
field
,
source
).
let
{
value
->
FieldParsers
.
unpackSource
(
field
.
key
,
field
.
field
,
source
).
let
{
value
->
when
(
value
)
{
is
SimpleString
->
if
(
resultList
.
size
==
1
)
{
...
...
src/main/kotlin/mapping/fields/FieldParsers.kt
View file @
3fb487d2
...
...
@@ -19,6 +19,7 @@
package
ch.memobase.mapping.fields
import
ch.memobase.exceptions.InvalidMappingException
import
ch.memobase.mapping.KEYS
import
ch.memobase.mapping.fields.SourceElement.Empty
import
ch.memobase.mapping.fields.SourceElement.SimpleString
import
ch.memobase.mapping.fields.SourceElement.StringList
...
...
@@ -154,29 +155,28 @@ object FieldParsers {
* Currently only Strings, Lists of Strings and Objects can be parsed.
* Objects may only contain Strings or List of Strings.
*/
fun
unpackSource
(
field
:
String
,
source
:
Map
<
String
,
Any
>):
SourceElement
{
fun
unpackSource
(
key
:
String
,
field
:
String
,
source
:
Map
<
String
,
Any
>):
SourceElement
{
return
if
(
field
.
contains
(
'.'
))
{
val
fields
=
field
.
split
(
'.'
)
source
[
fields
[
0
]].
let
{
objectValue
->
when
(
objectValue
)
{
is
Map
<
*
,
*
>
->
{
if
(
objectValue
.
containsKey
(
fields
[
1
]))
{
unpackValue
(
field
,
objectValue
[
fields
[
1
]])
unpackValue
(
key
,
field
,
objectValue
[
fields
[
1
]])
}
else
{
Empty
}
}
is
List
<
*
>
->
{
// TODO:
when
{
objectValue
.
isEmpty
()
->
Empty
objectValue
.
size
==
1
->
{
val
item
=
objectValue
[
0
]
if
(
item
is
Map
<
*
,
*
>)
{
unpackValue
(
field
,
item
[
fields
[
1
]])
unpackValue
(
key
,
field
,
item
[
fields
[
1
]])
}
else
{
log
.
error
(
"The value in field ${field[0]} inside of the array is "
+
"The value in field ${field[0]}
from key $key
inside of the array is "
+
"not an object as expected."
)
Empty
...
...
@@ -186,14 +186,14 @@ object FieldParsers {
val
resultList
=
mutableListOf
<
String
>()
for
(
item
in
objectValue
)
{
if
(
item
is
Map
<
*
,
*
>)
{
when
(
val
unpackedValue
=
unpackValue
(
field
,
item
[
fields
[
1
]]))
{
when
(
val
unpackedValue
=
unpackValue
(
key
,
field
,
item
[
fields
[
1
]]))
{
is
SimpleString
->
resultList
.
add
(
unpackedValue
.
value
)
is
StringList
->
resultList
.
addAll
(
unpackedValue
.
value
)
Empty
->
{
// Adding an empty value here because optional fields in objects
// otherwise mess up the order. This means that empty fields need to be ignored.
resultList
.
add
(
""
)
log
.
debug
(
"No or illegal value in map found."
)
log
.
debug
(
"No or illegal value in map found
for $key with target field $field
."
)
}
}
}
...
...
@@ -204,30 +204,30 @@ object FieldParsers {
}
null
->
Empty
else
->
{
log
.
error
(
"Could not parse object for field $field in source."
)
log
.
error
(
"Could not parse object for field $field in source
from key $key
."
)
Empty
}
}
}
}
else
{
unpackValue
(
field
,
source
[
field
])
unpackValue
(
key
,
field
,
source
[
field
])
}
}
private
fun
unpackValue
(
field
:
String
,
value
:
Any
?):
SourceElement
{
private
fun
unpackValue
(
key
:
String
,
field
:
String
,
value
:
Any
?):
SourceElement
{
return
when
(
value
)
{
is
String
->
SimpleString
(
value
)
is
List
<
*
>
->
{
if
(
value
.
isNotEmpty
()
&&
value
[
0
]
is
String
)
{
StringList
(
value
as
List
<
String
>)
}
else
{
log
.
error
(
"Could not parse list elements in field $field. It is either an empty list or is not a string."
)
log
.
error
(
"Could not parse list elements in field $field
from key $key
. It is either an empty list or is not a string."
)
Empty
}
}
null
->
Empty
else
->
{
log
.
error
(
"Could not parse element in field $field. The value is neither a string nor null."
)
log
.
error
(
"Could not parse element in field $field
from key $key
. The value is neither a string nor null."
)
Empty
}
}
...
...
src/main/kotlin/mapping/mappers/CarrierTypeMapper.kt
View file @
3fb487d2
...
...
@@ -36,7 +36,7 @@ class CarrierTypeMapper(val field: AnnotationField) : AbstractFieldMapper() {
override
fun
apply
(
source
:
Map
<
String
,
Any
>,
subject
:
IResource
)
{
when
(
field
)
{
is
MappedAnnotationField
->
FieldParsers
.
unpackSource
(
field
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
FieldParsers
.
unpackSource
(
field
.
key
,
field
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
when
(
sourceElement
)
{
is
SimpleString
->
subject
.
addRicoCarrierType
(
listOf
(
field
.
toLiteral
(
sourceElement
.
value
)))
is
StringList
->
...
...
src/main/kotlin/mapping/mappers/DateFieldMapper.kt
View file @
3fb487d2
...
...
@@ -30,7 +30,7 @@ import org.apache.logging.log4j.LogManager
class
DateFieldMapper
(
private
val
directMapField
:
DirectMapField
)
:
AbstractFieldMapper
()
{
private
val
log
=
LogManager
.
getLogger
(
this
::
class
.
java
)
override
fun
apply
(
source
:
Map
<
String
,
Any
>,
subject
:
IResource
)
{
FieldParsers
.
unpackSource
(
directMapField
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
FieldParsers
.
unpackSource
(
directMapField
.
key
,
directMapField
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
when
(
sourceElement
)
{
is
SimpleString
->
subject
.
addDate
(
directMapField
.
key
,
sourceElement
.
value
)
is
StringList
->
sourceElement
.
value
.
forEach
{
...
...
src/main/kotlin/mapping/mappers/DirectFieldMapper.kt
View file @
3fb487d2
...
...
@@ -30,7 +30,7 @@ import org.apache.logging.log4j.LogManager
class
DirectFieldMapper
(
private
val
directMapField
:
DirectMapField
)
:
AbstractFieldMapper
()
{
private
val
log
=
LogManager
.
getLogger
(
this
::
class
.
java
)
override
fun
apply
(
source
:
Map
<
String
,
Any
>,
subject
:
IResource
)
{
FieldParsers
.
unpackSource
(
directMapField
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
FieldParsers
.
unpackSource
(
directMapField
.
key
,
directMapField
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
when
(
sourceElement
)
{
is
SimpleString
->
subject
.
addLiteral
(
directMapField
.
key
,
directMapField
.
toLiteral
(
sourceElement
.
value
))
is
StringList
->
sourceElement
.
value
.
forEach
{
...
...
src/main/kotlin/mapping/mappers/ExpandedRuleFieldMapper.kt
View file @
3fb487d2
...
...
@@ -43,7 +43,7 @@ class ExpandedRuleFieldMapper(
configField
.
forEach
{
field
->
when
(
field
)
{
is
MappedAnnotationField
->
FieldParsers
.
unpackSource
(
field
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
FieldParsers
.
unpackSource
(
field
.
key
,
field
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
when
(
sourceElement
)
{
is
SimpleString
->
if
(
properties
.
size
==
1
)
...
...
src/main/kotlin/mapping/mappers/PrefixFieldMapper.kt
View file @
3fb487d2
...
...
@@ -30,7 +30,7 @@ import org.apache.logging.log4j.LogManager
class
PrefixFieldMapper
(
private
val
prefixField
:
PrefixField
)
:
AbstractFieldMapper
()
{
private
val
log
=
LogManager
.
getLogger
(
this
::
class
.
java
)
override
fun
apply
(
source
:
Map
<
String
,
Any
>,
subject
:
IResource
)
{
FieldParsers
.
unpackSource
(
prefixField
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
FieldParsers
.
unpackSource
(
prefixField
.
key
,
prefixField
.
field
,
source
).
let
{
sourceElement
:
SourceElement
->
when
(
sourceElement
)
{
is
SimpleString
->
subject
.
addLiteral
(
prefixField
.
key
,
prefixField
.
toLiteral
(
sourceElement
.
value
))
is
StringList
->
sourceElement
.
value
.
forEach
{
...
...
src/main/kotlin/mapping/mappers/RicoConceptMapper.kt
View file @
3fb487d2
...
...
@@ -36,7 +36,7 @@ class RicoConceptMapper(private val rdfType: String, val field: AnnotationField)
override
fun
apply
(
source
:
Map
<
String
,
Any
>,
subject
:
IResource
)
{
when
(
field
)
{
is
MappedAnnotationField
->
FieldParsers
.
unpackSource
(
field
.
field
,
source
).
let
{
FieldParsers
.
unpackSource
(
field
.
key
,
field
.
field
,
source
).
let
{
when
(
it
)
{
is
SimpleString
->
subject
.
addRicoConcept
(
rdfType
,
field
.
key
,
listOf
(
field
.
toLiteral
(
it
.
value
)))
is
StringList
->
...
...
src/main/kotlin/mapping/mappers/RuleFieldMapper.kt
View file @
3fb487d2
...
...
@@ -36,7 +36,7 @@ class RuleFieldMapper(private val configField: ConfigField) : AbstractFieldMappe
override
fun
apply
(
source
:
Map
<
String
,
Any
>,
subject
:
IResource
)
{
when
(
configField
)
{
is
MappedAnnotationField
->
FieldParsers
.
unpackSource
(
configField
.
field
,
source
).
let
{
FieldParsers
.
unpackSource
(
configField
.
key
,
configField
.
field
,
source
).
let
{
when
(
it
)
{
is
SimpleString
->
subject
.
addRule
(
configField
.
key
,
...
...
src/main/kotlin/mapping/mappers/TypeFieldMapper.kt
View file @
3fb487d2
...
...
@@ -44,7 +44,7 @@ abstract class TypeFieldMapper : AbstractFieldMapper() {
}
private
fun
addMappedField
(
field
:
MappedAnnotationField
,
source
:
Map
<
String
,
Any
>)
{
FieldParsers
.
unpackSource
(
field
.
field
,
source
).
let
{
sourceElement
->
FieldParsers
.
unpackSource
(
field
.
key
,
field
.
field
,
source
).
let
{
sourceElement
->
when
(
sourceElement
)
{
is
SimpleString
->
if
(
properties
.
size
==
1
)
{
...
...
@@ -55,7 +55,7 @@ abstract class TypeFieldMapper : AbstractFieldMapper() {
is
StringList
->
sourceElement
.
value
.
forEachIndexed
{
index
,
s
->
if
(
s
.
isNotEmpty
())
{
if
(
properties
.
size
<
=
index
+
1
)
{
if
(
properties
.
size
>
=
index
+
1
)
{
properties
[
index
].
add
(
Pair
(
field
.
key
,
field
.
toLiteral
(
s
)))
}
else
{
properties
.
add
(
index
,
mutableListOf
(
Pair
(
field
.
key
,
field
.
toLiteral
(
s
))))
...
...
src/test/kotlin/ch/memobase/test/TestAgentMapper.kt
View file @
3fb487d2
...
...
@@ -19,12 +19,18 @@
package
ch.memobase.test
import
ch.memobase.builder.Record
import
ch.memobase.builder.ResourceBuilder
import
ch.memobase.mapping.MapperParsers
import
ch.memobase.mapping.MappingConfigurationParser
import
ch.memobase.rdf.RICO
import
ch.memobase.settings.HeaderMetadata
import
com.beust.klaxon.Klaxon
import
java.io.File
import
java.io.FileOutputStream
import
org.apache.jena.rdf.model.impl.SelectorImpl
import
org.apache.jena.riot.Lang
import
org.apache.jena.riot.RDFDataMgr
import
org.apache.jena.riot.RDFFormat
import
org.assertj.core.api.Assertions.assertThat
import
org.junit.jupiter.api.Test
import
org.junit.jupiter.api.TestInstance
...
...
@@ -33,6 +39,18 @@ import org.junit.jupiter.api.assertAll
@TestInstance
(
TestInstance
.
Lifecycle
.
PER_CLASS
)
class
TestAgentMapper
{
private
val
klaxon
=
Klaxon
()
private
val
headerMetadata
=
HeaderMetadata
(
"test-001"
,
"1"
,
"test"
,
false
,
"record"
,
"identifierMain"
,
0
,
0
,
0
,
0
)
private
val
mapper
=
MapperParsers
.
buildAgentMapper
(
"creators"
,
listOf
(
...
...
@@ -47,7 +65,35 @@ class TestAgentMapper {
)
)[
0
]
private
val
regex
=
Regex
(
"(_:B[A-Za-z0-9]+)"
)
private
val
regexTime
=
Regex
(
"\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}"
)
private
fun
sort
(
source
:
List
<
String
>):
String
{
return
source
.
map
{
var
replacedString
=
it
for
(
matchResult
in
regex
.
findAll
(
it
))
{
replacedString
=
replacedString
.
replace
(
matchResult
.
groups
[
0
]
?.
value
.
orEmpty
(),
"_:B"
)
}
for
(
matchResult
in
regexTime
.
findAll
(
it
))
{
replacedString
=
replacedString
.
replace
(
matchResult
.
groups
[
0
]
?.
value
.
orEmpty
(),
"2020-10-10T09:10:22"
)
}
replacedString
}.
sorted
().
reduce
{
acc
,
s
->
acc
+
"\n"
+
s
}.
trim
()
}
private
val
resourcePath
=
"src/test/resources/turtleOutput"
private
val
inputPath
=
"src/test/resources/agent-mapper"
private
fun
readInputFile
(
fileName
:
String
):
String
{
return
File
(
"$inputPath/$fileName.json"
).
readText
()
}
private
fun
readOutputFile
(
fileName
:
String
):
String
{
return
sort
(
File
(
"$inputPath/$fileName.nt"
).
readLines
())
}
private
fun
readMapping
(
fileName
:
String
):
ByteArray
{
return
File
(
"$inputPath/$fileName.yml"
).
readBytes
()
}
// TODO: Actually test this.
@Test
...
...
@@ -155,4 +201,36 @@ class TestAgentMapper {
Lang
.
TURTLE
)
}
@Test
fun
`test
multiple
contributor
names`
()
{
val
source
=
klaxon
.
parse
<
Map
<
String
,
Any
>>(
readInputFile
(
"input-multiple-contributors"
)).
orEmpty
()
val
mapping
=
MappingConfigurationParser
(
readMapping
(
"mapping-multiple-contributors"
))
val
configuration
=
mapping
.
get
()
val
result
=
ResourceBuilder
(
source
,
configuration
,
headerMetadata
.
institutionId
,
headerMetadata
.
recordSetId
,
headerMetadata
.
isPublished
).
extractRecordId
()
.
extractRecordTypeValue
()
.
generateRecord
()
.
generatePhysicalObject
()
.
generateDigitalObject
()
.
addDerivedConnection
()
val
ntriples
=
result
.
writeRecord
(
RDFFormat
.
NTRIPLES_UTF8
)
val
turtle
=
result
.
writeRecord
(
RDFFormat
.
TURTLE_PRETTY
)
assertThat
(
sort
(
ntriples
.
second
.
split
(
"\n"
)))
.
isEqualTo
(
readOutputFile
(
"output-multiple-contributors"
))
FileOutputStream
(
File
(
"$resourcePath/output-multiple-contributors.ttl"
)).
use
{
it
.
bufferedWriter
().
use
{
writer
->
writer
.
write
(
turtle
.
second
)
}
}
}
}
src/test/resources/agent-mapper/input-multiple-contributors.json
0 → 100644
View file @
3fb487d2
{
"id"
:
"identifier"
,
"contributorPerson"
:
[
{
"name"
:
"Simon Epiney / Conseiller national PDC Valais"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Markus Ruf / Conseiller national Démocrates suisses Berne"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Jean Cavadini / Conseiller aux Etats PL Neuchâtel"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Irène Gardiol / Conseillère nationale écologiste Vaud"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Flavio Maspoli / Conseiller national Lega Tessin"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Flavio Cotti / Conseiller fédéral DFAE"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Suzette Sandoz / Conseillère nationale PL Vaud"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Matthias Krafft / Directeur Direction droit international public DFAE"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Vital Darbellay / Conseiller national PDC Valais"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Jacques Martin / Conseiller aux Etats PRD Vaud"
,
"role"
:
"Gesprächspartner"
},
{
"name"
:
"Pierre-André Tschanz / Journaliste RSI"
},
{
"name"
:
"Pierre-André Tschanz / Journaliste RSI"
,
"role"
:
"Interviewer"
},
{
"name"
:
"Catherine Miskiewicz / Journaliste RSI"
},
{
"name"
:
"Catherine Miskiewicz"
,
"role"
:
"ModeratorIn"
},
{
"name"
:
"Pierre-André Tschanz"
,
"role"
:
"ModeratorIn"
},
{
"name"
:
"Pierre-André Tschanz"
,
"role"
:
"Autor"
},
{
"name"
:
"Catherine Miskiewicz"
,
"role"
:
"Autor"
}
]
}
\ No newline at end of file
src/test/resources/agent-mapper/mapping-multiple-contributors.yml
0 → 100644
View file @
3fb487d2
record
:
uri
:
id
type
:
const
:
Foto
contributors
:
person
:
name
:
contributorPerson.name
relationName
:
contributorPerson.role
\ No newline at end of file
src/test/resources/agent-mapper/output-multiple-contributors.nt
0 → 100644
View file @
3fb487d2
_:B8f10f438X2D02e5X2D4094X2D8986X2D4211dedad205 <https://www.ica.org/standards/RiC/ontology#name> "Catherine Miskiewicz" .
_:B8f10f438X2D02e5X2D4094X2D8986X2D4211dedad205 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B4389244dX2D9e30X2D49c3X2D8120X2Dc93dabc57670 .
_:B8f10f438X2D02e5X2D4094X2D8986X2D4211dedad205 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:Bf471f484X2D8d0dX2D49c7X2D971cX2D37327ee813ea <https://www.ica.org/standards/RiC/ontology#name> "Jean Cavadini / Conseiller aux Etats PL Neuchâtel" .
_:Bf471f484X2D8d0dX2D49c7X2D971cX2D37327ee813ea <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B3b998f94X2D2331X2D45a4X2D9842X2Db727fe4858ec .
_:Bf471f484X2D8d0dX2D49c7X2D971cX2D37327ee813ea <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:Bb57524f2X2Dea8cX2D49d2X2D9239X2D50dd98a22661 <https://www.ica.org/standards/RiC/ontology#name> "Jacques Martin / Conseiller aux Etats PRD Vaud" .
_:Bb57524f2X2Dea8cX2D49d2X2D9239X2D50dd98a22661 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:Bf38db3f3X2Dbc37X2D4785X2Db030X2Dfe13cfe2df1f .
_:Bb57524f2X2Dea8cX2D49d2X2D9239X2D50dd98a22661 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B367f7c53X2Da545X2D404bX2D975cX2Dea4a9b31365b <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B78c9d944X2Db844X2D456cX2D8df4X2D597563ed9c9e .
_:B367f7c53X2Da545X2D404bX2D975cX2Dea4a9b31365b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B367f7c53X2Da545X2D404bX2D975cX2Dea4a9b31365b <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B367f7c53X2Da545X2D404bX2D975cX2Dea4a9b31365b <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:B367f7c53X2Da545X2D404bX2D975cX2Dea4a9b31365b <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B98f5304aX2D9736X2D49cbX2D9aa9X2D2bc4190818c7 <https://www.ica.org/standards/RiC/ontology#name> "Irène Gardiol / Conseillère nationale écologiste Vaud" .
_:B98f5304aX2D9736X2D49cbX2D9aa9X2D2bc4190818c7 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:Bfbd1f003X2D3307X2D44f7X2D8a96X2D5699845a2ff1 .
_:B98f5304aX2D9736X2D49cbX2D9aa9X2D2bc4190818c7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B25ecbb9bX2D25acX2D4889X2D9531X2Dcd3bc77977b0 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B034cebe8X2D5132X2D4d0bX2D87b5X2D780fde1ce778 .
_:B25ecbb9bX2D25acX2D4889X2D9531X2Dcd3bc77977b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B25ecbb9bX2D25acX2D4889X2D9531X2Dcd3bc77977b0 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B25ecbb9bX2D25acX2D4889X2D9531X2Dcd3bc77977b0 <https://www.ica.org/standards/RiC/ontology#name> "Autor" .
_:B25ecbb9bX2D25acX2D4889X2D9531X2Dcd3bc77977b0 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B99f247baX2D9cfbX2D498bX2Da569X2D376721decb8b <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B53246b33X2D1becX2D4087X2Db345X2D67b5d0db701b .
_:B99f247baX2D9cfbX2D498bX2Da569X2D376721decb8b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B99f247baX2D9cfbX2D498bX2Da569X2D376721decb8b <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B99f247baX2D9cfbX2D498bX2Da569X2D376721decb8b <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:B99f247baX2D9cfbX2D498bX2Da569X2D376721decb8b <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:Bf38db3f3X2Dbc37X2D4785X2Db030X2Dfe13cfe2df1f <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:Bb57524f2X2Dea8cX2D49d2X2D9239X2D50dd98a22661 .
_:Bf38db3f3X2Dbc37X2D4785X2Db030X2Dfe13cfe2df1f <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:Bf38db3f3X2Dbc37X2D4785X2Db030X2Dfe13cfe2df1f <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:Bf38db3f3X2Dbc37X2D4785X2Db030X2Dfe13cfe2df1f <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:Bf38db3f3X2Dbc37X2D4785X2Db030X2Dfe13cfe2df1f <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B11fba7e1X2D3c4fX2D4d3cX2Db0b9X2D9d92754974b6 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B99e2d527X2D566dX2D4799X2D9b7eX2D97286afcca17 .
_:B11fba7e1X2D3c4fX2D4d3cX2Db0b9X2D9d92754974b6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B11fba7e1X2D3c4fX2D4d3cX2Db0b9X2D9d92754974b6 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B11fba7e1X2D3c4fX2D4d3cX2Db0b9X2D9d92754974b6 <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:B11fba7e1X2D3c4fX2D4d3cX2Db0b9X2D9d92754974b6 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B3b998f94X2D2331X2D45a4X2D9842X2Db727fe4858ec <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:Bf471f484X2D8d0dX2D49c7X2D971cX2D37327ee813ea .
_:B3b998f94X2D2331X2D45a4X2D9842X2Db727fe4858ec <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B3b998f94X2D2331X2D45a4X2D9842X2Db727fe4858ec <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B3b998f94X2D2331X2D45a4X2D9842X2Db727fe4858ec <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:B3b998f94X2D2331X2D45a4X2D9842X2Db727fe4858ec <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:Be04a4fbcX2D8adeX2D4be0X2Daba8X2D69f4331f7bd5 <https://www.ica.org/standards/RiC/ontology#identifier> "test-001-identifier" .
_:Be04a4fbcX2D8adeX2D4be0X2Daba8X2D69f4331f7bd5 <https://www.ica.org/standards/RiC/ontology#type> "main" .
_:Be04a4fbcX2D8adeX2D4be0X2Daba8X2D69f4331f7bd5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Identifier> .
_:B8b5b19f3X2D6a75X2D4325X2D87d6X2Da08b382918bf <https://www.ica.org/standards/RiC/ontology#name> "Markus Ruf / Conseiller national Démocrates suisses Berne" .
_:B8b5b19f3X2D6a75X2D4325X2D87d6X2Da08b382918bf <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B2e67bbacX2D5663X2D4ad3X2Dabf6X2D86183378d956 .
_:B8b5b19f3X2D6a75X2D4325X2D87d6X2Da08b382918bf <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B5a4b1718X2D0af1X2D4993X2Dbab2X2Dde8b6f8e3b6e <https://www.ica.org/standards/RiC/ontology#name> "Pierre-André Tschanz / Journaliste RSI" .
_:B5a4b1718X2D0af1X2D4993X2Dbab2X2Dde8b6f8e3b6e <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:Bb5eb6b95X2De4f2X2D4ee1X2Da12bX2D9afc2cce4ad1 .
_:B5a4b1718X2D0af1X2D4993X2Dbab2X2Dde8b6f8e3b6e <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B704c7342X2D55cfX2D4cc0X2D90f4X2Dd1530619fd33 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B8968beadX2DdabdX2D4cf6X2Da151X2D8c42cc650eee .
_:B704c7342X2D55cfX2D4cc0X2D90f4X2Dd1530619fd33 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B704c7342X2D55cfX2D4cc0X2D90f4X2Dd1530619fd33 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B704c7342X2D55cfX2D4cc0X2D90f4X2Dd1530619fd33 <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:B704c7342X2D55cfX2D4cc0X2D90f4X2Dd1530619fd33 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:Bd8bc203aX2D4947X2D4d24X2Db2deX2D9eca61ed0520 .
<https://memobase.ch/record/test-001-identifier> <https://memobase.ch/internal/isPublished> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:Be04a4fbcX2D8adeX2D4be0X2Daba8X2D69f4331f7bd5 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B25ecbb9bX2D25acX2D4889X2D9531X2Dcd3bc77977b0 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:Bae44de90X2D5586X2D4dbdX2D823aX2D02d87428d21e .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B2e67bbacX2D5663X2D4ad3X2Dabf6X2D86183378d956 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:Bb5eb6b95X2De4f2X2D4ee1X2Da12bX2D9afc2cce4ad1 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#heldBy> <https://memobase.ch/institution/test> .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:Bfbd1f003X2D3307X2D44f7X2D8a96X2D5699845a2ff1 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B3b998f94X2D2331X2D45a4X2D9842X2Db727fe4858ec .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#type> "Foto" .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B176fae64X2Dade0X2D41e8X2D8ba4X2Dbedbc276cad7 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B367f7c53X2Da545X2D404bX2D975cX2Dea4a9b31365b .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B4389244dX2D9e30X2D49c3X2D8120X2Dc93dabc57670 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#isPartOf> <https://memobase.ch/recordSet/test-001> .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:Bf38db3f3X2Dbc37X2D4785X2Db030X2Dfe13cfe2df1f .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:Be7453f05X2D6369X2D4a9cX2D9aa3X2D84cd4ec277c5 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B11fba7e1X2D3c4fX2D4d3cX2Db0b9X2D9d92754974b6 .
<https://memobase.ch/record/test-001-identifier> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Record> .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B70e56895X2D9911X2D45b7X2D930aX2D7be5be234383 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B3bdd8851X2Db5edX2D43cdX2Da602X2Dbcb141d18ef6 .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B99f247baX2D9cfbX2D498bX2Da569X2D376721decb8b .
<https://memobase.ch/record/test-001-identifier> <https://www.ica.org/standards/RiC/ontology#recordResourceOrInstantiationIsSourceOfCreationRelation> _:B704c7342X2D55cfX2D4cc0X2D90f4X2Dd1530619fd33 .
_:Be7453f05X2D6369X2D4a9cX2D9aa3X2D84cd4ec277c5 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B7843c077X2D156fX2D40bdX2D8149X2Db212e9945714 .
_:Be7453f05X2D6369X2D4a9cX2D9aa3X2D84cd4ec277c5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:Be7453f05X2D6369X2D4a9cX2D9aa3X2D84cd4ec277c5 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:Be7453f05X2D6369X2D4a9cX2D9aa3X2D84cd4ec277c5 <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:Be7453f05X2D6369X2D4a9cX2D9aa3X2D84cd4ec277c5 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:Bb5eb6b95X2De4f2X2D4ee1X2Da12bX2D9afc2cce4ad1 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B5a4b1718X2D0af1X2D4993X2Dbab2X2Dde8b6f8e3b6e .
_:Bb5eb6b95X2De4f2X2D4ee1X2Da12bX2D9afc2cce4ad1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:Bb5eb6b95X2De4f2X2D4ee1X2Da12bX2D9afc2cce4ad1 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:Bb5eb6b95X2De4f2X2D4ee1X2Da12bX2D9afc2cce4ad1 <https://www.ica.org/standards/RiC/ontology#name> "Interviewer" .
_:Bb5eb6b95X2De4f2X2D4ee1X2Da12bX2D9afc2cce4ad1 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B4389244dX2D9e30X2D49c3X2D8120X2Dc93dabc57670 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B8f10f438X2D02e5X2D4094X2D8986X2D4211dedad205 .
_:B4389244dX2D9e30X2D49c3X2D8120X2Dc93dabc57670 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B4389244dX2D9e30X2D49c3X2D8120X2Dc93dabc57670 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B4389244dX2D9e30X2D49c3X2D8120X2Dc93dabc57670 <https://www.ica.org/standards/RiC/ontology#name> "ModeratorIn" .
_:B4389244dX2D9e30X2D49c3X2D8120X2Dc93dabc57670 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B3bdd8851X2Db5edX2D43cdX2Da602X2Dbcb141d18ef6 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:Bfebd945cX2Dff48X2D44eeX2Da5a7X2D107813e06bae .
_:B3bdd8851X2Db5edX2D43cdX2Da602X2Dbcb141d18ef6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B3bdd8851X2Db5edX2D43cdX2Da602X2Dbcb141d18ef6 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B3bdd8851X2Db5edX2D43cdX2Da602X2Dbcb141d18ef6 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B70e56895X2D9911X2D45b7X2D930aX2D7be5be234383 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B827151d0X2D6140X2D4c26X2Dad05X2D4421233498a0 .
_:B70e56895X2D9911X2D45b7X2D930aX2D7be5be234383 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B70e56895X2D9911X2D45b7X2D930aX2D7be5be234383 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B70e56895X2D9911X2D45b7X2D930aX2D7be5be234383 <https://www.ica.org/standards/RiC/ontology#name> "Autor" .
_:B70e56895X2D9911X2D45b7X2D930aX2D7be5be234383 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:Bfebd945cX2Dff48X2D44eeX2Da5a7X2D107813e06bae <https://www.ica.org/standards/RiC/ontology#name> "Pierre-André Tschanz / Journaliste RSI" .
_:Bfebd945cX2Dff48X2D44eeX2Da5a7X2D107813e06bae <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B3bdd8851X2Db5edX2D43cdX2Da602X2Dbcb141d18ef6 .
_:Bfebd945cX2Dff48X2D44eeX2Da5a7X2D107813e06bae <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B176fae64X2Dade0X2D41e8X2D8ba4X2Dbedbc276cad7 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B46749debX2D70b9X2D4121X2D86f4X2D7ef835f63f99 .
_:B176fae64X2Dade0X2D41e8X2D8ba4X2Dbedbc276cad7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B176fae64X2Dade0X2D41e8X2D8ba4X2Dbedbc276cad7 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B176fae64X2Dade0X2D41e8X2D8ba4X2Dbedbc276cad7 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B46749debX2D70b9X2D4121X2D86f4X2D7ef835f63f99 <https://www.ica.org/standards/RiC/ontology#name> "Catherine Miskiewicz / Journaliste RSI" .
_:B46749debX2D70b9X2D4121X2D86f4X2D7ef835f63f99 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B176fae64X2Dade0X2D41e8X2D8ba4X2Dbedbc276cad7 .
_:B46749debX2D70b9X2D4121X2D86f4X2D7ef835f63f99 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B2e67bbacX2D5663X2D4ad3X2Dabf6X2D86183378d956 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B8b5b19f3X2D6a75X2D4325X2D87d6X2Da08b382918bf .
_:B2e67bbacX2D5663X2D4ad3X2Dabf6X2D86183378d956 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:B2e67bbacX2D5663X2D4ad3X2Dabf6X2D86183378d956 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:B2e67bbacX2D5663X2D4ad3X2Dabf6X2D86183378d956 <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:B2e67bbacX2D5663X2D4ad3X2Dabf6X2D86183378d956 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:Bae44de90X2D5586X2D4dbdX2D823aX2D02d87428d21e <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B966869afX2Da1ccX2D4dc5X2Da89bX2Da2e25ac51bc9 .
_:Bae44de90X2D5586X2D4dbdX2D823aX2D02d87428d21e <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:Bae44de90X2D5586X2D4dbdX2D823aX2D02d87428d21e <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:Bae44de90X2D5586X2D4dbdX2D823aX2D02d87428d21e <https://www.ica.org/standards/RiC/ontology#name> "ModeratorIn" .
_:Bae44de90X2D5586X2D4dbdX2D823aX2D02d87428d21e <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B53246b33X2D1becX2D4087X2Db345X2D67b5d0db701b <https://www.ica.org/standards/RiC/ontology#name> "Suzette Sandoz / Conseillère nationale PL Vaud" .
_:B53246b33X2D1becX2D4087X2Db345X2D67b5d0db701b <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B99f247baX2D9cfbX2D498bX2Da569X2D376721decb8b .
_:B53246b33X2D1becX2D4087X2Db345X2D67b5d0db701b <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B78c9d944X2Db844X2D456cX2D8df4X2D597563ed9c9e <https://www.ica.org/standards/RiC/ontology#name> "Vital Darbellay / Conseiller national PDC Valais" .
_:B78c9d944X2Db844X2D456cX2D8df4X2D597563ed9c9e <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B367f7c53X2Da545X2D404bX2D975cX2Dea4a9b31365b .
_:B78c9d944X2Db844X2D456cX2D8df4X2D597563ed9c9e <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B99e2d527X2D566dX2D4799X2D9b7eX2D97286afcca17 <https://www.ica.org/standards/RiC/ontology#name> "Flavio Cotti / Conseiller fédéral DFAE" .
_:B99e2d527X2D566dX2D4799X2D9b7eX2D97286afcca17 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B11fba7e1X2D3c4fX2D4d3cX2Db0b9X2D9d92754974b6 .
_:B99e2d527X2D566dX2D4799X2D9b7eX2D97286afcca17 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B7843c077X2D156fX2D40bdX2D8149X2Db212e9945714 <https://www.ica.org/standards/RiC/ontology#name> "Simon Epiney / Conseiller national PDC Valais" .
_:B7843c077X2D156fX2D40bdX2D8149X2Db212e9945714 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:Be7453f05X2D6369X2D4a9cX2D9aa3X2D84cd4ec277c5 .
_:B7843c077X2D156fX2D40bdX2D8149X2Db212e9945714 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:Bd8bc203aX2D4947X2D4d24X2Db2deX2D9eca61ed0520 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B69afd179X2D1a60X2D4f7fX2Db1d9X2D9b0eb1970f6d .
_:Bd8bc203aX2D4947X2D4d24X2Db2deX2D9eca61ed0520 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:Bd8bc203aX2D4947X2D4d24X2Db2deX2D9eca61ed0520 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:Bd8bc203aX2D4947X2D4d24X2Db2deX2D9eca61ed0520 <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:Bd8bc203aX2D4947X2D4d24X2Db2deX2D9eca61ed0520 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B034cebe8X2D5132X2D4d0bX2D87b5X2D780fde1ce778 <https://www.ica.org/standards/RiC/ontology#name> "Catherine Miskiewicz" .
_:B034cebe8X2D5132X2D4d0bX2D87b5X2D780fde1ce778 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B25ecbb9bX2D25acX2D4889X2D9531X2Dcd3bc77977b0 .
_:B034cebe8X2D5132X2D4d0bX2D87b5X2D780fde1ce778 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:Bfbd1f003X2D3307X2D44f7X2D8a96X2D5699845a2ff1 <https://www.ica.org/standards/RiC/ontology#creationRelationHasTarget> _:B98f5304aX2D9736X2D49cbX2D9aa9X2D2bc4190818c7 .
_:Bfbd1f003X2D3307X2D44f7X2D8a96X2D5699845a2ff1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CreationRelation> .
_:Bfbd1f003X2D3307X2D44f7X2D8a96X2D5699845a2ff1 <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/test-001-identifier> .
_:Bfbd1f003X2D3307X2D44f7X2D8a96X2D5699845a2ff1 <https://www.ica.org/standards/RiC/ontology#name> "Gesprächspartner" .
_:Bfbd1f003X2D3307X2D44f7X2D8a96X2D5699845a2ff1 <https://www.ica.org/standards/RiC/ontology#type> "contributor" .
_:B69afd179X2D1a60X2D4f7fX2Db1d9X2D9b0eb1970f6d <https://www.ica.org/standards/RiC/ontology#name> "Matthias Krafft / Directeur Direction droit international public DFAE" .
_:B69afd179X2D1a60X2D4f7fX2Db1d9X2D9b0eb1970f6d <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:Bd8bc203aX2D4947X2D4d24X2Db2deX2D9eca61ed0520 .
_:B69afd179X2D1a60X2D4f7fX2Db1d9X2D9b0eb1970f6d <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B827151d0X2D6140X2D4c26X2Dad05X2D4421233498a0 <https://www.ica.org/standards/RiC/ontology#name> "Pierre-André Tschanz" .
_:B827151d0X2D6140X2D4c26X2Dad05X2D4421233498a0 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B70e56895X2D9911X2D45b7X2D930aX2D7be5be234383 .
_:B827151d0X2D6140X2D4c26X2Dad05X2D4421233498a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B966869afX2Da1ccX2D4dc5X2Da89bX2Da2e25ac51bc9 <https://www.ica.org/standards/RiC/ontology#name> "Pierre-André Tschanz" .
_:B966869afX2Da1ccX2D4dc5X2Da89bX2Da2e25ac51bc9 <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:Bae44de90X2D5586X2D4dbdX2D823aX2D02d87428d21e .
_:B966869afX2Da1ccX2D4dc5X2Da89bX2Da2e25ac51bc9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
_:B8968beadX2DdabdX2D4cf6X2Da151X2D8c42cc650eee <https://www.ica.org/standards/RiC/ontology#name> "Flavio Maspoli / Conseiller national Lega Tessin" .
_:B8968beadX2DdabdX2D4cf6X2Da151X2D8c42cc650eee <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B704c7342X2D55cfX2D4cc0X2D90f4X2Dd1530619fd33 .
_:B8968beadX2DdabdX2D4cf6X2Da151X2D8c42cc650eee <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Person> .
\ No newline at end of file
src/test/resources/turtleOutput/agent-mapper-with-name-only.ttl
View file @
3fb487d2
...
...
@@ -5,15 +5,6 @@
@prefix
ebucore:
<http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#>
.
@prefix
skos:
<http://www.w3.org/2004/02/skos/core#>
.
_:
b0
a
rico:
CreationRelation
;
rico:
creationRelationHasSource
<https://memobase.ch/record/rs1-1>
;
rico:
creationRelationHasTarget
[
a
rico:
Person
;
rico:
agentIsTargetOfCreationRelation
_:
b0
;
rico:
name
"Hans Zimmer"
]
;
rico:
type
"creator"
.