Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
libraries
Normalizer Service Configuration
Commits
f8a40aa5
Commit
f8a40aa5
authored
Nov 13, 2020
by
Jonas Waeber
Browse files
Fix turtle output
parent
9c7637e0
Pipeline
#17076
passed with stage
in 2 minutes and 11 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/test/kotlin/TestLanguageNormalizer.kt
View file @
f8a40aa5
...
...
@@ -37,7 +37,7 @@ internal class TestLanguageNormalizer {
RDFDataMgr
.
write
(
FileOutputStream
(
"src/test/resources/tmp/turtle-output-language-normalization.ttl"
),
memobaseModel
,
RDFFormat
.
NTRIP
LE
S
RDFFormat
.
TURT
LE
)
assertAll
(
""
,
{
...
...
src/test/resources/tmp/turtle-output-language-normalization.ttl
View file @
f8a40aa5
_:
B8ca283afX2D3fd4X2D480bX2D8148X2D00a0da42feac
<https://www.ica.org/standards/RiC/ontology#resultsIn>
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
.
_:
B8ca283afX2D3fd4X2D480bX2D8148X2D00a0da42feac
<https://www.ica.org/standards/RiC/ontology#performedBy>
_:
Bda6c651dX2D7434X2D49d6X2Dba66X2D1da0b6c8289b
.
_:
B8ca283afX2D3fd4X2D480bX2D8148X2D00a0da42feac
<https://www.ica.org/standards/RiC/ontology#endDate>
"2020-45-03T15:45:49+0000"
^^
<http://www.w3.org/2001/XMLSchema#dateTime>
.
_:
B8ca283afX2D3fd4X2D480bX2D8148X2D00a0da42feac
<https://www.ica.org/standards/RiC/ontology#beginningDate>
"2020-45-03T15:45:49+0000"
^^
<http://www.w3.org/2001/XMLSchema#dateTime>
.
_:
B8ca283afX2D3fd4X2D480bX2D8148X2D00a0da42feac
<https://www.ica.org/standards/RiC/ontology#type>
"enrichment"
.
_:
B8ca283afX2D3fd4X2D480bX2D8148X2D00a0da42feac
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<https://www.ica.org/standards/RiC/ontology#Activity>
.
_:
Be960c758X2D6d2dX2D4c1eX2D9a98X2Daab9492405f0
<https://www.ica.org/standards/RiC/ontology#type>
"caption"
.
_:
Be960c758X2D6d2dX2D4c1eX2D9a98X2Daab9492405f0
<https://www.ica.org/standards/RiC/ontology#name>
"Deutsch"
.
_:
Be960c758X2D6d2dX2D4c1eX2D9a98X2Daab9492405f0
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<https://www.ica.org/standards/RiC/ontology#Language>
.
_:
B7c1e5136X2D28beX2D481dX2D839cX2D96df7d7ebe1d
<https://www.ica.org/standards/RiC/ontology#hasLanguage>
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
.
_:
B7c1e5136X2D28beX2D481dX2D839cX2D96df7d7ebe1d
<https://www.ica.org/standards/RiC/ontology#hasLanguage>
_:
Be960c758X2D6d2dX2D4c1eX2D9a98X2Daab9492405f0
.
_:
B7c1e5136X2D28beX2D481dX2D839cX2D96df7d7ebe1d
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<https://www.ica.org/standards/RiC/ontology#Record>
.
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
<https://www.ica.org/standards/RiC/ontology#resultsFrom>
_:
B8ca283afX2D3fd4X2D480bX2D8148X2D00a0da42feac
.
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
<https://www.ica.org/standards/RiC/ontology#type>
"caption"
.
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
<http://schema.org/sameAs>
"http://www.wikidata.org/entity/Q188"
.
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
<https://www.ica.org/standards/RiC/ontology#name>
"tedesco"
@it
.
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
<https://www.ica.org/standards/RiC/ontology#name>
"allemand"
@fr
.
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
<https://www.ica.org/standards/RiC/ontology#name>
"Deutsch"
@de
.
_:
B3e84848aX2D795eX2D487aX2Da0c6X2Db62aaa4257eb
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<https://www.ica.org/standards/RiC/ontology#Language>
.
_:
Bda6c651dX2D7434X2D49d6X2Dba66X2D1da0b6c8289b
<https://www.ica.org/standards/RiC/ontology#performs>
_:
B8ca283afX2D3fd4X2D480bX2D8148X2D00a0da42feac
.
_:
Bda6c651dX2D7434X2D49d6X2Dba66X2D1da0b6c8289b
<https://www.ica.org/standards/RiC/ontology#name>
"LanguagesNormalizer"
.
_:
Bda6c651dX2D7434X2D49d6X2Dba66X2D1da0b6c8289b
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<https://www.ica.org/standards/RiC/ontology#Mechanism>
.
@prefix
schema:
<http://schema.org/>
.
@prefix
internal:
<http://memobase.ch/internal/>
.
@prefix
mbrs:
<https://memobase.ch/recordSet/>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
wdt:
<http://www.wikidata.org/prop/direct/>
.
@prefix
mbpo:
<https://memobase.ch/physical/>
.
@prefix
mbcb:
<https://memobase.ch/institution/>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
@prefix
skos:
<http://www.w3.org/2004/02/skos/core#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
wd:
<http://www.wikidata.org/entity/>
.
@prefix
wdtn:
<http://www.wikidata.org/prop/direct-normalized/>
.
@prefix
mbdo:
<https://memobase.ch/digital/>
.
@prefix
rdau:
<http://rdaregistry.info/Elements/u/>
.
@prefix
fedora:
<http://fedora.info/definitions/v4/repository#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rico:
<https://www.ica.org/standards/RiC/ontology#>
.
@prefix
ebucore:
<http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#>
.
@prefix
ldp:
<http://www.w3.org/ns/ldp#>
.
@prefix
dcterms:
<http://purl.org/dc/terms/>
.
@prefix
mbr:
<https://memobase.ch/record/>
.
@prefix
foaf:
<http://xmlns.com/foaf/0.1/>
.
@prefix
dc:
<http://purl.org/dc/elements/1.1/>
.
[
a
rico:
Record
;
rico:
hasLanguage
_:
b0
;
rico:
hasLanguage
[
a
rico:
Language
;
rico:
name
"Deutsch"
;
rico:
type
"caption"
]
]
.
_:
b1
a
rico:
Activity
;
rico:
beginningDate
"2020-40-13T14:40:00+0000"
^^
xsd:
dateTime
;
rico:
endDate
"2020-40-13T14:40:00+0000"
^^
xsd:
dateTime
;
rico:
performedBy
[
a
rico:
Mechanism
;
rico:
name
"LanguagesNormalizer"
;
rico:
performs
_:
b1
]
;
rico:
resultsIn
_:
b0
;
rico:
type
"enrichment"
.
_:
b0
a
rico:
Language
;
schema:
sameAs
"http://www.wikidata.org/entity/Q188"
;
rico:
name
"tedesco"
@it
,
"allemand"
@fr
,
"Deutsch"
@de
;
rico:
resultsFrom
_:
b1
;
rico:
type
"caption"
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment