From 0813192990a078b9dec6cc28fb242a4d45f5aa40 Mon Sep 17 00:00:00 2001 From: Daniel Hernandez Date: Sat, 28 Feb 2026 17:50:26 +0100 Subject: [PATCH] Add Step 2 example queries and Rake tasks. Same 1-hop and 2-hop CONSTRUCT queries as Step 1, but run against graph-02.ttl to show the result of literal-to-IRI transformations. --- Rakefile | 10 + data_examples/step_02_1hop.ttl | 308 +++++++++++++++++ data_examples/step_02_2hop.ttl | 569 ++++++++++++++++++++++++++++++++ queries/step_02_1hop_example.rq | 25 ++ queries/step_02_2hop_example.rq | 40 +++ 5 files changed, 952 insertions(+) create mode 100644 data_examples/step_02_1hop.ttl create mode 100644 data_examples/step_02_2hop.ttl create mode 100644 queries/step_02_1hop_example.rq create mode 100644 queries/step_02_2hop_example.rq diff --git a/Rakefile b/Rakefile index ace1417..03f0384 100644 --- a/Rakefile +++ b/Rakefile @@ -85,6 +85,14 @@ file 'data_examples/step_01_2hop.ttl' => ['data/graph-02.ttl', 'queries/step_01_ sh "#{SPARQL} queries/step_01_2hop_example.rq --graph data/graph-02.ttl --prettify > data_examples/step_01_2hop.ttl" end +file 'data_examples/step_02_1hop.ttl' => ['data/graph-02.ttl', 'queries/step_02_1hop_example.rq'] do + sh "#{SPARQL} queries/step_02_1hop_example.rq --graph data/graph-02.ttl --prettify > data_examples/step_02_1hop.ttl" +end + +file 'data_examples/step_02_2hop.ttl' => ['data/graph-02.ttl', 'queries/step_02_2hop_example.rq'] do + sh "#{SPARQL} queries/step_02_2hop_example.rq --graph data/graph-02.ttl --prettify > data_examples/step_02_2hop.ttl" +end + # ── Aggregate tasks ────────────────────────────────────────────────────────── GENERATED = %w[ @@ -111,6 +119,8 @@ GRAPHS = %w[ EXAMPLES = %w[ data_examples/step_01_1hop.ttl data_examples/step_01_2hop.ttl + data_examples/step_02_1hop.ttl + data_examples/step_02_2hop.ttl ].freeze task default: GENERATED + GRAPHS + EXAMPLES diff --git a/data_examples/step_02_1hop.ttl b/data_examples/step_02_1hop.ttl new file mode 100644 index 0000000..e835ac1 --- /dev/null +++ b/data_examples/step_02_1hop.ttl @@ -0,0 +1,308 @@ +@prefix location: . +@prefix locationp: . +@prefix rdfs: . +@prefix person: . +@prefix personp: . +@prefix work: . +@prefix workp: . +@prefix migrants: . +person:AbeIre-00 personp:Importsource migrants:ImportSource-Own ; + personp:gender migrants:Gender-female ; + personp:Source "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" ; + personp:SNAC "https://snaccooperative.org/ark:/99166/w6bt189x#resources" ; + personp:ISNI "https://isni.org/isni/0000000035722792" ; + personp:VIAF "https://viaf.org/viaf/39572476" ; + personp:LCCN "https://worldcat.org/identities/lccn-n97053925/" ; + personp:GND "https://d-nb.info/gnd/116002506" ; + personp:Wikidata "https://www.wikidata.org/wiki/Q79002" ; + personp:Wikipedia "https://en.wikipedia.org/wiki/Irene_Abendroth" ; + personp:ref-IDDeathPlace location:AT-Weid-00 ; + personp:deathdate_max "1932-09-01" ; + personp:deathdate "1932-09-01" ; + personp:ref-IDBirthPlace location:UA-Lv-00 ; + personp:birthdate_max "1872-07-14" ; + personp:birthdate "1872-07-14" ; + personp:profession "Opera singer" ; + personp:image_source "https://www.theatermuseum.at/online-sammlung/detail/546808/" ; + personp:imageURL "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/FS_PK267702alt.jpg" ; + personp:religion "Christian" ; + personp:family_name "Abendroth" ; + personp:first_name "Irene" ; + personp:IDPerson "AbeIre-00" ; + a migrants:person . +work:11 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "Deutsches Theater Prag" ; + workp:DateStart_Max "1907-12-31" ; + workp:DateStart_Min "1907-01-01" ; + workp:DateStart_Fuzzy "1907" ; + workp:ref-IDOrganisation migrants:organisation\/79 ; + workp:ref-IDLocation location:CZ-Prag-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "11" ; + a migrants:work . +work:10 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Fuzzy "-" ; + workp:DateStart_Max "1907-12-31" ; + workp:DateStart_Min "1907-01-01" ; + workp:DateStart_Fuzzy "1907" ; + workp:ref-IDOrganisation migrants:organisation\/78 ; + workp:ref-IDLocation location:GER-Leip-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "10" ; + a migrants:work . +work:9 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Fuzzy "-" ; + workp:DateStart_Max "1907-12-31" ; + workp:DateStart_Min "1907-01-01" ; + workp:DateStart_Fuzzy "1907" ; + workp:ref-IDOrganisation migrants:organisation\/77 ; + workp:ref-IDLocation location:GER-Ffm-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "9" ; + a migrants:work . +work:8 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Max "1907-12-31" ; + workp:DateEnd_Min "1907-01-01" ; + workp:DateEnd_Fuzzy "1907" ; + workp:DateStart_Max "1905-12-31" ; + workp:DateStart_Min "1905-01-01" ; + workp:DateStart_Fuzzy "1905" ; + workp:ref-IDOrganisation migrants:organisation\/76 ; + workp:ref-IDLocation location:GER-STR-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "8" ; + a migrants:work . +work:7 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "Between 1905 and 1907 guest engagements at Berliner Hofoper" ; + workp:DateEnd_Max "1907-12-31" ; + workp:DateEnd_Min "1907-01-01" ; + workp:DateEnd_Fuzzy "1907" ; + workp:DateStart_Max "1905-12-31" ; + workp:DateStart_Min "1905-01-01" ; + workp:DateStart_Fuzzy "1905" ; + workp:ref-IDOrganisation migrants:organisation\/75 ; + workp:ref-IDLocation location:GER-BER-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "7" ; + a migrants:work . +work:6 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "she left Vienna because of disagreements with Gustav Mahler (Director" ; + workp:DateEnd_Max "1909-12-31" ; + workp:DateEnd_Min "1909-01-01" ; + workp:DateEnd_Fuzzy "1909" ; + workp:DateStart_Max "1899-12-31" ; + workp:DateStart_Min "1899-01-01" ; + workp:DateStart_Fuzzy "1899" ; + workp:ref-IDOrganisation migrants:organisation\/450 ; + workp:ref-IDLocation location:GER-Dresd-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "6" ; + a migrants:work . +work:5 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Max "1897-03-22" ; + workp:DateEnd_Min "1897-03-22" ; + workp:DateEnd_Fuzzy "1897" ; + workp:DateStart_Max "1894-12-31" ; + workp:DateStart_Min "1894-01-01" ; + workp:DateStart_Fuzzy "1894" ; + workp:ref-IDOrganisation migrants:organisation\/71 ; + workp:ref-IDLocation location:AT-VIE-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "5" ; + a migrants:work . +work:4 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Max "1894-12-31" ; + workp:DateEnd_Min "1894-01-01" ; + workp:DateEnd_Fuzzy "1894" ; + workp:DateStart_Max "1891-12-31" ; + workp:DateStart_Min "1891-01-01" ; + workp:DateStart_Fuzzy "1891" ; + workp:ref-IDOrganisation migrants:organisation\/73 ; + workp:ref-IDLocation location:GER-MUC-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "4" ; + a migrants:work . +work:3 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Max "1891-12-31" ; + workp:DateEnd_Min "1891-01-01" ; + workp:DateEnd_Fuzzy "1891" ; + workp:DateStart_Max "1890-12-31" ; + workp:DateStart_Min "1890-01-01" ; + workp:DateStart_Fuzzy "1890" ; + workp:ref-IDOrganisation migrants:organisation\/72 ; + workp:ref-IDLocation location:LV-RIX-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "3" ; + a migrants:work . +work:2 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Fuzzy "-" ; + workp:DateStart_Max "1889-12-31" ; + workp:DateStart_Min "1889-01-01" ; + workp:DateStart_Fuzzy "1889" ; + workp:ref-IDOrganisation migrants:organisation\/71 ; + workp:ref-IDLocation location:AT-VIE-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "2" ; + a migrants:work . +work:1 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:Employment "Permanent" ; + workp:DateEnd_Fuzzy "-" ; + workp:DateStart_Max "1888-12-31" ; + workp:DateStart_Min "1888-01-01" ; + workp:DateStart_Fuzzy "1888" ; + workp:ref-IDLocation location:CZ-Karlsb-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "1" ; + a migrants:work . +migrants:relationship\/21686 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDLocation location:AT-VIE-00 ; + migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "21686" ; + a migrants:relationship . +migrants:relationship\/16844 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDLocation location:IT-Mila-00 ; + migrants:relationship\#ref-IDPerson_passive person:CamCle-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "16844" ; + a migrants:relationship . +migrants:relationship\/16839 migrants:relationship\#relationshiptype_precise migrants:RelationshipTypePrecise-Sister ; + migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDPerson_passive person:AbeMir-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "16839" ; + a migrants:relationship . +migrants:relationship\/16834 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDLocation location:IT-Mila-00 ; + migrants:relationship\#ref-IDPerson_passive person:LamFra-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "16834" ; + a migrants:relationship . +migrants:relationship\/93 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 ; + migrants:relationship\#ref-IDPerson_active person:WilAur-00 ; + migrants:relationship\#IDRel "93" ; + a migrants:relationship . +migrants:relationship\/38 migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 ; + migrants:relationship\#ref-IDPerson_active person:MamEmm-00 ; + migrants:relationship\#IDRel "38" ; + a migrants:relationship . +migrants:relationship\/3 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#comment "" ; + migrants:relationship\#ref-IDLocation location:AT-VIE-00 ; + migrants:relationship\#ref-IDPerson_passive person:WilAur-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "3" ; + a migrants:relationship . +migrants:relationship\/2 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#comment "" ; + migrants:relationship\#Timeperiod "" ; + migrants:relationship\#ref-IDLocation location:AT-VIE-00 ; + migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "2" ; + a migrants:relationship . +migrants:person_profession\/5120 migrants:person_profession\#profession "Singer" ; + migrants:person_profession\#ref-IDPerson person:AbeIre-00 ; + migrants:person_profession\#IDProfPerson "5120" ; + a migrants:person_profession . +migrants:migration_table\/2118 migrants:migration_table\#reason migrants:MigrationReason-Other ; + migrants:migration_table\#DateStart_Max "1909-12-31" ; + migrants:migration_table\#DateStart_Min "1909-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1909" ; + migrants:migration_table\#ref-IDDestPlace location:AT-Weid-00 ; + migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "2118" ; + a migrants:migration_table . +migrants:migration_table\/2117 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#ref-IDDestPlace location:CZ-Karlsb-00 ; + migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "2117" ; + a migrants:migration_table . +migrants:migration_table\/2114 migrants:migration_table\#reason migrants:MigrationReason-Education ; + migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDStartPlace location:IT-Mila-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "2114" ; + a migrants:migration_table . +migrants:migration_table\/11 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1909-12-31" ; + migrants:migration_table\#DateStart_Min "1909-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1909" ; + migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDStartPlace location:GER-Dresd-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "11" ; + a migrants:migration_table . +migrants:migration_table\/10 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1899-12-31" ; + migrants:migration_table\#DateStart_Min "1899-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1899" ; + migrants:migration_table\#ref-IDDestPlace location:GER-Dresd-00 ; + migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "10" ; + a migrants:migration_table . +migrants:migration_table\/9 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1894-12-31" ; + migrants:migration_table\#DateStart_Min "1894-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1894" ; + migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDStartPlace location:GER-MUC-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "9" ; + a migrants:migration_table . +migrants:migration_table\/8 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1891-12-31" ; + migrants:migration_table\#DateStart_Min "1891-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1891" ; + migrants:migration_table\#ref-IDDestPlace location:GER-MUC-00 ; + migrants:migration_table\#ref-IDStartPlace location:LV-RIX-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "8" ; + a migrants:migration_table . +migrants:migration_table\/7 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1890-12-31" ; + migrants:migration_table\#DateStart_Min "1890-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1890" ; + migrants:migration_table\#ref-IDDestPlace location:LV-RIX-00 ; + migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "7" ; + a migrants:migration_table . +migrants:migration_table\/6 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1889-12-31" ; + migrants:migration_table\#DateStart_Min "1889-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1889" ; + migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDStartPlace location:CZ-Karlsb-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "6" ; + a migrants:migration_table . +migrants:migration_table\/5 migrants:migration_table\#reason migrants:MigrationReason-Education ; + migrants:migration_table\#ref-IDDestPlace location:IT-Mila-00 ; + migrants:migration_table\#ref-IDStartPlace location:UA-Lv-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "5" ; + a migrants:migration_table . diff --git a/data_examples/step_02_2hop.ttl b/data_examples/step_02_2hop.ttl new file mode 100644 index 0000000..05172a4 --- /dev/null +++ b/data_examples/step_02_2hop.ttl @@ -0,0 +1,569 @@ +@prefix location: . +@prefix locationp: . +@prefix rdfs: . +@prefix person: . +@prefix personp: . +@prefix work: . +@prefix workp: . +@prefix migrants: . +migrants:ImportSource-Own rdfs:label "Own"@en ; + a migrants:ImportSource . +migrants:Gender-female rdfs:label "female"@en ; + a migrants:Gender . +person:AbeIre-00 personp:Importsource migrants:ImportSource-Own ; + personp:gender migrants:Gender-female ; + personp:Source "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" ; + personp:SNAC "https://snaccooperative.org/ark:/99166/w6bt189x#resources" ; + personp:ISNI "https://isni.org/isni/0000000035722792" ; + personp:VIAF "https://viaf.org/viaf/39572476" ; + personp:LCCN "https://worldcat.org/identities/lccn-n97053925/" ; + personp:GND "https://d-nb.info/gnd/116002506" ; + personp:Wikidata "https://www.wikidata.org/wiki/Q79002" ; + personp:Wikipedia "https://en.wikipedia.org/wiki/Irene_Abendroth" ; + personp:ref-IDDeathPlace location:AT-Weid-00 ; + personp:deathdate_max "1932-09-01" ; + personp:deathdate "1932-09-01" ; + personp:ref-IDBirthPlace location:UA-Lv-00 ; + personp:birthdate_max "1872-07-14" ; + personp:birthdate "1872-07-14" ; + personp:profession "Opera singer" ; + personp:image_source "https://www.theatermuseum.at/online-sammlung/detail/546808/" ; + personp:imageURL "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/FS_PK267702alt.jpg" ; + personp:religion "Christian" ; + personp:family_name "Abendroth" ; + personp:first_name "Irene" ; + personp:IDPerson "AbeIre-00" ; + a migrants:person . +work:11 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "Deutsches Theater Prag" ; + workp:DateStart_Max "1907-12-31" ; + workp:DateStart_Min "1907-01-01" ; + workp:DateStart_Fuzzy "1907" ; + workp:ref-IDOrganisation migrants:organisation\/79 ; + workp:ref-IDLocation location:CZ-Prag-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "11" ; + a migrants:work . +work:10 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Fuzzy "-" ; + workp:DateStart_Max "1907-12-31" ; + workp:DateStart_Min "1907-01-01" ; + workp:DateStart_Fuzzy "1907" ; + workp:ref-IDOrganisation migrants:organisation\/78 ; + workp:ref-IDLocation location:GER-Leip-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "10" ; + a migrants:work . +work:9 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Fuzzy "-" ; + workp:DateStart_Max "1907-12-31" ; + workp:DateStart_Min "1907-01-01" ; + workp:DateStart_Fuzzy "1907" ; + workp:ref-IDOrganisation migrants:organisation\/77 ; + workp:ref-IDLocation location:GER-Ffm-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "9" ; + a migrants:work . +work:8 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Max "1907-12-31" ; + workp:DateEnd_Min "1907-01-01" ; + workp:DateEnd_Fuzzy "1907" ; + workp:DateStart_Max "1905-12-31" ; + workp:DateStart_Min "1905-01-01" ; + workp:DateStart_Fuzzy "1905" ; + workp:ref-IDOrganisation migrants:organisation\/76 ; + workp:ref-IDLocation location:GER-STR-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "8" ; + a migrants:work . +work:7 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "Between 1905 and 1907 guest engagements at Berliner Hofoper" ; + workp:DateEnd_Max "1907-12-31" ; + workp:DateEnd_Min "1907-01-01" ; + workp:DateEnd_Fuzzy "1907" ; + workp:DateStart_Max "1905-12-31" ; + workp:DateStart_Min "1905-01-01" ; + workp:DateStart_Fuzzy "1905" ; + workp:ref-IDOrganisation migrants:organisation\/75 ; + workp:ref-IDLocation location:GER-BER-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "7" ; + a migrants:work . +work:6 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "she left Vienna because of disagreements with Gustav Mahler (Director" ; + workp:DateEnd_Max "1909-12-31" ; + workp:DateEnd_Min "1909-01-01" ; + workp:DateEnd_Fuzzy "1909" ; + workp:DateStart_Max "1899-12-31" ; + workp:DateStart_Min "1899-01-01" ; + workp:DateStart_Fuzzy "1899" ; + workp:ref-IDOrganisation migrants:organisation\/450 ; + workp:ref-IDLocation location:GER-Dresd-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "6" ; + a migrants:work . +work:5 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Max "1897-03-22" ; + workp:DateEnd_Min "1897-03-22" ; + workp:DateEnd_Fuzzy "1897" ; + workp:DateStart_Max "1894-12-31" ; + workp:DateStart_Min "1894-01-01" ; + workp:DateStart_Fuzzy "1894" ; + workp:ref-IDOrganisation migrants:organisation\/71 ; + workp:ref-IDLocation location:AT-VIE-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "5" ; + a migrants:work . +work:4 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Max "1894-12-31" ; + workp:DateEnd_Min "1894-01-01" ; + workp:DateEnd_Fuzzy "1894" ; + workp:DateStart_Max "1891-12-31" ; + workp:DateStart_Min "1891-01-01" ; + workp:DateStart_Fuzzy "1891" ; + workp:ref-IDOrganisation migrants:organisation\/73 ; + workp:ref-IDLocation location:GER-MUC-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "4" ; + a migrants:work . +work:3 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Max "1891-12-31" ; + workp:DateEnd_Min "1891-01-01" ; + workp:DateEnd_Fuzzy "1891" ; + workp:DateStart_Max "1890-12-31" ; + workp:DateStart_Min "1890-01-01" ; + workp:DateStart_Fuzzy "1890" ; + workp:ref-IDOrganisation migrants:organisation\/72 ; + workp:ref-IDLocation location:LV-RIX-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "3" ; + a migrants:work . +work:2 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:DateEnd_Fuzzy "-" ; + workp:DateStart_Max "1889-12-31" ; + workp:DateStart_Min "1889-01-01" ; + workp:DateStart_Fuzzy "1889" ; + workp:ref-IDOrganisation migrants:organisation\/71 ; + workp:ref-IDLocation location:AT-VIE-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "2" ; + a migrants:work . +work:1 workp:EmploymentType migrants:EmploymentType-Tour ; + workp:Profession migrants:Profession-Singer ; + workp:comment "" ; + workp:Employment "Permanent" ; + workp:DateEnd_Fuzzy "-" ; + workp:DateStart_Max "1888-12-31" ; + workp:DateStart_Min "1888-01-01" ; + workp:DateStart_Fuzzy "1888" ; + workp:ref-IDLocation location:CZ-Karlsb-00 ; + workp:ref-IDPerson person:AbeIre-00 ; + workp:IDWork "1" ; + a migrants:work . +migrants:relationship\/21686 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDLocation location:AT-VIE-00 ; + migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "21686" ; + a migrants:relationship . +migrants:relationship\/16844 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDLocation location:IT-Mila-00 ; + migrants:relationship\#ref-IDPerson_passive person:CamCle-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "16844" ; + a migrants:relationship . +migrants:relationship\/16839 migrants:relationship\#relationshiptype_precise migrants:RelationshipTypePrecise-Sister ; + migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDPerson_passive person:AbeMir-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "16839" ; + a migrants:relationship . +migrants:relationship\/16834 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDLocation location:IT-Mila-00 ; + migrants:relationship\#ref-IDPerson_passive person:LamFra-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "16834" ; + a migrants:relationship . +migrants:relationship\/93 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 ; + migrants:relationship\#ref-IDPerson_active person:WilAur-00 ; + migrants:relationship\#IDRel "93" ; + a migrants:relationship . +migrants:relationship\/38 migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 ; + migrants:relationship\#ref-IDPerson_active person:MamEmm-00 ; + migrants:relationship\#IDRel "38" ; + a migrants:relationship . +migrants:relationship\/3 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#comment "" ; + migrants:relationship\#ref-IDLocation location:AT-VIE-00 ; + migrants:relationship\#ref-IDPerson_passive person:WilAur-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "3" ; + a migrants:relationship . +migrants:relationship\/2 migrants:relationship\#Relationshiptype migrants:RelationshipType- ; + migrants:relationship\#comment "" ; + migrants:relationship\#Timeperiod "" ; + migrants:relationship\#ref-IDLocation location:AT-VIE-00 ; + migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ; + migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ; + migrants:relationship\#IDRel "2" ; + a migrants:relationship . +migrants:person_profession\/5120 migrants:person_profession\#profession "Singer" ; + migrants:person_profession\#ref-IDPerson person:AbeIre-00 ; + migrants:person_profession\#IDProfPerson "5120" ; + a migrants:person_profession . +migrants:migration_table\/2118 migrants:migration_table\#reason migrants:MigrationReason-Other ; + migrants:migration_table\#DateStart_Max "1909-12-31" ; + migrants:migration_table\#DateStart_Min "1909-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1909" ; + migrants:migration_table\#ref-IDDestPlace location:AT-Weid-00 ; + migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "2118" ; + a migrants:migration_table . +migrants:migration_table\/2117 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#ref-IDDestPlace location:CZ-Karlsb-00 ; + migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "2117" ; + a migrants:migration_table . +migrants:migration_table\/2114 migrants:migration_table\#reason migrants:MigrationReason-Education ; + migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDStartPlace location:IT-Mila-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "2114" ; + a migrants:migration_table . +migrants:migration_table\/11 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1909-12-31" ; + migrants:migration_table\#DateStart_Min "1909-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1909" ; + migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDStartPlace location:GER-Dresd-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "11" ; + a migrants:migration_table . +migrants:migration_table\/10 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1899-12-31" ; + migrants:migration_table\#DateStart_Min "1899-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1899" ; + migrants:migration_table\#ref-IDDestPlace location:GER-Dresd-00 ; + migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "10" ; + a migrants:migration_table . +migrants:migration_table\/9 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1894-12-31" ; + migrants:migration_table\#DateStart_Min "1894-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1894" ; + migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDStartPlace location:GER-MUC-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "9" ; + a migrants:migration_table . +migrants:migration_table\/8 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1891-12-31" ; + migrants:migration_table\#DateStart_Min "1891-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1891" ; + migrants:migration_table\#ref-IDDestPlace location:GER-MUC-00 ; + migrants:migration_table\#ref-IDStartPlace location:LV-RIX-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "8" ; + a migrants:migration_table . +migrants:migration_table\/7 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1890-12-31" ; + migrants:migration_table\#DateStart_Min "1890-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1890" ; + migrants:migration_table\#ref-IDDestPlace location:LV-RIX-00 ; + migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "7" ; + a migrants:migration_table . +migrants:migration_table\/6 migrants:migration_table\#reason migrants:MigrationReason-Labour ; + migrants:migration_table\#DateStart_Max "1889-12-31" ; + migrants:migration_table\#DateStart_Min "1889-01-01" ; + migrants:migration_table\#DateStart_Fuzzy "1889" ; + migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ; + migrants:migration_table\#ref-IDStartPlace location:CZ-Karlsb-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "6" ; + a migrants:migration_table . +migrants:migration_table\/5 migrants:migration_table\#reason migrants:MigrationReason-Education ; + migrants:migration_table\#ref-IDDestPlace location:IT-Mila-00 ; + migrants:migration_table\#ref-IDStartPlace location:UA-Lv-00 ; + migrants:migration_table\#ref-IDPerson person:AbeIre-00 ; + migrants:migration_table\#IDMig "5" ; + a migrants:migration_table . +migrants:organisation\/79 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#ref-IDLocation location:CZ-Prag-00 ; + migrants:organisation\#inst_name "Deutsches Theater Prag" ; + migrants:organisation\#IDOrganisation "79" ; + a migrants:organisation . +location:CZ-Prag-00 locationp:City migrants:City-Prague ; + locationp:Country migrants:Country-CzechRepublic ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "3067696" ; + locationp:wikidata "Q1085" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Prague" ; + locationp:longitude "14.4167" ; + locationp:latitude "50.0833" ; + locationp:IDLocation "CZ-Prag-00" ; + a migrants:location . +migrants:organisation\/78 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#ref-IDLocation location:GER-Leip-00 ; + migrants:organisation\#inst_name "Oper Leipzig" ; + migrants:organisation\#IDOrganisation "78" ; + a migrants:organisation . +location:GER-Leip-00 locationp:City migrants:City-Leipzig ; + locationp:Country migrants:Country-Germany ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "2879139" ; + locationp:wikidata "Q2079" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Leipzig" ; + locationp:longitude "12.3833" ; + locationp:latitude "51.3333" ; + locationp:IDLocation "GER-Leip-00" ; + a migrants:location . +migrants:organisation\/77 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#ref-IDLocation location:GER-Ffm-00 ; + migrants:organisation\#inst_name "Oper Frankfurt" ; + migrants:organisation\#IDOrganisation "77" ; + a migrants:organisation . +location:GER-Ffm-00 locationp:City migrants:City-Frankfurt ; + locationp:Country migrants:Country-Germany ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "2925533" ; + locationp:wikidata "Q1794" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Frankfurt" ; + locationp:longitude "8.68333" ; + locationp:latitude "50.1167" ; + locationp:IDLocation "GER-Ffm-00" ; + a migrants:location . +migrants:organisation\/76 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#ref-IDLocation location:GER-STR-00 ; + migrants:organisation\#inst_name "Hofoper Stuttgart" ; + migrants:organisation\#IDOrganisation "76" ; + a migrants:organisation . +location:GER-STR-00 locationp:City migrants:City-Stuttgart ; + locationp:Country migrants:Country-Germany ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "2825297" ; + locationp:wikidata "Q1022" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Stuttgart" ; + locationp:longitude "9.184" ; + locationp:latitude "48.782" ; + locationp:IDLocation "GER-STR-00" ; + a migrants:location . +migrants:organisation\/75 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#ref-IDLocation location:GER-BER-00 ; + migrants:organisation\#inst_name "Königliche Oper, Berlin" ; + migrants:organisation\#IDOrganisation "75" ; + a migrants:organisation . +location:GER-BER-00 locationp:City migrants:City-Berlin ; + locationp:Country migrants:Country-Germany ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "2950159" ; + locationp:wikidata "Q64" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Berlin" ; + locationp:longitude "13.405" ; + locationp:latitude "52.52" ; + locationp:IDLocation "GER-BER-00" ; + a migrants:location . +migrants:organisation\/450 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#ref-IDLocation location:GER-Dresd-00 ; + migrants:organisation\#inst_name "Hofoper Dresden" ; + migrants:organisation\#IDOrganisation "450" ; + a migrants:organisation . +migrants:organisation\/73 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#ref-IDLocation location:GER-MUC-00 ; + migrants:organisation\#inst_name "Königl. Hoftheater in München" ; + migrants:organisation\#IDOrganisation "73" ; + a migrants:organisation . +migrants:organisation\/72 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#inst_name "Oper Riga" ; + migrants:organisation\#IDOrganisation "72" ; + a migrants:organisation . +migrants:organisation\/71 migrants:organisation\#InstType migrants:InstitutionType-Theatre ; + migrants:organisation\#comment "" ; + migrants:organisation\#inst_name "Hofoper Wien" ; + migrants:organisation\#IDOrganisation "71" ; + a migrants:organisation . +migrants:EmploymentType-Tour rdfs:label "Tour"@en ; + a migrants:EmploymentType . +migrants:Profession-Singer rdfs:label "Singer"@en ; + a migrants:Profession . +person:CamCle-00 personp:Importsource migrants:ImportSource-Own ; + personp:gender migrants:Gender-female ; + personp:imageURL "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png" ; + personp:family_name "Campanini" ; + personp:first_name "Cleofonte" ; + personp:IDPerson "CamCle-00" ; + a migrants:person . +migrants:RelationshipTypePrecise-Sister rdfs:label "Sister"@en ; + a migrants:RelationshipTypePrecise . +person:AbeMir-00 personp:Importsource migrants:ImportSource-Own ; + personp:gender migrants:Gender-female ; + personp:imageURL "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png" ; + personp:family_name "Abendroth" ; + personp:first_name "Mira" ; + personp:IDPerson "AbeMir-00" ; + a migrants:person . +person:LamFra-00 personp:Importsource migrants:ImportSource-Own ; + personp:gender migrants:Gender-male ; + personp:imageURL "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png" ; + personp:family_name "Lamperti" ; + personp:first_name "Francesco Lamperti" ; + personp:IDPerson "LamFra-00" ; + a migrants:person . +person:WilAur-00 personp:Importsource migrants:ImportSource-Own ; + personp:gender migrants:Gender-female ; + personp:Source "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." ; + personp:comment "born Strusin[e]/Galizien (Strussiw/UA)\n" ; + personp:CERL "https://data.cerl.org/thesaurus/cnp02080470" ; + personp:VIAF "https://viaf.org/viaf/304930607" ; + personp:GND "https://d-nb.info/gnd/1037100972" ; + personp:Wikidata "https://www.wikidata.org/wiki/Q18018523" ; + personp:Wikipedia "https://de.wikipedia.org/wiki/Aurelie_Wilczek" ; + personp:ref-IDDeathPlace location:AT-Gois-00 ; + personp:deathdate_max "1927-08-06" ; + personp:deathdate "1927-08-06" ; + personp:ref-IDBirthPlace location:PL-Galz-00 ; + personp:birthdate_max "1845-01-20" ; + personp:birthdate "1845-01-20" ; + personp:profession "Singer, Singing Teacher" ; + personp:image_source "-" ; + personp:imageURL "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png" ; + personp:family_name "Wilczek" ; + personp:first_name "Aurelie" ; + personp:IDPerson "WilAur-00" ; + a migrants:person . +migrants:RelationshipType- rdfs:label ""@en ; + a migrants:RelationshipType . +person:MamEmm-00 personp:Importsource migrants:ImportSource-Own ; + personp:gender migrants:Gender-female ; + personp:CERL "https://data.cerl.org/thesaurus/cnp01075147" ; + personp:VIAF "https://viaf.org/viaf/62289633" ; + personp:GND "https://d-nb.info/gnd/116021799" ; + personp:Wikidata "https://www.wikidata.org/wiki/Q17425396" ; + personp:Wikipedia "https://de.wikipedia.org/wiki/Emma_Mampe-Babnigg" ; + personp:ref-IDDeathPlace location:AT-VIE-00 ; + personp:deathdate_max "1904-05-05" ; + personp:deathdate "1904-05-05" ; + personp:ref-IDBirthPlace location:HU-Pest-00 ; + personp:birthdate_max "1825-02-25" ; + personp:birthdate "1825-02-25" ; + personp:profession "Opera Singer,Soprano, Singing Teacher" ; + personp:imageURL "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/placeholder_t_mig_2024.png" ; + personp:family_name "Mampé-Babnigg" ; + personp:first_name "Emma" ; + personp:IDPerson "MamEmm-00" ; + a migrants:person . +migrants:MigrationReason-Other rdfs:label "Other"@en ; + a migrants:MigrationReason . +location:AT-Weid-00 locationp:City migrants:City-Weidling ; + locationp:State migrants:State-Statzendorf ; + locationp:Country migrants:Country-Austria ; + locationp:Continent migrants:Continent-Europe ; + locationp:wikidata "Q484858" ; + locationp:longitude "15.6408" ; + locationp:latitude "48.3081" ; + locationp:IDLocation "AT-Weid-00" ; + a migrants:location . +location:GER-Dresd-00 locationp:City migrants:City-Dresden ; + locationp:Country migrants:Country-Germany ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "2935022" ; + locationp:wikidata "Q1731" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Dresden" ; + locationp:longitude "13.74" ; + locationp:latitude "51.05" ; + locationp:IDLocation "GER-Dresd-00" ; + a migrants:location . +location:GER-MUC-00 locationp:City migrants:City-Munich ; + locationp:Country migrants:Country-Germany ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "2867714" ; + locationp:wikidata "Q1726" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Munich" ; + locationp:longitude "11.5667" ; + locationp:latitude "48.1333" ; + locationp:IDLocation "GER-MUC-00" ; + a migrants:location . +location:LV-RIX-00 locationp:City migrants:City-Riga ; + locationp:Country migrants:Country-Latvia ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "456172" ; + locationp:wikidata "Q1773" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Riga" ; + locationp:longitude "24.1064" ; + locationp:latitude "56.9489" ; + locationp:IDLocation "LV-RIX-00" ; + a migrants:location . +migrants:MigrationReason-Labour rdfs:label "Labour"@en ; + a migrants:MigrationReason . +location:AT-VIE-00 locationp:City migrants:City-Vienna ; + locationp:Country migrants:Country-Austria ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "2761369" ; + locationp:wikidata "Q1741" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Vienna" ; + locationp:longitude "16.3634" ; + locationp:latitude "48.21" ; + locationp:IDLocation "AT-VIE-00" ; + a migrants:location . +location:CZ-Karlsb-00 locationp:City migrants:City-KarlovyVary ; + locationp:Country migrants:Country-CzechRepublic ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "3073803" ; + locationp:wikidata "Q384544" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Karlovy_Vary" ; + locationp:longitude "12.8725" ; + locationp:latitude "50.2306" ; + locationp:IDLocation "CZ-Karlsb-00" ; + a migrants:location . +migrants:MigrationReason-Education rdfs:label "Education"@en ; + a migrants:MigrationReason . +location:IT-Mila-00 locationp:City migrants:City-Milan ; + locationp:Country migrants:Country-Italy ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "3173435" ; + locationp:wikidata "Q490" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Milan" ; + locationp:longitude "9.19" ; + locationp:latitude "45.4669" ; + locationp:IDLocation "IT-Mila-00" ; + a migrants:location . +location:UA-Lv-00 locationp:City migrants:City-Lviv ; + locationp:Country migrants:Country-Ukraine ; + locationp:Continent migrants:Continent-Europe ; + locationp:GeoNamesID "702550" ; + locationp:wikidata "Q36036" ; + locationp:wikipedia "https://en.wikipedia.org/wiki/Lviv" ; + locationp:longitude "24.0142" ; + locationp:latitude "49.83" ; + locationp:IDLocation "UA-Lv-00" ; + a migrants:location . diff --git a/queries/step_02_1hop_example.rq b/queries/step_02_1hop_example.rq new file mode 100644 index 0000000..c6a84a9 --- /dev/null +++ b/queries/step_02_1hop_example.rq @@ -0,0 +1,25 @@ +PREFIX rdfs: +PREFIX migrants: +PREFIX person: +PREFIX personp: +PREFIX work: +PREFIX workp: +PREFIX location: +PREFIX locationp: + +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 . + } +} diff --git a/queries/step_02_2hop_example.rq b/queries/step_02_2hop_example.rq new file mode 100644 index 0000000..820f421 --- /dev/null +++ b/queries/step_02_2hop_example.rq @@ -0,0 +1,40 @@ +PREFIX rdfs: +PREFIX migrants: +PREFIX person: +PREFIX personp: +PREFIX work: +PREFIX workp: +PREFIX location: +PREFIX locationp: + +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) + } +}