migrants/data_examples/step_06_1hop.ttl
Daniel Hernandez c79ae45859 Add Step 6: map to Theatre Migrants ontology (tm: namespace)
SPARQL CONSTRUCT queries transform graph-05 into graph-06 using the tm:
vocabulary. Persons keep schema:Person properties, works become
org:Membership, professions become schema:Occupation, enumerations
become skos:Concept with tm: subtypes. Split 010-occupations into two
query files (passthrough + retype). Includes step-06 binary, Rakefile
tasks, and example data for Irene Abendroth.
2026-03-01 12:20:40 +01:00

303 lines
16 KiB
Turtle

Loading data/graph-06.ttl...
Loaded 148985 triples.
Running queries/step_06_1hop_example.rq...
Constructed 259 triples.
@prefix tm: <https://daniel.degu.cl/ontologies/theatre-migrants/> .
@prefix wdtn: <http://www.wikidata.org/prop/direct-normalized/> .
@prefix wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@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 owl: <http://www.w3.org/2002/07/owl#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix schema: <https://schema.org/> .
person:AbeIre-00 a schema:Person ;
rdfs:label "Irene Abendroth" ;
schema:givenName "Irene" ;
schema:familyName "Abendroth" ;
schema:birthDate "1872-07-14"^^<http://www.w3.org/2001/XMLSchema#date> ;
schema:deathDate "1932-09-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
schema:gender schema:Female ;
schema:birthPlace <http://example.org/migrants/location/UA-Lv-00> ;
schema:deathPlace <http://example.org/migrants/location/AT-Weid-00> ;
schema:image <https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/FS_PK267702alt.jpg> ;
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&amp;datum=18880708&amp;query=%22Abendroth+Karlsbad%22~25&amp;ref=anno-search&amp;seite=2\n\n" ;
schema:hasOccupation <http://example.org/migrants/occupation/Opera%20singer> ;
schema:sameAs <https://en.wikipedia.org/wiki/Irene_Abendroth> ;
owl:sameAs <https://www.wikidata.org/wiki/Q79002> ;
wdtn:P214 <https://viaf.org/viaf/39572476> ;
wdtn:P227 <https://d-nb.info/gnd/116002506> ;
wdtn:P213 <https://isni.org/isni/0000000035722792> ;
wdtn:P244 <https://worldcat.org/identities/lccn-n97053925/> ;
wdtn:P3430 <https://snaccooperative.org/ark:/99166/w6bt189x#resources> ;
tm:importSource <http://example.org/migrants/ImportSource-Own> ;
tm:birthDateMax "1872-07-14"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:deathDateMax "1932-09-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:religionLabel "Christian" ;
tm:imageSource <https://www.theatermuseum.at/online-sammlung/detail/546808/> .
<http://example.org/migrants/person_profession/5120> a tm:PersonProfession ;
tm:personProfessionPerson person:AbeIre-00 ;
tm:professionLabel "Singer" .
<http://example.org/migrants/relationship/2> a tm:Relationship ;
tm:activePerson person:AbeIre-00 ;
tm:passivePerson person:MamEmm-00 ;
tm:relationshipLocation <http://example.org/migrants/location/AT-VIE-00> ;
tm:relationshipType <http://example.org/migrants/RelationshipType-> .
<http://example.org/migrants/relationship/3> a tm:Relationship ;
tm:activePerson person:AbeIre-00 ;
tm:passivePerson person:WilAur-00 ;
tm:relationshipLocation <http://example.org/migrants/location/AT-VIE-00> ;
tm:relationshipType <http://example.org/migrants/RelationshipType-> .
<http://example.org/migrants/relationship/38> a tm:Relationship ;
tm:activePerson person:MamEmm-00 ;
tm:passivePerson person:AbeIre-00 .
<http://example.org/migrants/relationship/93> a tm:Relationship ;
tm:activePerson person:WilAur-00 ;
tm:passivePerson person:AbeIre-00 ;
tm:relationshipType <http://example.org/migrants/RelationshipType-> .
<http://example.org/migrants/relationship/16834> a tm:Relationship ;
tm:activePerson person:AbeIre-00 ;
tm:passivePerson person:LamFra-00 ;
tm:relationshipLocation <http://example.org/migrants/location/IT-Mila-00> ;
tm:relationshipType <http://example.org/migrants/RelationshipType-> .
<http://example.org/migrants/relationship/16839> a tm:Relationship ;
tm:activePerson person:AbeIre-00 ;
tm:passivePerson person:AbeMir-00 ;
tm:relationshipType <http://example.org/migrants/RelationshipType-> ;
tm:relationshipTypePrecise <http://example.org/migrants/RelationshipTypePrecise-Sister> .
<http://example.org/migrants/relationship/16844> a tm:Relationship ;
tm:activePerson person:AbeIre-00 ;
tm:passivePerson person:CamCle-00 ;
tm:relationshipLocation <http://example.org/migrants/location/IT-Mila-00> ;
tm:relationshipType <http://example.org/migrants/RelationshipType-> .
<http://example.org/migrants/relationship/21686> a tm:Relationship ;
tm:activePerson person:AbeIre-00 ;
tm:passivePerson person:MamEmm-00 ;
tm:relationshipLocation <http://example.org/migrants/location/AT-VIE-00> ;
tm:relationshipType <http://example.org/migrants/RelationshipType-> .
<http://example.org/migrants/work/1> a org:Membership ;
org:member person:AbeIre-00 ;
tm:workLocation <http://example.org/migrants/location/CZ-Karlsb-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
tm:employment "Permanent" ;
tm:dateStartMin "1888-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1888-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1888" ;
tm:dateEndFuzzy "-" .
<http://example.org/migrants/work/2> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/71> ;
tm:workLocation <http://example.org/migrants/location/AT-VIE-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
tm:dateStartMin "1889-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1889-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1889" ;
tm:dateEndFuzzy "-" .
<http://example.org/migrants/work/3> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/72> ;
tm:workLocation <http://example.org/migrants/location/LV-RIX-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
tm:dateStartMin "1890-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1890-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMin "1891-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMax "1891-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1890" ;
tm:dateEndFuzzy "1891" .
<http://example.org/migrants/work/4> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/73> ;
tm:workLocation <http://example.org/migrants/location/GER-MUC-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
tm:dateStartMin "1891-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1891-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMin "1894-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMax "1894-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1891" ;
tm:dateEndFuzzy "1894" .
<http://example.org/migrants/work/5> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/71> ;
tm:workLocation <http://example.org/migrants/location/AT-VIE-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
tm:dateStartMin "1894-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1894-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMin "1897-03-22"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMax "1897-03-22"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1894" ;
tm:dateEndFuzzy "1897" .
<http://example.org/migrants/work/6> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/450> ;
tm:workLocation <http://example.org/migrants/location/GER-Dresd-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
rdfs:comment "she left Vienna because of disagreements with Gustav Mahler (Director" ;
tm:dateStartMin "1899-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1899-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMin "1909-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMax "1909-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1899" ;
tm:dateEndFuzzy "1909" .
<http://example.org/migrants/work/7> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/75> ;
tm:workLocation <http://example.org/migrants/location/GER-BER-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
rdfs:comment "Between 1905 and 1907 guest engagements at Berliner Hofoper" ;
tm:dateStartMin "1905-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1905-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMin "1907-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMax "1907-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1905" ;
tm:dateEndFuzzy "1907" .
<http://example.org/migrants/work/8> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/76> ;
tm:workLocation <http://example.org/migrants/location/GER-STR-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
tm:dateStartMin "1905-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1905-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMin "1907-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateEndMax "1907-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1905" ;
tm:dateEndFuzzy "1907" .
<http://example.org/migrants/work/9> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/77> ;
tm:workLocation <http://example.org/migrants/location/GER-Ffm-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
tm:dateStartMin "1907-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1907-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1907" ;
tm:dateEndFuzzy "-" .
<http://example.org/migrants/work/10> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/78> ;
tm:workLocation <http://example.org/migrants/location/GER-Leip-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
tm:dateStartMin "1907-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1907-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1907" ;
tm:dateEndFuzzy "-" .
<http://example.org/migrants/work/11> a org:Membership ;
org:member person:AbeIre-00 ;
org:organization <http://example.org/migrants/organisation/79> ;
tm:workLocation <http://example.org/migrants/location/CZ-Prag-00> ;
tm:profession <http://example.org/migrants/Profession-Singer> ;
tm:employmentType <http://example.org/migrants/EmploymentType-Tour> ;
rdfs:comment "Deutsches Theater Prag" ;
tm:dateStartMin "1907-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1907-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1907" .
<http://example.org/migrants/migration_table/5> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/UA-Lv-00> ;
tm:destinationPlace <http://example.org/migrants/location/IT-Mila-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Education> .
<http://example.org/migrants/migration_table/6> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/CZ-Karlsb-00> ;
tm:destinationPlace <http://example.org/migrants/location/AT-VIE-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Labour> ;
tm:dateStartMin "1889-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1889-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1889" .
<http://example.org/migrants/migration_table/7> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/AT-VIE-00> ;
tm:destinationPlace <http://example.org/migrants/location/LV-RIX-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Labour> ;
tm:dateStartMin "1890-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1890-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1890" .
<http://example.org/migrants/migration_table/8> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/LV-RIX-00> ;
tm:destinationPlace <http://example.org/migrants/location/GER-MUC-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Labour> ;
tm:dateStartMin "1891-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1891-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1891" .
<http://example.org/migrants/migration_table/9> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/GER-MUC-00> ;
tm:destinationPlace <http://example.org/migrants/location/AT-VIE-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Labour> ;
tm:dateStartMin "1894-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1894-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1894" .
<http://example.org/migrants/migration_table/10> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/AT-VIE-00> ;
tm:destinationPlace <http://example.org/migrants/location/GER-Dresd-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Labour> ;
tm:dateStartMin "1899-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1899-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1899" .
<http://example.org/migrants/migration_table/11> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/GER-Dresd-00> ;
tm:destinationPlace <http://example.org/migrants/location/AT-VIE-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Labour> ;
tm:dateStartMin "1909-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1909-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1909" .
<http://example.org/migrants/migration_table/2114> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/IT-Mila-00> ;
tm:destinationPlace <http://example.org/migrants/location/AT-VIE-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Education> .
<http://example.org/migrants/migration_table/2117> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/AT-VIE-00> ;
tm:destinationPlace <http://example.org/migrants/location/CZ-Karlsb-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Labour> .
<http://example.org/migrants/migration_table/2118> a tm:Migration ;
tm:migrant person:AbeIre-00 ;
tm:startPlace <http://example.org/migrants/location/AT-VIE-00> ;
tm:destinationPlace <http://example.org/migrants/location/AT-Weid-00> ;
tm:reason <http://example.org/migrants/MigrationReason-Other> ;
tm:dateStartMin "1909-01-01"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartMax "1909-12-31"^^<http://www.w3.org/2001/XMLSchema#date> ;
tm:dateStartFuzzy "1909" .