Add Step 5: use well-known vocabularies (Schema.org, OWL, WGS84, SKOS)
SPARQL UPDATE queries add standard vocabulary properties alongside existing custom predicates: schema:Person/Place/Organization types, schema:givenName/familyName/birthDate, owl:sameAs for authority links, wgs84:lat/long for coordinates, skos:Concept/prefLabel for enumerations, and rdfs:label for persons.
This commit is contained in:
parent
01ad6d2ca0
commit
3d0829aa9d
16 changed files with 170067 additions and 63 deletions
|
|
@ -19,6 +19,10 @@ path = "src/map/step_03.rs"
|
||||||
name = "step-04"
|
name = "step-04"
|
||||||
path = "src/map/step_04.rs"
|
path = "src/map/step_04.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "step-05"
|
||||||
|
path = "src/map/step_05.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sophia = "0.9"
|
sophia = "0.9"
|
||||||
oxigraph = "*"
|
oxigraph = "*"
|
||||||
|
|
|
||||||
17
Rakefile
17
Rakefile
|
|
@ -85,6 +85,12 @@ file 'data/graph-04.ttl' => ['data/graph-03.ttl'] + UPDATE_QUERIES_STEP04 do
|
||||||
sh 'step-04'
|
sh 'step-04'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
UPDATE_QUERIES_STEP05 = FileList['updates_step05/*.rq']
|
||||||
|
|
||||||
|
file 'data/graph-05.ttl' => ['data/graph-04.ttl'] + UPDATE_QUERIES_STEP05 do
|
||||||
|
sh 'step-05'
|
||||||
|
end
|
||||||
|
|
||||||
# ── Examples ─────────────────────────────────────────────────────────────────
|
# ── Examples ─────────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
SPARQL = File.expand_path('~/.cargo/bin/sparql')
|
SPARQL = File.expand_path('~/.cargo/bin/sparql')
|
||||||
|
|
@ -121,6 +127,14 @@ file 'data_examples/step_04_2hop.ttl' => ['data/graph-04.ttl', 'queries/step_04_
|
||||||
sh "#{SPARQL} queries/step_04_2hop_example.rq --graph data/graph-04.ttl --prettify > data_examples/step_04_2hop.ttl"
|
sh "#{SPARQL} queries/step_04_2hop_example.rq --graph data/graph-04.ttl --prettify > data_examples/step_04_2hop.ttl"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
file 'data_examples/step_05_1hop.ttl' => ['data/graph-05.ttl', 'queries/step_05_1hop_example.rq'] do
|
||||||
|
sh "#{SPARQL} queries/step_05_1hop_example.rq --graph data/graph-05.ttl --prettify > data_examples/step_05_1hop.ttl"
|
||||||
|
end
|
||||||
|
|
||||||
|
file 'data_examples/step_05_2hop.ttl' => ['data/graph-05.ttl', 'queries/step_05_2hop_example.rq'] do
|
||||||
|
sh "#{SPARQL} queries/step_05_2hop_example.rq --graph data/graph-05.ttl --prettify > data_examples/step_05_2hop.ttl"
|
||||||
|
end
|
||||||
|
|
||||||
# ── Aggregate tasks ──────────────────────────────────────────────────────────
|
# ── Aggregate tasks ──────────────────────────────────────────────────────────
|
||||||
|
|
||||||
GENERATED = %w[
|
GENERATED = %w[
|
||||||
|
|
@ -144,6 +158,7 @@ GRAPHS = %w[
|
||||||
data/graph-02.ttl
|
data/graph-02.ttl
|
||||||
data/graph-03.ttl
|
data/graph-03.ttl
|
||||||
data/graph-04.ttl
|
data/graph-04.ttl
|
||||||
|
data/graph-05.ttl
|
||||||
].freeze
|
].freeze
|
||||||
|
|
||||||
EXAMPLES = %w[
|
EXAMPLES = %w[
|
||||||
|
|
@ -155,6 +170,8 @@ EXAMPLES = %w[
|
||||||
data_examples/step_03_2hop.ttl
|
data_examples/step_03_2hop.ttl
|
||||||
data_examples/step_04_1hop.ttl
|
data_examples/step_04_1hop.ttl
|
||||||
data_examples/step_04_2hop.ttl
|
data_examples/step_04_2hop.ttl
|
||||||
|
data_examples/step_05_1hop.ttl
|
||||||
|
data_examples/step_05_2hop.ttl
|
||||||
].freeze
|
].freeze
|
||||||
|
|
||||||
task examples: EXAMPLES
|
task examples: EXAMPLES
|
||||||
|
|
|
||||||
168126
data/graph-05.ttl
Normal file
168126
data/graph-05.ttl
Normal file
File diff suppressed because it is too large
Load diff
335
data_examples/step_05_1hop.ttl
Normal file
335
data_examples/step_05_1hop.ttl
Normal file
|
|
@ -0,0 +1,335 @@
|
||||||
|
@prefix wdtn: <http://www.wikidata.org/prop/direct-normalized/> .
|
||||||
|
@prefix wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
|
||||||
|
@prefix location: <http://example.org/migrants/location/> .
|
||||||
|
@prefix locationp: <http://example.org/migrants/location#> .
|
||||||
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||||
|
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
||||||
|
@prefix person: <http://example.org/migrants/person/> .
|
||||||
|
@prefix personp: <http://example.org/migrants/person#> .
|
||||||
|
@prefix work: <http://example.org/migrants/work/> .
|
||||||
|
@prefix workp: <http://example.org/migrants/work#> .
|
||||||
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
||||||
|
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||||
|
@prefix migrants: <http://example.org/migrants/> .
|
||||||
|
@prefix schema: <https://schema.org/> .
|
||||||
|
|
||||||
|
person:AbeIre-00 a schema:Person ;
|
||||||
|
rdfs:label "Irene Abendroth" ;
|
||||||
|
wdtn:P3430 <https://snaccooperative.org/ark:/99166/w6bt189x#resources> ;
|
||||||
|
wdtn:P213 <https://isni.org/isni/0000000035722792> ;
|
||||||
|
wdtn:P244 <https://worldcat.org/identities/lccn-n97053925/> ;
|
||||||
|
wdtn:P214 <https://viaf.org/viaf/39572476> ;
|
||||||
|
wdtn:P227 <https://d-nb.info/gnd/116002506> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Irene_Abendroth> ;
|
||||||
|
owl:sameAs <https://www.wikidata.org/wiki/Q79002> ;
|
||||||
|
schema:citation "Karl-Josef Kutsch, Leo Riemens: Großes Sängerlexikon, Bern: Saur 2003, pp. 3-4. \nWiener Staatsoper: Aufführungsarchiv, https://archiv.wiener-staatsoper.at/search/person/7243\nFremdenblatt - Organ für die böhmischen Kurorte, 8th July 1888, p. 2: https://anno.onb.ac.at/cgi-content/anno?aid=fbl&datum=18880708&query=%22Abendroth+Karlsbad%22~25&ref=anno-search&seite=2\n\n" ;
|
||||||
|
schema:hasOccupation migrants:occupation\/Opera\%20singer ;
|
||||||
|
schema:image <https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/FS_PK267702alt.jpg> ;
|
||||||
|
schema:deathPlace location:AT-Weid-00 ;
|
||||||
|
schema:birthPlace location:UA-Lv-00 ;
|
||||||
|
schema:gender schema:Female ;
|
||||||
|
schema:deathDate "1932-09-01"^^xsd:date ;
|
||||||
|
schema:birthDate "1872-07-14"^^xsd:date ;
|
||||||
|
schema:familyName "Abendroth" ;
|
||||||
|
schema:givenName "Irene" ;
|
||||||
|
personp:image_source <https://www.theatermuseum.at/online-sammlung/detail/546808/> ;
|
||||||
|
personp:deathdate_max "1932-09-01"^^xsd:date ;
|
||||||
|
personp:birthdate_max "1872-07-14"^^xsd:date ;
|
||||||
|
personp:IDPerson "AbeIre-00" ;
|
||||||
|
personp:religion "Christian" ;
|
||||||
|
personp:Importsource migrants:ImportSource-Own .
|
||||||
|
|
||||||
|
migrants:migration_table\/5 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 5 ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:UA-Lv-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:IT-Mila-00 ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Education .
|
||||||
|
|
||||||
|
migrants:migration_table\/6 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 6 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1889-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1889-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:CZ-Karlsb-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1889" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/7 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 7 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1890-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1890-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:LV-RIX-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1890" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/8 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 8 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1891-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1891-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:LV-RIX-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:GER-MUC-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1891" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/9 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 9 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1894-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1894-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:GER-MUC-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1894" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/10 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 10 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1899-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1899-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:GER-Dresd-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1899" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/11 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 11 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1909-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1909-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:GER-Dresd-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1909" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/2114 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 2114 ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:IT-Mila-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Education .
|
||||||
|
|
||||||
|
migrants:migration_table\/2117 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 2117 ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:CZ-Karlsb-00 ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/2118 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 2118 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1909-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1909-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-Weid-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1909" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Other .
|
||||||
|
|
||||||
|
migrants:person_profession\/5120 a migrants:person_profession ;
|
||||||
|
migrants:person_profession\#IDProfPerson 5120 ;
|
||||||
|
migrants:person_profession\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:person_profession\#profession "Singer" .
|
||||||
|
|
||||||
|
migrants:relationship\/2 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 2 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/3 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 3 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:WilAur-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/38 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 38 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:MamEmm-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 .
|
||||||
|
|
||||||
|
migrants:relationship\/93 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 93 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:WilAur-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/16834 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 16834 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:LamFra-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:IT-Mila-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/16839 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 16839 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:AbeMir-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- ;
|
||||||
|
migrants:relationship\#relationshiptype_precise migrants:RelationshipTypePrecise-Sister .
|
||||||
|
|
||||||
|
migrants:relationship\/16844 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 16844 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:CamCle-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:IT-Mila-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/21686 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 21686 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
work:1 a migrants:work ;
|
||||||
|
workp:IDWork 1 ;
|
||||||
|
workp:DateStart_Max "1888-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1888-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:CZ-Karlsb-00 ;
|
||||||
|
workp:DateStart_Fuzzy "1888" ;
|
||||||
|
workp:DateEnd_Fuzzy "-" ;
|
||||||
|
workp:Employment "Permanent" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:2 a migrants:work ;
|
||||||
|
workp:IDWork 2 ;
|
||||||
|
workp:DateStart_Max "1889-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1889-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/71 ;
|
||||||
|
workp:DateStart_Fuzzy "1889" ;
|
||||||
|
workp:DateEnd_Fuzzy "-" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:3 a migrants:work ;
|
||||||
|
workp:IDWork 3 ;
|
||||||
|
workp:DateEnd_Max "1891-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1891-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1890-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1890-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:LV-RIX-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/72 ;
|
||||||
|
workp:DateStart_Fuzzy "1890" ;
|
||||||
|
workp:DateEnd_Fuzzy "1891" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:4 a migrants:work ;
|
||||||
|
workp:IDWork 4 ;
|
||||||
|
workp:DateEnd_Max "1894-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1894-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1891-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1891-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-MUC-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/73 ;
|
||||||
|
workp:DateStart_Fuzzy "1891" ;
|
||||||
|
workp:DateEnd_Fuzzy "1894" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:5 a migrants:work ;
|
||||||
|
workp:IDWork 5 ;
|
||||||
|
workp:DateEnd_Max "1897-03-22"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1897-03-22"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1894-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1894-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/71 ;
|
||||||
|
workp:DateStart_Fuzzy "1894" ;
|
||||||
|
workp:DateEnd_Fuzzy "1897" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:6 a migrants:work ;
|
||||||
|
workp:IDWork 6 ;
|
||||||
|
workp:DateEnd_Max "1909-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1909-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1899-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1899-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-Dresd-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/450 ;
|
||||||
|
workp:DateStart_Fuzzy "1899" ;
|
||||||
|
workp:DateEnd_Fuzzy "1909" ;
|
||||||
|
workp:comment "she left Vienna because of disagreements with Gustav Mahler (Director" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:7 a migrants:work ;
|
||||||
|
workp:IDWork 7 ;
|
||||||
|
workp:DateEnd_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1905-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1905-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-BER-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/75 ;
|
||||||
|
workp:DateStart_Fuzzy "1905" ;
|
||||||
|
workp:DateEnd_Fuzzy "1907" ;
|
||||||
|
workp:comment "Between 1905 and 1907 guest engagements at Berliner Hofoper" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:8 a migrants:work ;
|
||||||
|
workp:IDWork 8 ;
|
||||||
|
workp:DateEnd_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1905-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1905-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-STR-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/76 ;
|
||||||
|
workp:DateStart_Fuzzy "1905" ;
|
||||||
|
workp:DateEnd_Fuzzy "1907" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:9 a migrants:work ;
|
||||||
|
workp:IDWork 9 ;
|
||||||
|
workp:DateStart_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-Ffm-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/77 ;
|
||||||
|
workp:DateStart_Fuzzy "1907" ;
|
||||||
|
workp:DateEnd_Fuzzy "-" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:10 a migrants:work ;
|
||||||
|
workp:IDWork 10 ;
|
||||||
|
workp:DateStart_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-Leip-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/78 ;
|
||||||
|
workp:DateStart_Fuzzy "1907" ;
|
||||||
|
workp:DateEnd_Fuzzy "-" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:11 a migrants:work ;
|
||||||
|
workp:IDWork 11 ;
|
||||||
|
workp:DateStart_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:CZ-Prag-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/79 ;
|
||||||
|
workp:DateStart_Fuzzy "1907" ;
|
||||||
|
workp:comment "Deutsches Theater Prag" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
633
data_examples/step_05_2hop.ttl
Normal file
633
data_examples/step_05_2hop.ttl
Normal file
|
|
@ -0,0 +1,633 @@
|
||||||
|
@prefix wdtn: <http://www.wikidata.org/prop/direct-normalized/> .
|
||||||
|
@prefix wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
|
||||||
|
@prefix location: <http://example.org/migrants/location/> .
|
||||||
|
@prefix locationp: <http://example.org/migrants/location#> .
|
||||||
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||||
|
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
||||||
|
@prefix person: <http://example.org/migrants/person/> .
|
||||||
|
@prefix personp: <http://example.org/migrants/person#> .
|
||||||
|
@prefix work: <http://example.org/migrants/work/> .
|
||||||
|
@prefix workp: <http://example.org/migrants/work#> .
|
||||||
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
||||||
|
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||||
|
@prefix migrants: <http://example.org/migrants/> .
|
||||||
|
@prefix schema: <https://schema.org/> .
|
||||||
|
|
||||||
|
migrants:occupation\/Opera\%20singer a schema:Occupation ;
|
||||||
|
schema:name "Opera singer"@en .
|
||||||
|
|
||||||
|
migrants:ImportSource-Own a migrants:ImportSource ;
|
||||||
|
rdfs:label "Own"@en .
|
||||||
|
|
||||||
|
person:AbeIre-00 a schema:Person ;
|
||||||
|
rdfs:label "Irene Abendroth" ;
|
||||||
|
wdtn:P3430 <https://snaccooperative.org/ark:/99166/w6bt189x#resources> ;
|
||||||
|
wdtn:P213 <https://isni.org/isni/0000000035722792> ;
|
||||||
|
wdtn:P244 <https://worldcat.org/identities/lccn-n97053925/> ;
|
||||||
|
wdtn:P214 <https://viaf.org/viaf/39572476> ;
|
||||||
|
wdtn:P227 <https://d-nb.info/gnd/116002506> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Irene_Abendroth> ;
|
||||||
|
owl:sameAs <https://www.wikidata.org/wiki/Q79002> ;
|
||||||
|
schema:citation "Karl-Josef Kutsch, Leo Riemens: Großes Sängerlexikon, Bern: Saur 2003, pp. 3-4. \nWiener Staatsoper: Aufführungsarchiv, https://archiv.wiener-staatsoper.at/search/person/7243\nFremdenblatt - Organ für die böhmischen Kurorte, 8th July 1888, p. 2: https://anno.onb.ac.at/cgi-content/anno?aid=fbl&datum=18880708&query=%22Abendroth+Karlsbad%22~25&ref=anno-search&seite=2\n\n" ;
|
||||||
|
schema:hasOccupation migrants:occupation\/Opera\%20singer ;
|
||||||
|
schema:image <https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/FS_PK267702alt.jpg> ;
|
||||||
|
schema:deathPlace location:AT-Weid-00 ;
|
||||||
|
schema:birthPlace location:UA-Lv-00 ;
|
||||||
|
schema:gender schema:Female ;
|
||||||
|
schema:deathDate "1932-09-01"^^xsd:date ;
|
||||||
|
schema:birthDate "1872-07-14"^^xsd:date ;
|
||||||
|
schema:familyName "Abendroth" ;
|
||||||
|
schema:givenName "Irene" ;
|
||||||
|
personp:image_source <https://www.theatermuseum.at/online-sammlung/detail/546808/> ;
|
||||||
|
personp:deathdate_max "1932-09-01"^^xsd:date ;
|
||||||
|
personp:birthdate_max "1872-07-14"^^xsd:date ;
|
||||||
|
personp:IDPerson "AbeIre-00" ;
|
||||||
|
personp:religion "Christian" ;
|
||||||
|
personp:Importsource migrants:ImportSource-Own .
|
||||||
|
|
||||||
|
migrants:migration_table\/5 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 5 ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:UA-Lv-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:IT-Mila-00 ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Education .
|
||||||
|
|
||||||
|
migrants:migration_table\/6 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 6 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1889-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1889-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:CZ-Karlsb-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1889" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/7 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 7 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1890-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1890-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:LV-RIX-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1890" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/8 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 8 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1891-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1891-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:LV-RIX-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:GER-MUC-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1891" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/9 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 9 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1894-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1894-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:GER-MUC-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1894" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/10 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 10 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1899-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1899-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:GER-Dresd-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1899" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/11 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 11 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1909-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1909-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:GER-Dresd-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1909" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/2114 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 2114 ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:IT-Mila-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Education .
|
||||||
|
|
||||||
|
migrants:migration_table\/2117 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 2117 ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:CZ-Karlsb-00 ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Labour .
|
||||||
|
|
||||||
|
migrants:migration_table\/2118 a migrants:migration_table ;
|
||||||
|
migrants:migration_table\#IDMig 2118 ;
|
||||||
|
migrants:migration_table\#DateStart_Max "1909-12-31"^^xsd:date ;
|
||||||
|
migrants:migration_table\#DateStart_Min "1909-01-01"^^xsd:date ;
|
||||||
|
migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
|
||||||
|
migrants:migration_table\#ref-IDDestPlace location:AT-Weid-00 ;
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy "1909" ;
|
||||||
|
migrants:migration_table\#reason migrants:MigrationReason-Other .
|
||||||
|
|
||||||
|
migrants:person_profession\/5120 a migrants:person_profession ;
|
||||||
|
migrants:person_profession\#IDProfPerson 5120 ;
|
||||||
|
migrants:person_profession\#ref-IDPerson person:AbeIre-00 ;
|
||||||
|
migrants:person_profession\#profession "Singer" .
|
||||||
|
|
||||||
|
migrants:relationship\/2 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 2 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/3 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 3 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:WilAur-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/38 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 38 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:MamEmm-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 .
|
||||||
|
|
||||||
|
migrants:relationship\/93 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 93 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:WilAur-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/16834 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 16834 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:LamFra-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:IT-Mila-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/16839 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 16839 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:AbeMir-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- ;
|
||||||
|
migrants:relationship\#relationshiptype_precise migrants:RelationshipTypePrecise-Sister .
|
||||||
|
|
||||||
|
migrants:relationship\/16844 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 16844 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:CamCle-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:IT-Mila-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
migrants:relationship\/21686 a migrants:relationship ;
|
||||||
|
migrants:relationship\#IDRel 21686 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
|
||||||
|
migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ;
|
||||||
|
migrants:relationship\#ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
migrants:relationship\#Relationshiptype migrants:RelationshipType- .
|
||||||
|
|
||||||
|
work:1 a migrants:work ;
|
||||||
|
workp:IDWork 1 ;
|
||||||
|
workp:DateStart_Max "1888-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1888-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:CZ-Karlsb-00 ;
|
||||||
|
workp:DateStart_Fuzzy "1888" ;
|
||||||
|
workp:DateEnd_Fuzzy "-" ;
|
||||||
|
workp:Employment "Permanent" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:2 a migrants:work ;
|
||||||
|
workp:IDWork 2 ;
|
||||||
|
workp:DateStart_Max "1889-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1889-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/71 ;
|
||||||
|
workp:DateStart_Fuzzy "1889" ;
|
||||||
|
workp:DateEnd_Fuzzy "-" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:3 a migrants:work ;
|
||||||
|
workp:IDWork 3 ;
|
||||||
|
workp:DateEnd_Max "1891-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1891-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1890-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1890-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:LV-RIX-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/72 ;
|
||||||
|
workp:DateStart_Fuzzy "1890" ;
|
||||||
|
workp:DateEnd_Fuzzy "1891" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:4 a migrants:work ;
|
||||||
|
workp:IDWork 4 ;
|
||||||
|
workp:DateEnd_Max "1894-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1894-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1891-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1891-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-MUC-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/73 ;
|
||||||
|
workp:DateStart_Fuzzy "1891" ;
|
||||||
|
workp:DateEnd_Fuzzy "1894" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:5 a migrants:work ;
|
||||||
|
workp:IDWork 5 ;
|
||||||
|
workp:DateEnd_Max "1897-03-22"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1897-03-22"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1894-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1894-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:AT-VIE-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/71 ;
|
||||||
|
workp:DateStart_Fuzzy "1894" ;
|
||||||
|
workp:DateEnd_Fuzzy "1897" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:6 a migrants:work ;
|
||||||
|
workp:IDWork 6 ;
|
||||||
|
workp:DateEnd_Max "1909-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1909-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1899-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1899-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-Dresd-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/450 ;
|
||||||
|
workp:DateStart_Fuzzy "1899" ;
|
||||||
|
workp:DateEnd_Fuzzy "1909" ;
|
||||||
|
workp:comment "she left Vienna because of disagreements with Gustav Mahler (Director" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:7 a migrants:work ;
|
||||||
|
workp:IDWork 7 ;
|
||||||
|
workp:DateEnd_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1905-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1905-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-BER-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/75 ;
|
||||||
|
workp:DateStart_Fuzzy "1905" ;
|
||||||
|
workp:DateEnd_Fuzzy "1907" ;
|
||||||
|
workp:comment "Between 1905 and 1907 guest engagements at Berliner Hofoper" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:8 a migrants:work ;
|
||||||
|
workp:IDWork 8 ;
|
||||||
|
workp:DateEnd_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateEnd_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:DateStart_Max "1905-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1905-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-STR-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/76 ;
|
||||||
|
workp:DateStart_Fuzzy "1905" ;
|
||||||
|
workp:DateEnd_Fuzzy "1907" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:9 a migrants:work ;
|
||||||
|
workp:IDWork 9 ;
|
||||||
|
workp:DateStart_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-Ffm-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/77 ;
|
||||||
|
workp:DateStart_Fuzzy "1907" ;
|
||||||
|
workp:DateEnd_Fuzzy "-" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:10 a migrants:work ;
|
||||||
|
workp:IDWork 10 ;
|
||||||
|
workp:DateStart_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:GER-Leip-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/78 ;
|
||||||
|
workp:DateStart_Fuzzy "1907" ;
|
||||||
|
workp:DateEnd_Fuzzy "-" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
work:11 a migrants:work ;
|
||||||
|
workp:IDWork 11 ;
|
||||||
|
workp:DateStart_Max "1907-12-31"^^xsd:date ;
|
||||||
|
workp:DateStart_Min "1907-01-01"^^xsd:date ;
|
||||||
|
workp:ref-IDPerson person:AbeIre-00 ;
|
||||||
|
workp:ref-IDLocation location:CZ-Prag-00 ;
|
||||||
|
workp:ref-IDOrganisation migrants:organisation\/79 ;
|
||||||
|
workp:DateStart_Fuzzy "1907" ;
|
||||||
|
workp:comment "Deutsches Theater Prag" ;
|
||||||
|
workp:Profession migrants:Profession-Singer ;
|
||||||
|
workp:EmploymentType migrants:EmploymentType-Tour .
|
||||||
|
|
||||||
|
location:UA-Lv-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q36036> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Lviv> ;
|
||||||
|
wgs84:long "24.0142"^^xsd:float ;
|
||||||
|
wgs84:lat "49.83"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 702550 ;
|
||||||
|
locationp:IDLocation "UA-Lv-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Ukraine ;
|
||||||
|
locationp:City migrants:City-Lviv .
|
||||||
|
|
||||||
|
migrants:MigrationReason-Education a skos:Concept , migrants:MigrationReason ;
|
||||||
|
skos:prefLabel "Education"@en ;
|
||||||
|
rdfs:label "Education"@en .
|
||||||
|
|
||||||
|
migrants:MigrationReason-Labour a skos:Concept , migrants:MigrationReason ;
|
||||||
|
skos:prefLabel "Labour"@en ;
|
||||||
|
rdfs:label "Labour"@en .
|
||||||
|
|
||||||
|
location:AT-Weid-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q484858> ;
|
||||||
|
wgs84:long "15.6408"^^xsd:float ;
|
||||||
|
wgs84:lat "48.3081"^^xsd:float ;
|
||||||
|
locationp:IDLocation "AT-Weid-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Austria ;
|
||||||
|
locationp:State migrants:State-Statzendorf ;
|
||||||
|
locationp:City migrants:City-Weidling .
|
||||||
|
|
||||||
|
migrants:MigrationReason-Other a skos:Concept , migrants:MigrationReason ;
|
||||||
|
skos:prefLabel "Other"@en ;
|
||||||
|
rdfs:label "Other"@en .
|
||||||
|
|
||||||
|
person:WilAur-00 a schema:Person ;
|
||||||
|
rdfs:label "Aurelie Wilczek" ;
|
||||||
|
wdtn:P1871 <https://data.cerl.org/thesaurus/cnp02080470> ;
|
||||||
|
wdtn:P214 <https://viaf.org/viaf/304930607> ;
|
||||||
|
wdtn:P227 <https://d-nb.info/gnd/1037100972> ;
|
||||||
|
schema:sameAs <https://de.wikipedia.org/wiki/Aurelie_Wilczek> ;
|
||||||
|
owl:sameAs <https://www.wikidata.org/wiki/Q18018523> ;
|
||||||
|
schema:citation "Andrea Harrandt: Jäger (-Wilczek), Familie, in: Oesterreichisches Musiklexikon. Online-Ausgabe, Wien 2002 ff., OEML: http://www.musiklexikon.ac.at/ml/musik_J/Jaeger_Familie_2.xmlKarl-Josef Kutsch, Leo Riemens: Großes Sängerlexikon, Bern: Saur 2003, p. 2217. Ludwig Eisenberg: Großes biographisches Lexikon der deutschen Bühne im XIX. Jahrhundert. Leipzig: List 1903, pp. 468- 469." ;
|
||||||
|
rdfs:comment "born Strusin[e]/Galizien (Strussiw/UA)\n" ;
|
||||||
|
schema:hasOccupation migrants:occupation\/Singer\%2C\%20Singing\%20Teacher ;
|
||||||
|
schema:image <https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png> ;
|
||||||
|
schema:deathPlace location:AT-Gois-00 ;
|
||||||
|
schema:birthPlace location:PL-Galz-00 ;
|
||||||
|
schema:gender schema:Female ;
|
||||||
|
schema:deathDate "1927-08-06"^^xsd:date ;
|
||||||
|
schema:birthDate "1845-01-20"^^xsd:date ;
|
||||||
|
schema:familyName "Wilczek" ;
|
||||||
|
schema:givenName "Aurelie" ;
|
||||||
|
personp:deathdate_max "1927-08-06"^^xsd:date ;
|
||||||
|
personp:birthdate_max "1845-01-20"^^xsd:date ;
|
||||||
|
personp:IDPerson "WilAur-00" ;
|
||||||
|
personp:image_source "-" ;
|
||||||
|
personp:Importsource migrants:ImportSource-Own .
|
||||||
|
|
||||||
|
person:LamFra-00 a schema:Person ;
|
||||||
|
rdfs:label "Francesco Lamperti Lamperti" ;
|
||||||
|
schema:image <https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png> ;
|
||||||
|
schema:gender schema:Male ;
|
||||||
|
schema:familyName "Lamperti" ;
|
||||||
|
schema:givenName "Francesco Lamperti" ;
|
||||||
|
personp:IDPerson "LamFra-00" ;
|
||||||
|
personp:Importsource migrants:ImportSource-Own .
|
||||||
|
|
||||||
|
person:AbeMir-00 a schema:Person ;
|
||||||
|
rdfs:label "Mira Abendroth" ;
|
||||||
|
schema:image <https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png> ;
|
||||||
|
schema:gender schema:Female ;
|
||||||
|
schema:familyName "Abendroth" ;
|
||||||
|
schema:givenName "Mira" ;
|
||||||
|
personp:IDPerson "AbeMir-00" ;
|
||||||
|
personp:Importsource migrants:ImportSource-Own .
|
||||||
|
|
||||||
|
migrants:RelationshipTypePrecise-Sister a skos:Concept , migrants:RelationshipTypePrecise ;
|
||||||
|
skos:prefLabel "Sister"@en ;
|
||||||
|
rdfs:label "Sister"@en .
|
||||||
|
|
||||||
|
person:CamCle-00 a schema:Person ;
|
||||||
|
rdfs:label "Cleofonte Campanini" ;
|
||||||
|
schema:image <https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png> ;
|
||||||
|
schema:gender schema:Female ;
|
||||||
|
schema:familyName "Campanini" ;
|
||||||
|
schema:givenName "Cleofonte" ;
|
||||||
|
personp:IDPerson "CamCle-00" ;
|
||||||
|
personp:Importsource migrants:ImportSource-Own .
|
||||||
|
|
||||||
|
location:IT-Mila-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q490> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Milan> ;
|
||||||
|
wgs84:long "9.19"^^xsd:float ;
|
||||||
|
wgs84:lat "45.4669"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 3173435 ;
|
||||||
|
locationp:IDLocation "IT-Mila-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Italy ;
|
||||||
|
locationp:City migrants:City-Milan .
|
||||||
|
|
||||||
|
person:MamEmm-00 a schema:Person ;
|
||||||
|
rdfs:label "Emma Mampé-Babnigg" ;
|
||||||
|
wdtn:P1871 <https://data.cerl.org/thesaurus/cnp01075147> ;
|
||||||
|
wdtn:P214 <https://viaf.org/viaf/62289633> ;
|
||||||
|
wdtn:P227 <https://d-nb.info/gnd/116021799> ;
|
||||||
|
schema:sameAs <https://de.wikipedia.org/wiki/Emma_Mampe-Babnigg> ;
|
||||||
|
owl:sameAs <https://www.wikidata.org/wiki/Q17425396> ;
|
||||||
|
schema:hasOccupation migrants:occupation\/Opera\%20Singer\%2CSoprano\%2C\%20Singing\%20Teacher ;
|
||||||
|
schema:image <https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png> ;
|
||||||
|
schema:deathPlace location:AT-VIE-00 ;
|
||||||
|
schema:birthPlace location:HU-Pest-00 ;
|
||||||
|
schema:gender schema:Female ;
|
||||||
|
schema:deathDate "1904-05-05"^^xsd:date ;
|
||||||
|
schema:birthDate "1825-02-25"^^xsd:date ;
|
||||||
|
schema:familyName "Mampé-Babnigg" ;
|
||||||
|
schema:givenName "Emma" ;
|
||||||
|
personp:deathdate_max "1904-05-05"^^xsd:date ;
|
||||||
|
personp:birthdate_max "1825-02-25"^^xsd:date ;
|
||||||
|
personp:IDPerson "MamEmm-00" ;
|
||||||
|
personp:Importsource migrants:ImportSource-Own .
|
||||||
|
|
||||||
|
migrants:RelationshipType- a migrants:RelationshipType .
|
||||||
|
|
||||||
|
location:CZ-Karlsb-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q384544> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Karlovy_Vary> ;
|
||||||
|
wgs84:long "12.8725"^^xsd:float ;
|
||||||
|
wgs84:lat "50.2306"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 3073803 ;
|
||||||
|
locationp:IDLocation "CZ-Karlsb-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-CzechRepublic ;
|
||||||
|
locationp:City migrants:City-KarlovyVary .
|
||||||
|
|
||||||
|
location:LV-RIX-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q1773> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Riga> ;
|
||||||
|
wgs84:long "24.1064"^^xsd:float ;
|
||||||
|
wgs84:lat "56.9489"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 456172 ;
|
||||||
|
locationp:IDLocation "LV-RIX-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Latvia ;
|
||||||
|
locationp:City migrants:City-Riga .
|
||||||
|
|
||||||
|
migrants:organisation\/72 a schema:Organization ;
|
||||||
|
schema:name "Oper Riga" ;
|
||||||
|
migrants:organisation\#IDOrganisation 72 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
location:GER-MUC-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q1726> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Munich> ;
|
||||||
|
wgs84:long "11.5667"^^xsd:float ;
|
||||||
|
wgs84:lat "48.1333"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 2867714 ;
|
||||||
|
locationp:IDLocation "GER-MUC-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Germany ;
|
||||||
|
locationp:City migrants:City-Munich .
|
||||||
|
|
||||||
|
migrants:organisation\/73 a schema:Organization ;
|
||||||
|
schema:location location:GER-MUC-00 ;
|
||||||
|
schema:name "Königl. Hoftheater in München" ;
|
||||||
|
migrants:organisation\#IDOrganisation 73 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
location:AT-VIE-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q1741> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Vienna> ;
|
||||||
|
wgs84:long "16.3634"^^xsd:float ;
|
||||||
|
wgs84:lat "48.21"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 2761369 ;
|
||||||
|
locationp:IDLocation "AT-VIE-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Austria ;
|
||||||
|
locationp:City migrants:City-Vienna .
|
||||||
|
|
||||||
|
migrants:organisation\/71 a schema:Organization ;
|
||||||
|
schema:name "Hofoper Wien" ;
|
||||||
|
migrants:organisation\#IDOrganisation 71 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
location:GER-Dresd-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q1731> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Dresden> ;
|
||||||
|
wgs84:long "13.74"^^xsd:float ;
|
||||||
|
wgs84:lat "51.05"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 2935022 ;
|
||||||
|
locationp:IDLocation "GER-Dresd-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Germany ;
|
||||||
|
locationp:City migrants:City-Dresden .
|
||||||
|
|
||||||
|
migrants:organisation\/450 a schema:Organization ;
|
||||||
|
schema:location location:GER-Dresd-00 ;
|
||||||
|
schema:name "Hofoper Dresden" ;
|
||||||
|
migrants:organisation\#IDOrganisation 450 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
location:GER-BER-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q64> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Berlin> ;
|
||||||
|
wgs84:long "13.405"^^xsd:float ;
|
||||||
|
wgs84:lat "52.52"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 2950159 ;
|
||||||
|
locationp:IDLocation "GER-BER-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Germany ;
|
||||||
|
locationp:City migrants:City-Berlin .
|
||||||
|
|
||||||
|
migrants:organisation\/75 a schema:Organization ;
|
||||||
|
schema:location location:GER-BER-00 ;
|
||||||
|
schema:name "Königliche Oper, Berlin" ;
|
||||||
|
migrants:organisation\#IDOrganisation 75 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
location:GER-STR-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q1022> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Stuttgart> ;
|
||||||
|
wgs84:long "9.184"^^xsd:float ;
|
||||||
|
wgs84:lat "48.782"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 2825297 ;
|
||||||
|
locationp:IDLocation "GER-STR-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Germany ;
|
||||||
|
locationp:City migrants:City-Stuttgart .
|
||||||
|
|
||||||
|
migrants:organisation\/76 a schema:Organization ;
|
||||||
|
schema:location location:GER-STR-00 ;
|
||||||
|
schema:name "Hofoper Stuttgart" ;
|
||||||
|
migrants:organisation\#IDOrganisation 76 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
location:GER-Ffm-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q1794> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Frankfurt> ;
|
||||||
|
wgs84:long "8.68333"^^xsd:float ;
|
||||||
|
wgs84:lat "50.1167"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 2925533 ;
|
||||||
|
locationp:IDLocation "GER-Ffm-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Germany ;
|
||||||
|
locationp:City migrants:City-Frankfurt .
|
||||||
|
|
||||||
|
migrants:organisation\/77 a schema:Organization ;
|
||||||
|
schema:location location:GER-Ffm-00 ;
|
||||||
|
schema:name "Oper Frankfurt" ;
|
||||||
|
migrants:organisation\#IDOrganisation 77 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
location:GER-Leip-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q2079> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Leipzig> ;
|
||||||
|
wgs84:long "12.3833"^^xsd:float ;
|
||||||
|
wgs84:lat "51.3333"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 2879139 ;
|
||||||
|
locationp:IDLocation "GER-Leip-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-Germany ;
|
||||||
|
locationp:City migrants:City-Leipzig .
|
||||||
|
|
||||||
|
migrants:organisation\/78 a schema:Organization ;
|
||||||
|
schema:location location:GER-Leip-00 ;
|
||||||
|
schema:name "Oper Leipzig" ;
|
||||||
|
migrants:organisation\#IDOrganisation 78 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
location:CZ-Prag-00 a schema:Place ;
|
||||||
|
owl:sameAs <http://www.wikidata.org/entity/Q1085> ;
|
||||||
|
schema:sameAs <https://en.wikipedia.org/wiki/Prague> ;
|
||||||
|
wgs84:long "14.4167"^^xsd:float ;
|
||||||
|
wgs84:lat "50.0833"^^xsd:float ;
|
||||||
|
locationp:GeoNamesID 3067696 ;
|
||||||
|
locationp:IDLocation "CZ-Prag-00" ;
|
||||||
|
locationp:Continent migrants:Continent-Europe ;
|
||||||
|
locationp:Country migrants:Country-CzechRepublic ;
|
||||||
|
locationp:City migrants:City-Prague .
|
||||||
|
|
||||||
|
migrants:organisation\/79 a schema:Organization ;
|
||||||
|
schema:location location:CZ-Prag-00 ;
|
||||||
|
schema:name "Deutsches Theater Prag" ;
|
||||||
|
migrants:organisation\#IDOrganisation 79 ;
|
||||||
|
migrants:organisation\#InstType migrants:InstitutionType-Theatre .
|
||||||
|
|
||||||
|
migrants:Profession-Singer a skos:Concept , migrants:Profession ;
|
||||||
|
skos:prefLabel "Singer"@en ;
|
||||||
|
rdfs:label "Singer"@en .
|
||||||
|
|
||||||
|
migrants:EmploymentType-Tour a skos:Concept , migrants:EmploymentType ;
|
||||||
|
skos:prefLabel "Tour"@en ;
|
||||||
|
rdfs:label "Tour"@en .
|
||||||
676
ontology.ttl
676
ontology.ttl
|
|
@ -1,79 +1,629 @@
|
||||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||||
|
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||||
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
||||||
|
@prefix dct: <http://purl.org/dc/terms/> .
|
||||||
|
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
||||||
@prefix schema: <https://schema.org/> .
|
@prefix schema: <https://schema.org/> .
|
||||||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
@prefix wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
|
||||||
@prefix tm: <https://daniel.degu.cl/data/theather-migrants/ontology.ttl#> .
|
@prefix wdtn: <http://www.wikidata.org/prop/direct-normalized/> .
|
||||||
|
@prefix migrants: <http://example.org/migrants/> .
|
||||||
|
|
||||||
<https://daniel.degu.cl/data/theather-migrants/ontology.ttl> a owl:Ontology ;
|
# =============================================================================
|
||||||
rdfs:label "Theater Migrants Ontology"@en ;
|
# Ontology metadata
|
||||||
dct:creator tm:DanielHernandez .
|
# =============================================================================
|
||||||
|
|
||||||
tm:DanielHernandez a schema:Person ;
|
<http://example.org/migrants/ontology> a owl:Ontology ;
|
||||||
schema:identifier [
|
rdfs:label "Theater Migrants Ontology"@en ;
|
||||||
a schema:PropertyValue ;
|
rdfs:comment "Ontology for the Theater Migrants Knowledge Graph, documenting professional migrations of theater practitioners across Europe (1850–1918)."@en .
|
||||||
schema:propertyID "ORCID" ;
|
|
||||||
schema:value "0000-0002-7896-0875" ] ;
|
|
||||||
schema:familyName "Hernandez"@en ;
|
|
||||||
schema:givenName "Daniel"@en ;
|
|
||||||
schema:sameAs wd:Q57243435 .
|
|
||||||
|
|
||||||
# Classes
|
# =============================================================================
|
||||||
|
# Classes — domain-specific
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
tm:Religion a owl:Class ;
|
migrants:migration_table a owl:Class ;
|
||||||
rdfs:label "Religion"@en ;
|
rdfs:label "Migration"@en ;
|
||||||
rdfs:comment "A religion or religious tradition."@en .
|
rdfs:comment "A migration event recording the movement of a person from one place to another."@en .
|
||||||
|
|
||||||
tm:ReligionAffiliation a owl:Class ;
|
migrants:work a owl:Class ;
|
||||||
rdfs:label "Religion Affiliation"@en ;
|
rdfs:label "Work"@en ;
|
||||||
rdfs:comment "A record of a person's affiliation with a religion, optionally bounded by a time interval."@en .
|
rdfs:comment "A professional engagement of a person at an organisation in a given location and time period."@en .
|
||||||
|
|
||||||
# Object properties
|
migrants:relationship a owl:Class ;
|
||||||
|
rdfs:label "Relationship"@en ;
|
||||||
|
rdfs:comment "An interpersonal relationship between two persons."@en .
|
||||||
|
|
||||||
tm:person a owl:ObjectProperty ;
|
migrants:person_profession a owl:Class ;
|
||||||
rdfs:label "person"@en ;
|
rdfs:label "PersonProfession"@en ;
|
||||||
rdfs:comment "The person associated with this religion affiliation."@en ;
|
rdfs:comment "An association between a person and a profession label."@en .
|
||||||
rdfs:domain tm:ReligionAffiliation ;
|
|
||||||
rdfs:range schema:Person .
|
|
||||||
|
|
||||||
tm:religion a owl:ObjectProperty ;
|
migrants:personnames a owl:Class ;
|
||||||
rdfs:label "religion"@en ;
|
rdfs:label "PersonName"@en ;
|
||||||
rdfs:comment "The religion the person is affiliated with."@en ;
|
rdfs:comment "An alternative or historical name for a person, optionally typed and time-bounded."@en .
|
||||||
rdfs:domain tm:ReligionAffiliation ;
|
|
||||||
rdfs:range tm:Religion .
|
|
||||||
|
|
||||||
# Datatype properties
|
migrants:religions a owl:Class ;
|
||||||
|
rdfs:label "ReligionAffiliation"@en ;
|
||||||
|
rdfs:comment "A person's affiliation with a religion during a given period."@en .
|
||||||
|
|
||||||
tm:denomination a owl:DatatypeProperty ;
|
migrants:ImportSource a owl:Class ;
|
||||||
rdfs:label "denomination"@en ;
|
rdfs:label "ImportSource"@en ;
|
||||||
rdfs:comment "The specific denomination within the religion."@en ;
|
rdfs:comment "The provenance source from which a person record was imported."@en .
|
||||||
rdfs:domain tm:ReligionAffiliation ;
|
|
||||||
rdfs:range xsd:string .
|
|
||||||
|
|
||||||
tm:dateStartFuzzy a owl:DatatypeProperty ;
|
# =============================================================================
|
||||||
rdfs:label "fuzzy start date"@en ;
|
# Classes — enumeration types (subclasses of skos:Concept)
|
||||||
rdfs:comment "A human-readable description of the start date when it cannot be expressed precisely."@en ;
|
# =============================================================================
|
||||||
rdfs:domain tm:ReligionAffiliation ;
|
|
||||||
rdfs:range xsd:string .
|
|
||||||
|
|
||||||
tm:dateStart a owl:DatatypeProperty ;
|
migrants:Continent a owl:Class ;
|
||||||
rdfs:label "start date"@en ;
|
rdfs:subClassOf skos:Concept ;
|
||||||
rdfs:domain tm:ReligionAffiliation ;
|
rdfs:label "Continent"@en .
|
||||||
rdfs:range xsd:date .
|
|
||||||
|
|
||||||
tm:dateStartMax a owl:DatatypeProperty ;
|
migrants:Country a owl:Class ;
|
||||||
rdfs:label "maximum start date"@en ;
|
rdfs:subClassOf skos:Concept ;
|
||||||
rdfs:comment "The latest possible start date of the affiliation."@en ;
|
rdfs:label "Country"@en .
|
||||||
rdfs:domain tm:ReligionAffiliation ;
|
|
||||||
rdfs:range xsd:string .
|
|
||||||
|
|
||||||
tm:dateEndMin a owl:DatatypeProperty ;
|
migrants:State a owl:Class ;
|
||||||
rdfs:label "minimum end date"@en ;
|
rdfs:subClassOf skos:Concept ;
|
||||||
rdfs:comment "The earliest possible end date of the affiliation."@en ;
|
rdfs:label "State"@en .
|
||||||
rdfs:domain tm:ReligionAffiliation ;
|
|
||||||
rdfs:range xsd:date .
|
|
||||||
|
|
||||||
tm:dateEndMax a owl:DatatypeProperty ;
|
migrants:City a owl:Class ;
|
||||||
rdfs:label "maximum end date"@en ;
|
rdfs:subClassOf skos:Concept ;
|
||||||
rdfs:comment "The latest possible end date of the affiliation."@en ;
|
rdfs:label "City"@en .
|
||||||
rdfs:domain tm:ReligionAffiliation ;
|
|
||||||
rdfs:range xsd:date .
|
migrants:MigrationReason a owl:Class ;
|
||||||
|
rdfs:subClassOf skos:Concept ;
|
||||||
|
rdfs:label "MigrationReason"@en .
|
||||||
|
|
||||||
|
migrants:InstitutionType a owl:Class ;
|
||||||
|
rdfs:subClassOf skos:Concept ;
|
||||||
|
rdfs:label "InstitutionType"@en .
|
||||||
|
|
||||||
|
migrants:Nametype a owl:Class ;
|
||||||
|
rdfs:subClassOf skos:Concept ;
|
||||||
|
rdfs:label "NameType"@en .
|
||||||
|
|
||||||
|
migrants:RelationshipType a owl:Class ;
|
||||||
|
rdfs:subClassOf skos:Concept ;
|
||||||
|
rdfs:label "RelationshipType"@en .
|
||||||
|
|
||||||
|
migrants:RelationshipTypePrecise a owl:Class ;
|
||||||
|
rdfs:subClassOf skos:Concept ;
|
||||||
|
rdfs:label "RelationshipTypePrecise"@en .
|
||||||
|
|
||||||
|
migrants:Religion a owl:Class ;
|
||||||
|
rdfs:subClassOf skos:Concept ;
|
||||||
|
rdfs:label "Religion"@en .
|
||||||
|
|
||||||
|
migrants:Profession a owl:Class ;
|
||||||
|
rdfs:subClassOf skos:Concept ;
|
||||||
|
rdfs:label "Profession"@en .
|
||||||
|
|
||||||
|
migrants:EmploymentType a owl:Class ;
|
||||||
|
rdfs:subClassOf skos:Concept ;
|
||||||
|
rdfs:label "EmploymentType"@en .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — Person
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:person\#Importsource a owl:ObjectProperty ;
|
||||||
|
rdfs:label "importSource"@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range migrants:ImportSource .
|
||||||
|
|
||||||
|
migrants:person\#Nametype a owl:ObjectProperty ;
|
||||||
|
rdfs:label "nameType"@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range migrants:Nametype .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — Person
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:person\#IDPerson a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDPerson"@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:person\#birthdate_max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "birthDateMax"@en ;
|
||||||
|
rdfs:comment "Upper bound of the birth date when the exact date is uncertain."@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:person\#deathdate_max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "deathDateMax"@en ;
|
||||||
|
rdfs:comment "Upper bound of the death date when the exact date is uncertain."@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:person\#fuzzybirthdate a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "fuzzyBirthDate"@en ;
|
||||||
|
rdfs:comment "Free-text representation of an uncertain birth date."@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:person\#fuzzydeathdate a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "fuzzyDeathDate"@en ;
|
||||||
|
rdfs:comment "Free-text representation of an uncertain death date."@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:person\#Birth_Info a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "birthInfo"@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:person\#Death_Info a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "deathInfo"@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:person\#religion a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "religion"@en ;
|
||||||
|
rdfs:comment "Free-text religion label on the person record."@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:person\#image_source a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "imageSource"@en ;
|
||||||
|
rdfs:domain schema:Person ;
|
||||||
|
rdfs:range xsd:anyURI .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — Place
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:location\#Continent a owl:ObjectProperty ;
|
||||||
|
rdfs:label "continent"@en ;
|
||||||
|
rdfs:domain schema:Place ;
|
||||||
|
rdfs:range migrants:Continent .
|
||||||
|
|
||||||
|
migrants:location\#Country a owl:ObjectProperty ;
|
||||||
|
rdfs:label "country"@en ;
|
||||||
|
rdfs:domain schema:Place ;
|
||||||
|
rdfs:range migrants:Country .
|
||||||
|
|
||||||
|
migrants:location\#State a owl:ObjectProperty ;
|
||||||
|
rdfs:label "state"@en ;
|
||||||
|
rdfs:domain schema:Place ;
|
||||||
|
rdfs:range migrants:State .
|
||||||
|
|
||||||
|
migrants:location\#City a owl:ObjectProperty ;
|
||||||
|
rdfs:label "city"@en ;
|
||||||
|
rdfs:domain schema:Place ;
|
||||||
|
rdfs:range migrants:City .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — Place
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:location\#IDLocation a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDLocation"@en ;
|
||||||
|
rdfs:domain schema:Place ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:location\#GeoNamesID a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "GeoNamesID"@en ;
|
||||||
|
rdfs:domain schema:Place ;
|
||||||
|
rdfs:range xsd:integer .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — Organisation
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:organisation\#InstType a owl:ObjectProperty ;
|
||||||
|
rdfs:label "institutionType"@en ;
|
||||||
|
rdfs:domain schema:Organization ;
|
||||||
|
rdfs:range migrants:InstitutionType .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — Organisation
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:organisation\#IDOrganisation a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDOrganisation"@en ;
|
||||||
|
rdfs:domain schema:Organization ;
|
||||||
|
rdfs:range xsd:integer .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — Migration
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:migration_table\#ref-IDPerson a owl:ObjectProperty ;
|
||||||
|
rdfs:label "migrant"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range schema:Person .
|
||||||
|
|
||||||
|
migrants:migration_table\#ref-IDStartPlace a owl:ObjectProperty ;
|
||||||
|
rdfs:label "startPlace"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range schema:Place .
|
||||||
|
|
||||||
|
migrants:migration_table\#ref-IDDestPlace a owl:ObjectProperty ;
|
||||||
|
rdfs:label "destinationPlace"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range schema:Place .
|
||||||
|
|
||||||
|
migrants:migration_table\#reason a owl:ObjectProperty ;
|
||||||
|
rdfs:label "reason"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range migrants:MigrationReason .
|
||||||
|
|
||||||
|
migrants:migration_table\#reason2 a owl:ObjectProperty ;
|
||||||
|
rdfs:label "secondaryReason"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range migrants:MigrationReason .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — Migration
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:migration_table\#IDMig a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDMig"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range xsd:integer .
|
||||||
|
|
||||||
|
migrants:migration_table\#DateStart_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMin"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:migration_table\#DateStart_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMax"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:migration_table\#DateEnd_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMin"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:migration_table\#DateEnd_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMax"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:migration_table\#DateStart_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:migration_table\#DateEnd_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:migration_table\#via a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "via"@en ;
|
||||||
|
rdfs:domain migrants:migration_table ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — Work
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:work\#ref-IDPerson a owl:ObjectProperty ;
|
||||||
|
rdfs:label "worker"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range schema:Person .
|
||||||
|
|
||||||
|
migrants:work\#ref-IDLocation a owl:ObjectProperty ;
|
||||||
|
rdfs:label "workLocation"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range schema:Place .
|
||||||
|
|
||||||
|
migrants:work\#ref-IDOrganisation a owl:ObjectProperty ;
|
||||||
|
rdfs:label "workOrganisation"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range schema:Organization .
|
||||||
|
|
||||||
|
migrants:work\#ref-IDOrganisation2 a owl:ObjectProperty ;
|
||||||
|
rdfs:label "secondaryOrganisation"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range schema:Organization .
|
||||||
|
|
||||||
|
migrants:work\#Profession a owl:ObjectProperty ;
|
||||||
|
rdfs:label "profession"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range migrants:Profession .
|
||||||
|
|
||||||
|
migrants:work\#Profession2 a owl:ObjectProperty ;
|
||||||
|
rdfs:label "secondaryProfession"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range migrants:Profession .
|
||||||
|
|
||||||
|
migrants:work\#Profession3 a owl:ObjectProperty ;
|
||||||
|
rdfs:label "tertiaryProfession"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range migrants:Profession .
|
||||||
|
|
||||||
|
migrants:work\#EmploymentType a owl:ObjectProperty ;
|
||||||
|
rdfs:label "employmentType"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range migrants:EmploymentType .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — Work
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:work\#IDWork a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDWork"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:integer .
|
||||||
|
|
||||||
|
migrants:work\#DateStart_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMin"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:work\#DateStart_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMax"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:work\#DateEnd_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMin"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:work\#DateEnd_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMax"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:work\#DateStart_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:work\#DateEnd_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:work\#Employment a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "employment"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:work\#comment a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "comment"@en ;
|
||||||
|
rdfs:domain migrants:work ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — Relationship
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:relationship\#ref-IDPerson_active a owl:ObjectProperty ;
|
||||||
|
rdfs:label "activePerson"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range schema:Person .
|
||||||
|
|
||||||
|
migrants:relationship\#ref-IDPerson_passive a owl:ObjectProperty ;
|
||||||
|
rdfs:label "passivePerson"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range schema:Person .
|
||||||
|
|
||||||
|
migrants:relationship\#ref-IDLocation a owl:ObjectProperty ;
|
||||||
|
rdfs:label "location"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range schema:Place .
|
||||||
|
|
||||||
|
migrants:relationship\#ref-IDOrganisation a owl:ObjectProperty ;
|
||||||
|
rdfs:label "organisation"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range schema:Organization .
|
||||||
|
|
||||||
|
migrants:relationship\#Relationshiptype a owl:ObjectProperty ;
|
||||||
|
rdfs:label "relationshipType"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range migrants:RelationshipType .
|
||||||
|
|
||||||
|
migrants:relationship\#relationshiptype_precise a owl:ObjectProperty ;
|
||||||
|
rdfs:label "relationshipTypePrecise"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range migrants:RelationshipTypePrecise .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — Relationship
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:relationship\#IDRel a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDRel"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:integer .
|
||||||
|
|
||||||
|
migrants:relationship\#DateStart_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMin"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:relationship\#DateStart_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMax"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:relationship\#DateEnd_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMin"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:relationship\#DateEnd_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMax"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:relationship\#DateStart_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:relationship\#DateEnd_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:relationship\#Timeperiod a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "timePeriod"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:relationship\#comment a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "comment"@en ;
|
||||||
|
rdfs:domain migrants:relationship ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — PersonProfession
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:person_profession\#ref-IDPerson a owl:ObjectProperty ;
|
||||||
|
rdfs:label "person"@en ;
|
||||||
|
rdfs:domain migrants:person_profession ;
|
||||||
|
rdfs:range schema:Person .
|
||||||
|
|
||||||
|
migrants:person_profession\#Eprofession a owl:ObjectProperty ;
|
||||||
|
rdfs:label "enumeratedProfession"@en ;
|
||||||
|
rdfs:domain migrants:person_profession ;
|
||||||
|
rdfs:range migrants:Profession .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — PersonProfession
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:person_profession\#IDProfPerson a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDProfPerson"@en ;
|
||||||
|
rdfs:domain migrants:person_profession ;
|
||||||
|
rdfs:range xsd:integer .
|
||||||
|
|
||||||
|
migrants:person_profession\#profession a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "professionLabel"@en ;
|
||||||
|
rdfs:domain migrants:person_profession ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — PersonName
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:personnames\#ref-IDPerson a owl:ObjectProperty ;
|
||||||
|
rdfs:label "person"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range schema:Person .
|
||||||
|
|
||||||
|
migrants:personnames\#Nametype a owl:ObjectProperty ;
|
||||||
|
rdfs:label "nameType"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range migrants:Nametype .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — PersonName
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:personnames\#IDPersonname a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDPersonname"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:integer .
|
||||||
|
|
||||||
|
migrants:personnames\#personName a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "personName"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:personnames\#personSurName a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "personSurName"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:personnames\#comment a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "comment"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:personnames\#DateStart_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMin"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:personnames\#DateStart_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMax"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:personnames\#DateEnd_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMin"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:personnames\#DateEnd_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMax"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:personnames\#DateStart_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:personnames\#DateEnd_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:personnames ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Object properties — ReligionAffiliation
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:religions\#ref-IDPerson a owl:ObjectProperty ;
|
||||||
|
rdfs:label "person"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range schema:Person .
|
||||||
|
|
||||||
|
migrants:religions\#religion a owl:ObjectProperty ;
|
||||||
|
rdfs:label "religion"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range migrants:Religion .
|
||||||
|
|
||||||
|
# =============================================================================
|
||||||
|
# Datatype properties — ReligionAffiliation
|
||||||
|
# =============================================================================
|
||||||
|
|
||||||
|
migrants:religions\#IDReligion a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "IDReligion"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range xsd:integer .
|
||||||
|
|
||||||
|
migrants:religions\#denomination a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "denomination"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:religions\#comment a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "comment"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
||||||
|
migrants:religions\#date_start a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStart"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:religions\#DateStart_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartMax"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:religions\#DateEnd_Max a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMax"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:religions\#DateEnd_Min a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateEndMin"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range xsd:date .
|
||||||
|
|
||||||
|
migrants:religions\#DateStart_Fuzzy a owl:DatatypeProperty ;
|
||||||
|
rdfs:label "dateStartFuzzy"@en ;
|
||||||
|
rdfs:domain migrants:religions ;
|
||||||
|
rdfs:range xsd:string .
|
||||||
|
|
|
||||||
31
queries/step_05_1hop_example.rq
Normal file
31
queries/step_05_1hop_example.rq
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX schema: <https://schema.org/>
|
||||||
|
PREFIX wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#>
|
||||||
|
PREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>
|
||||||
|
PREFIX migrants: <http://example.org/migrants/>
|
||||||
|
PREFIX person: <http://example.org/migrants/person/>
|
||||||
|
PREFIX personp: <http://example.org/migrants/person#>
|
||||||
|
PREFIX work: <http://example.org/migrants/work/>
|
||||||
|
PREFIX workp: <http://example.org/migrants/work#>
|
||||||
|
PREFIX location: <http://example.org/migrants/location/>
|
||||||
|
PREFIX locationp: <http://example.org/migrants/location#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?s ?p ?o .
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
{
|
||||||
|
# Triples about Irene Abendroth (as subject)
|
||||||
|
?s ?p ?o .
|
||||||
|
FILTER(?s = person:AbeIre-00)
|
||||||
|
}
|
||||||
|
UNION
|
||||||
|
{
|
||||||
|
# Triples from other tables referencing Irene Abendroth
|
||||||
|
?s ?p ?o .
|
||||||
|
?s ?ref person:AbeIre-00 .
|
||||||
|
}
|
||||||
|
}
|
||||||
46
queries/step_05_2hop_example.rq
Normal file
46
queries/step_05_2hop_example.rq
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
PREFIX schema: <https://schema.org/>
|
||||||
|
PREFIX wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#>
|
||||||
|
PREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>
|
||||||
|
PREFIX migrants: <http://example.org/migrants/>
|
||||||
|
PREFIX person: <http://example.org/migrants/person/>
|
||||||
|
PREFIX personp: <http://example.org/migrants/person#>
|
||||||
|
PREFIX work: <http://example.org/migrants/work/>
|
||||||
|
PREFIX workp: <http://example.org/migrants/work#>
|
||||||
|
PREFIX location: <http://example.org/migrants/location/>
|
||||||
|
PREFIX locationp: <http://example.org/migrants/location#>
|
||||||
|
|
||||||
|
CONSTRUCT {
|
||||||
|
?s ?p ?o .
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
{
|
||||||
|
# Hop 0: Triples about Irene Abendroth (as subject)
|
||||||
|
?s ?p ?o .
|
||||||
|
FILTER(?s = person:AbeIre-00)
|
||||||
|
}
|
||||||
|
UNION
|
||||||
|
{
|
||||||
|
# Hop 1 (incoming): Triples about nodes referencing the anchor
|
||||||
|
?s ?p ?o .
|
||||||
|
?s ?ref person:AbeIre-00 .
|
||||||
|
}
|
||||||
|
UNION
|
||||||
|
{
|
||||||
|
# Hop 1 (outgoing): Triples about IRI nodes referenced by the anchor
|
||||||
|
?s ?p ?o .
|
||||||
|
person:AbeIre-00 ?ref ?s .
|
||||||
|
FILTER(isIRI(?s))
|
||||||
|
}
|
||||||
|
UNION
|
||||||
|
{
|
||||||
|
# Hop 2: Triples about IRI nodes referenced by hop-1 nodes
|
||||||
|
?s ?p ?o .
|
||||||
|
?hop1 ?r1 person:AbeIre-00 .
|
||||||
|
?hop1 ?r2 ?s .
|
||||||
|
FILTER(isIRI(?s) && ?s != person:AbeIre-00)
|
||||||
|
}
|
||||||
|
}
|
||||||
84
src/map/step_05.rs
Normal file
84
src/map/step_05.rs
Normal file
|
|
@ -0,0 +1,84 @@
|
||||||
|
/// Step 5: Use well-known vocabularies.
|
||||||
|
///
|
||||||
|
/// Loads `data/graph-04.ttl`, applies all SPARQL UPDATE queries from the
|
||||||
|
/// `updates_step05/` directory (sorted alphabetically), and writes the
|
||||||
|
/// result to `data/graph-05.ttl`.
|
||||||
|
///
|
||||||
|
/// Usage: Run from the mapping project directory:
|
||||||
|
/// cargo run --release --bin step-05
|
||||||
|
|
||||||
|
use std::fs;
|
||||||
|
|
||||||
|
use oxigraph::io::{RdfFormat, RdfParser};
|
||||||
|
use oxigraph::model::GraphNameRef;
|
||||||
|
use oxigraph::store::Store;
|
||||||
|
|
||||||
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
|
let input_path = "data/graph-04.ttl";
|
||||||
|
let output_path = "data/graph-05.ttl";
|
||||||
|
let updates_dir = "updates_step05";
|
||||||
|
|
||||||
|
// Create in-memory store and load input graph
|
||||||
|
let store = Store::new()?;
|
||||||
|
|
||||||
|
eprintln!("Loading graph from {}...", input_path);
|
||||||
|
let input = fs::File::open(input_path)?;
|
||||||
|
let reader = std::io::BufReader::new(input);
|
||||||
|
let parser = RdfParser::from_format(RdfFormat::Turtle)
|
||||||
|
.without_named_graphs()
|
||||||
|
.with_default_graph(GraphNameRef::DefaultGraph);
|
||||||
|
store.load_from_reader(parser, reader)?;
|
||||||
|
|
||||||
|
let initial_count = count_triples(&store);
|
||||||
|
eprintln!("Loaded {} triples.", initial_count);
|
||||||
|
|
||||||
|
// Read and sort SPARQL UPDATE files
|
||||||
|
let mut update_files: Vec<_> = fs::read_dir(updates_dir)?
|
||||||
|
.filter_map(|e| e.ok())
|
||||||
|
.map(|e| e.path())
|
||||||
|
.filter(|p| {
|
||||||
|
p.extension()
|
||||||
|
.and_then(|e| e.to_str())
|
||||||
|
.map_or(false, |e| e == "rq")
|
||||||
|
})
|
||||||
|
.collect();
|
||||||
|
update_files.sort();
|
||||||
|
|
||||||
|
// Apply each SPARQL UPDATE query
|
||||||
|
for query_file in &update_files {
|
||||||
|
let query = fs::read_to_string(query_file)?;
|
||||||
|
let name = query_file
|
||||||
|
.file_name()
|
||||||
|
.and_then(|n| n.to_str())
|
||||||
|
.unwrap_or("unknown");
|
||||||
|
|
||||||
|
let before = count_triples(&store);
|
||||||
|
store.update(&query)?;
|
||||||
|
let after = count_triples(&store);
|
||||||
|
|
||||||
|
let diff = after as i64 - before as i64;
|
||||||
|
let sign = if diff >= 0 { "+" } else { "" };
|
||||||
|
eprintln!(
|
||||||
|
"Applied {}: {} -> {} triples ({}{})",
|
||||||
|
name, before, after, sign, diff
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
let final_count = count_triples(&store);
|
||||||
|
eprintln!("Writing {} triples to {}...", final_count, output_path);
|
||||||
|
|
||||||
|
// Dump store to Turtle
|
||||||
|
fs::create_dir_all("data")?;
|
||||||
|
let output = fs::File::create(output_path)?;
|
||||||
|
let writer = std::io::BufWriter::new(output);
|
||||||
|
store.dump_graph_to_writer(GraphNameRef::DefaultGraph, RdfFormat::Turtle, writer)?;
|
||||||
|
|
||||||
|
eprintln!("Done.");
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
fn count_triples(store: &Store) -> usize {
|
||||||
|
store
|
||||||
|
.quads_for_pattern(None, None, None, None)
|
||||||
|
.count()
|
||||||
|
}
|
||||||
58
updates_step05/001-person-properties.rq
Normal file
58
updates_step05/001-person-properties.rq
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
PREFIX schema: <https://schema.org/>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#first_name> ?v . }
|
||||||
|
INSERT { ?s schema:givenName ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#first_name> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#family_name> ?v . }
|
||||||
|
INSERT { ?s schema:familyName ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#family_name> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#birthdate> ?v . }
|
||||||
|
INSERT { ?s schema:birthDate ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#birthdate> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#deathdate> ?v . }
|
||||||
|
INSERT { ?s schema:deathDate ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#deathdate> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#gender> <http://example.org/migrants/Gender-female> . }
|
||||||
|
INSERT { ?s schema:gender schema:Female . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#gender> <http://example.org/migrants/Gender-female> . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#gender> <http://example.org/migrants/Gender-male> . }
|
||||||
|
INSERT { ?s schema:gender schema:Male . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#gender> <http://example.org/migrants/Gender-male> . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#ref-IDBirthPlace> ?v . }
|
||||||
|
INSERT { ?s schema:birthPlace ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#ref-IDBirthPlace> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#ref-IDDeathPlace> ?v . }
|
||||||
|
INSERT { ?s schema:deathPlace ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#ref-IDDeathPlace> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#imageURL> ?v . }
|
||||||
|
INSERT { ?s schema:image ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#imageURL> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#profession> ?v . }
|
||||||
|
INSERT {
|
||||||
|
?s schema:hasOccupation ?occ .
|
||||||
|
?occ a schema:Occupation .
|
||||||
|
?occ schema:name ?name .
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
?s <http://example.org/migrants/person#profession> ?v .
|
||||||
|
BIND(IRI(CONCAT("http://example.org/migrants/occupation/", ENCODE_FOR_URI(STR(?v)))) AS ?occ)
|
||||||
|
BIND(STRLANG(STR(?v), "en") AS ?name)
|
||||||
|
}
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#comment> ?v . }
|
||||||
|
INSERT { ?s rdfs:comment ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#comment> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#Source> ?v . }
|
||||||
|
INSERT { ?s schema:citation ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#Source> ?v . }
|
||||||
35
updates_step05/002-person-identifiers.rq
Normal file
35
updates_step05/002-person-identifiers.rq
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||||
|
PREFIX schema: <https://schema.org/>
|
||||||
|
PREFIX wdtn: <http://www.wikidata.org/prop/direct-normalized/>
|
||||||
|
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#Wikidata> ?v . }
|
||||||
|
INSERT { ?s owl:sameAs ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#Wikidata> ?v . FILTER(isIRI(?v)) }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#Wikipedia> ?v . }
|
||||||
|
INSERT { ?s schema:sameAs ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#Wikipedia> ?v . FILTER(isIRI(?v)) }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#GND> ?v . }
|
||||||
|
INSERT { ?s wdtn:P227 ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#GND> ?v . FILTER(isIRI(?v)) }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#VIAF> ?v . }
|
||||||
|
INSERT { ?s wdtn:P214 ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#VIAF> ?v . FILTER(isIRI(?v)) }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#CERL> ?v . }
|
||||||
|
INSERT { ?s wdtn:P1871 ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#CERL> ?v . FILTER(isIRI(?v)) }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#LCCN> ?v . }
|
||||||
|
INSERT { ?s wdtn:P244 ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#LCCN> ?v . FILTER(isIRI(?v)) }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#ISNI> ?v . }
|
||||||
|
INSERT { ?s wdtn:P213 ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#ISNI> ?v . FILTER(isIRI(?v)) }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/person#SNAC> ?v . }
|
||||||
|
INSERT { ?s wdtn:P3430 ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/person#SNAC> ?v . FILTER(isIRI(?v)) }
|
||||||
25
updates_step05/003-location-properties.rq
Normal file
25
updates_step05/003-location-properties.rq
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||||
|
PREFIX schema: <https://schema.org/>
|
||||||
|
PREFIX wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#>
|
||||||
|
|
||||||
|
DELETE { ?s <http://example.org/migrants/location#latitude> ?v . }
|
||||||
|
INSERT { ?s wgs84:lat ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/location#latitude> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/location#longitude> ?v . }
|
||||||
|
INSERT { ?s wgs84:long ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/location#longitude> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/location#wikipedia> ?v . }
|
||||||
|
INSERT { ?s schema:sameAs ?v . }
|
||||||
|
WHERE {
|
||||||
|
?s <http://example.org/migrants/location#wikipedia> ?v .
|
||||||
|
FILTER(isIRI(?v))
|
||||||
|
}
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/location#wikidata> ?q . }
|
||||||
|
INSERT { ?s owl:sameAs ?wd . }
|
||||||
|
WHERE {
|
||||||
|
?s <http://example.org/migrants/location#wikidata> ?q .
|
||||||
|
BIND(IRI(CONCAT("http://www.wikidata.org/entity/", STR(?q))) AS ?wd)
|
||||||
|
}
|
||||||
14
updates_step05/004-organisation-properties.rq
Normal file
14
updates_step05/004-organisation-properties.rq
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
PREFIX schema: <https://schema.org/>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
|
||||||
|
DELETE { ?s <http://example.org/migrants/organisation#inst_name> ?v . }
|
||||||
|
INSERT { ?s schema:name ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/organisation#inst_name> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/organisation#ref-IDLocation> ?v . }
|
||||||
|
INSERT { ?s schema:location ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/organisation#ref-IDLocation> ?v . }
|
||||||
|
;
|
||||||
|
DELETE { ?s <http://example.org/migrants/organisation#comment> ?v . }
|
||||||
|
INSERT { ?s rdfs:comment ?v . }
|
||||||
|
WHERE { ?s <http://example.org/migrants/organisation#comment> ?v . }
|
||||||
10
updates_step05/005-labels.rq
Normal file
10
updates_step05/005-labels.rq
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX schema: <https://schema.org/>
|
||||||
|
|
||||||
|
INSERT { ?s rdfs:label ?label . }
|
||||||
|
WHERE {
|
||||||
|
?s a <http://example.org/migrants/person> .
|
||||||
|
?s schema:givenName ?fn .
|
||||||
|
?s schema:familyName ?ln .
|
||||||
|
BIND(CONCAT(STR(?fn), " ", STR(?ln)) AS ?label)
|
||||||
|
}
|
||||||
23
updates_step05/006-skos-concepts.rq
Normal file
23
updates_step05/006-skos-concepts.rq
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
|
||||||
|
INSERT { ?s a skos:Concept . ?s skos:prefLabel ?label . }
|
||||||
|
WHERE {
|
||||||
|
VALUES ?type {
|
||||||
|
<http://example.org/migrants/Gender>
|
||||||
|
<http://example.org/migrants/Profession>
|
||||||
|
<http://example.org/migrants/MigrationReason>
|
||||||
|
<http://example.org/migrants/EmploymentType>
|
||||||
|
<http://example.org/migrants/InstitutionType>
|
||||||
|
<http://example.org/migrants/RelationshipType>
|
||||||
|
<http://example.org/migrants/RelationshipTypePrecise>
|
||||||
|
<http://example.org/migrants/Nametype>
|
||||||
|
<http://example.org/migrants/Religion>
|
||||||
|
<http://example.org/migrants/Continent>
|
||||||
|
<http://example.org/migrants/Country>
|
||||||
|
<http://example.org/migrants/City>
|
||||||
|
<http://example.org/migrants/State>
|
||||||
|
}
|
||||||
|
?s a ?type .
|
||||||
|
?s rdfs:label ?label .
|
||||||
|
}
|
||||||
13
updates_step05/007-classes.rq
Normal file
13
updates_step05/007-classes.rq
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
PREFIX schema: <https://schema.org/>
|
||||||
|
|
||||||
|
DELETE { ?s a <http://example.org/migrants/person> . }
|
||||||
|
INSERT { ?s a schema:Person . }
|
||||||
|
WHERE { ?s a <http://example.org/migrants/person> . }
|
||||||
|
;
|
||||||
|
DELETE { ?s a <http://example.org/migrants/location> . }
|
||||||
|
INSERT { ?s a schema:Place . }
|
||||||
|
WHERE { ?s a <http://example.org/migrants/location> . }
|
||||||
|
;
|
||||||
|
DELETE { ?s a <http://example.org/migrants/organisation> . }
|
||||||
|
INSERT { ?s a schema:Organization . }
|
||||||
|
WHERE { ?s a <http://example.org/migrants/organisation> . }
|
||||||
Loading…
Reference in a new issue