Commit 4537fca0 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add rdf:type & rico:type to institution.

parent 2349a1f2
Pipeline #16561 passed with stages
in 6 minutes and 12 seconds
......@@ -47,6 +47,8 @@ class Transform {
val model = ModelFactory.createDefaultModel()
val resource = model.createResource(NS.mbcb + input.field_memobase_id)
resource.addProperty(RDF.type, RICO.CorporateBody)
resource.addProperty(RICO.type, "memobaseInstitution")
val identifier = model.createResource()
identifier.addProperty(RDF.type, RICO.Identifier)
......
<https://memobase.ch/institution/RadioX> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#CorporateBody> .
<https://memobase.ch/institution/RadioX> <http://www.wikidata.org/prop/direct/P2699> "http://online-archiv-radiox.com" .
<https://memobase.ch/institution/RadioX> <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q166118> .
<https://memobase.ch/institution/RadioX> <http://www.wikidata.org/prop/direct/P31> <http://www.wikidata.org/entity/Q327333> .
......@@ -13,6 +14,7 @@
<https://memobase.ch/institution/RadioX> <https://www.ica.org/standards/RiC/ontology#name> "RadioX"@de .
<https://memobase.ch/institution/RadioX> <https://www.ica.org/standards/RiC/ontology#name> "Test institution Oana (FR)"@fr .
<https://memobase.ch/institution/RadioX> <https://www.ica.org/standards/RiC/ontology#name> "Test institution Oana (IT)"@it .
<https://memobase.ch/institution/RadioX> <https://www.ica.org/standards/RiC/ontology#type> "memobaseInstitution" .
_:B <http://schema.org/sameAs> "http://www.wikidata.org/entity/Q11911" .
_:B <http://schema.org/sameAs> "http://www.wikidata.org/entity/Q12172" .
_:B <http://schema.org/sameAs> "http://www.wikidata.org/entity/Q69030" .
......
......@@ -22,11 +22,29 @@
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
mbcb:RadioX wdt:P2699 "http://online-archiv-radiox.com" ;
mbcb:RadioX a rico:CorporateBody ;
wdt:P2699 "http://online-archiv-radiox.com" ;
wdt:P31 wd:Q327333 , wd:Q166118 ;
wdt:P856 "https://radiox.ch/" ;
wdt:P968 "radiox@test.com" ;
rico:descriptiveNote "<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>"@de , "<p>test_description&nbsp;&nbsp;(IT)</p>"@it , "<p>test_description&nbsp;(FR)</p>"@fr ;
rico:hasLocation [ a rico:Place ;
wdt:P131 [ a rico:Place ;
schema:sameAs "http://www.wikidata.org/entity/Q11911" ;
rico:name "Bern"@de , "Berne"@fr , "Berna"@it ;
rico:type "canton"
] ;
wdt:P131 [ a rico:Place ;
rico:name "Bern" ;
rico:type "municipality"
] ;
wdt:P17 wd:Q39 ;
wdt:P281 "3005" ;
wdt:P625 "46.9531243, 7.434256" ;
wdt:P6375 "Helvetiapl. 5" ;
wdt:P669 "Helvetiapl." ;
wdt:P670 "5"
] ;
rico:hasLocation [ a rico:Place ;
wdt:P131 [ a rico:Place ;
schema:sameAs "http://www.wikidata.org/entity/Q12172" ;
......@@ -45,29 +63,13 @@ mbcb:RadioX wdt:P2699 "http://online-archiv-radiox.com" ;
wdt:P669 "Oslo-Strasse" ;
wdt:P670 "8"
] ;
rico:hasLocation [ a rico:Place ;
wdt:P131 [ a rico:Place ;
schema:sameAs "http://www.wikidata.org/entity/Q11911" ;
rico:name "Bern"@de , "Berne"@fr , "Berna"@it ;
rico:type "canton"
] ;
wdt:P131 [ a rico:Place ;
rico:name "Bern" ;
rico:type "municipality"
] ;
wdt:P17 wd:Q39 ;
wdt:P281 "3005" ;
wdt:P625 "46.9531243, 7.434256" ;
wdt:P6375 "Helvetiapl. 5" ;
wdt:P669 "Helvetiapl." ;
wdt:P670 "5"
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "RadioX" ;
rico:type "main"
] ;
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "test_radio_x" ;
rico:type "oldMemobase"
] ;
rico:identifiedBy [ a rico:Identifier ;
rico:identifier "RadioX" ;
rico:type "main"
] ;
rico:name "RadioX"@de , "Test institution Oana (FR)"@fr , "Test institution Oana (IT)"@it .
rico:name "RadioX"@de , "Test institution Oana (FR)"@fr , "Test institution Oana (IT)"@it ;
rico:type "memobaseInstitution" .
Markdown is supported
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