Add prefixes to SPARQL queries and prettify example Turtle output.

Add namespace prefixes (rdfs, migrants, person, personp, work, workp,
location, locationp) to query files. Use --prettify in Rake tasks so
example files use abbreviated IRIs. Fix 2hop task to use graph-02.
This commit is contained in:
Daniel Hernandez 2026-02-28 17:37:52 +01:00
parent 6870f9b726
commit 0c1da570bb
5 changed files with 894 additions and 846 deletions

View file

@ -78,11 +78,11 @@ end
SPARQL = File.expand_path('~/.cargo/bin/sparql') SPARQL = File.expand_path('~/.cargo/bin/sparql')
file 'data_examples/step_01_1hop.ttl' => ['data/graph-01.ttl', 'queries/step_01_1hop_example.rq'] do file 'data_examples/step_01_1hop.ttl' => ['data/graph-01.ttl', 'queries/step_01_1hop_example.rq'] do
sh "#{SPARQL} queries/step_01_1hop_example.rq --graph data/graph-01.ttl > data_examples/step_01_1hop.ttl" sh "#{SPARQL} queries/step_01_1hop_example.rq --graph data/graph-01.ttl --prettify > data_examples/step_01_1hop.ttl"
end end
file 'data_examples/step_01_2hop.ttl' => ['data/graph-01.ttl', 'queries/step_01_2hop_example.rq'] do file 'data_examples/step_01_2hop.ttl' => ['data/graph-02.ttl', 'queries/step_01_2hop_example.rq'] do
sh "#{SPARQL} queries/step_01_2hop_example.rq --graph data/graph-01.ttl > data_examples/step_01_2hop.ttl" sh "#{SPARQL} queries/step_01_2hop_example.rq --graph data/graph-02.ttl --prettify > data_examples/step_01_2hop.ttl"
end end
# ── Aggregate tasks ────────────────────────────────────────────────────────── # ── Aggregate tasks ──────────────────────────────────────────────────────────

View file

@ -1,300 +1,308 @@
<http://example.org/migrants/person/AbeIre-00> a <http://example.org/migrants/person> ; @prefix location: <http://example.org/migrants/location/> .
<http://example.org/migrants/person#IDPerson> "AbeIre-00" ; @prefix locationp: <http://example.org/migrants/location#> .
<http://example.org/migrants/person#first_name> "Irene" ; @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<http://example.org/migrants/person#family_name> "Abendroth" ; @prefix person: <http://example.org/migrants/person/> .
<http://example.org/migrants/person#religion> "Christian" ; @prefix personp: <http://example.org/migrants/person#> .
<http://example.org/migrants/person#gender> "female" ; @prefix work: <http://example.org/migrants/work/> .
<http://example.org/migrants/person#imageURL> "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/FS_PK267702alt.jpg" ; @prefix workp: <http://example.org/migrants/work#> .
<http://example.org/migrants/person#image_source> "https://www.theatermuseum.at/online-sammlung/detail/546808/" ; @prefix migrants: <http://example.org/migrants/> .
<http://example.org/migrants/person#profession> "Opera singer" ; person:AbeIre-00 a migrants:person ;
<http://example.org/migrants/person#birthdate> "1872-07-14" ; personp:IDPerson "AbeIre-00" ;
<http://example.org/migrants/person#birthdate_max> "1872-07-14" ; personp:first_name "Irene" ;
<http://example.org/migrants/person#ref-IDBirthPlace> <http://example.org/migrants/location/UA-Lv-00> ; personp:family_name "Abendroth" ;
<http://example.org/migrants/person#deathdate> "1932-09-01" ; personp:religion "Christian" ;
<http://example.org/migrants/person#deathdate_max> "1932-09-01" ; personp:gender "female" ;
<http://example.org/migrants/person#ref-IDDeathPlace> <http://example.org/migrants/location/AT-Weid-00> ; personp:imageURL "https://www.t-migrants.gwi.uni-muenchen.de/wp-content/uploads/images/FS_PK267702alt.jpg" ;
<http://example.org/migrants/person#Wikipedia> "https://en.wikipedia.org/wiki/Irene_Abendroth" ; personp:image_source "https://www.theatermuseum.at/online-sammlung/detail/546808/" ;
<http://example.org/migrants/person#Wikidata> "https://www.wikidata.org/wiki/Q79002" ; personp:profession "Opera singer" ;
<http://example.org/migrants/person#GND> "https://d-nb.info/gnd/116002506" ; personp:birthdate "1872-07-14" ;
<http://example.org/migrants/person#LCCN> "https://worldcat.org/identities/lccn-n97053925/" ; personp:birthdate_max "1872-07-14" ;
<http://example.org/migrants/person#VIAF> "https://viaf.org/viaf/39572476" ; personp:ref-IDBirthPlace location:UA-Lv-00 ;
<http://example.org/migrants/person#ISNI> "https://isni.org/isni/0000000035722792" ; personp:deathdate "1932-09-01" ;
<http://example.org/migrants/person#SNAC> "https://snaccooperative.org/ark:/99166/w6bt189x#resources" ; personp:deathdate_max "1932-09-01" ;
<http://example.org/migrants/person#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&amp;datum=18880708&amp;query=%22Abendroth+Karlsbad%22~25&amp;ref=anno-search&amp;seite=2\n\n" ; personp:ref-IDDeathPlace location:AT-Weid-00 ;
<http://example.org/migrants/person#Importsource> "Own" . personp:Wikipedia "https://en.wikipedia.org/wiki/Irene_Abendroth" ;
<http://example.org/migrants/migration_table/5> a <http://example.org/migrants/migration_table> ; personp:Wikidata "https://www.wikidata.org/wiki/Q79002" ;
<http://example.org/migrants/migration_table#IDMig> "5" ; personp:GND "https://d-nb.info/gnd/116002506" ;
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; personp:LCCN "https://worldcat.org/identities/lccn-n97053925/" ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/UA-Lv-00> ; personp:VIAF "https://viaf.org/viaf/39572476" ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/IT-Mila-00> ; personp:ISNI "https://isni.org/isni/0000000035722792" ;
<http://example.org/migrants/migration_table#reason> "Education" . personp:SNAC "https://snaccooperative.org/ark:/99166/w6bt189x#resources" ;
<http://example.org/migrants/migration_table/6> a <http://example.org/migrants/migration_table> ; 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&amp;datum=18880708&amp;query=%22Abendroth+Karlsbad%22~25&amp;ref=anno-search&amp;seite=2\n\n" ;
<http://example.org/migrants/migration_table#IDMig> "6" ; personp:Importsource "Own" .
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\/5 a migrants:migration_table ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/CZ-Karlsb-00> ; migrants:migration_table\#IDMig "5" ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/AT-VIE-00> ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#DateStart_Fuzzy> "1889" ; migrants:migration_table\#ref-IDStartPlace location:UA-Lv-00 ;
<http://example.org/migrants/migration_table#DateStart_Min> "1889-01-01" ; migrants:migration_table\#ref-IDDestPlace location:IT-Mila-00 ;
<http://example.org/migrants/migration_table#DateStart_Max> "1889-12-31" ; migrants:migration_table\#reason "Education" .
<http://example.org/migrants/migration_table#reason> "Labour" . migrants:migration_table\/6 a migrants:migration_table ;
<http://example.org/migrants/migration_table/7> a <http://example.org/migrants/migration_table> ; migrants:migration_table\#IDMig "6" ;
<http://example.org/migrants/migration_table#IDMig> "7" ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\#ref-IDStartPlace location:CZ-Karlsb-00 ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/AT-VIE-00> ; migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/LV-RIX-00> ; migrants:migration_table\#DateStart_Fuzzy "1889" ;
<http://example.org/migrants/migration_table#DateStart_Fuzzy> "1890" ; migrants:migration_table\#DateStart_Min "1889-01-01" ;
<http://example.org/migrants/migration_table#DateStart_Min> "1890-01-01" ; migrants:migration_table\#DateStart_Max "1889-12-31" ;
<http://example.org/migrants/migration_table#DateStart_Max> "1890-12-31" ; migrants:migration_table\#reason "Labour" .
<http://example.org/migrants/migration_table#reason> "Labour" . migrants:migration_table\/7 a migrants:migration_table ;
<http://example.org/migrants/migration_table/8> a <http://example.org/migrants/migration_table> ; migrants:migration_table\#IDMig "7" ;
<http://example.org/migrants/migration_table#IDMig> "8" ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/LV-RIX-00> ; migrants:migration_table\#ref-IDDestPlace location:LV-RIX-00 ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/GER-MUC-00> ; migrants:migration_table\#DateStart_Fuzzy "1890" ;
<http://example.org/migrants/migration_table#DateStart_Fuzzy> "1891" ; migrants:migration_table\#DateStart_Min "1890-01-01" ;
<http://example.org/migrants/migration_table#DateStart_Min> "1891-01-01" ; migrants:migration_table\#DateStart_Max "1890-12-31" ;
<http://example.org/migrants/migration_table#DateStart_Max> "1891-12-31" ; migrants:migration_table\#reason "Labour" .
<http://example.org/migrants/migration_table#reason> "Labour" . migrants:migration_table\/8 a migrants:migration_table ;
<http://example.org/migrants/migration_table/9> a <http://example.org/migrants/migration_table> ; migrants:migration_table\#IDMig "8" ;
<http://example.org/migrants/migration_table#IDMig> "9" ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\#ref-IDStartPlace location:LV-RIX-00 ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/GER-MUC-00> ; migrants:migration_table\#ref-IDDestPlace location:GER-MUC-00 ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/AT-VIE-00> ; migrants:migration_table\#DateStart_Fuzzy "1891" ;
<http://example.org/migrants/migration_table#DateStart_Fuzzy> "1894" ; migrants:migration_table\#DateStart_Min "1891-01-01" ;
<http://example.org/migrants/migration_table#DateStart_Min> "1894-01-01" ; migrants:migration_table\#DateStart_Max "1891-12-31" ;
<http://example.org/migrants/migration_table#DateStart_Max> "1894-12-31" ; migrants:migration_table\#reason "Labour" .
<http://example.org/migrants/migration_table#reason> "Labour" . migrants:migration_table\/9 a migrants:migration_table ;
<http://example.org/migrants/migration_table/10> a <http://example.org/migrants/migration_table> ; migrants:migration_table\#IDMig "9" ;
<http://example.org/migrants/migration_table#IDMig> "10" ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\#ref-IDStartPlace location:GER-MUC-00 ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/AT-VIE-00> ; migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/GER-Dresd-00> ; migrants:migration_table\#DateStart_Fuzzy "1894" ;
<http://example.org/migrants/migration_table#DateStart_Fuzzy> "1899" ; migrants:migration_table\#DateStart_Min "1894-01-01" ;
<http://example.org/migrants/migration_table#DateStart_Min> "1899-01-01" ; migrants:migration_table\#DateStart_Max "1894-12-31" ;
<http://example.org/migrants/migration_table#DateStart_Max> "1899-12-31" ; migrants:migration_table\#reason "Labour" .
<http://example.org/migrants/migration_table#reason> "Labour" . migrants:migration_table\/10 a migrants:migration_table ;
<http://example.org/migrants/migration_table/11> a <http://example.org/migrants/migration_table> ; migrants:migration_table\#IDMig "10" ;
<http://example.org/migrants/migration_table#IDMig> "11" ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/GER-Dresd-00> ; migrants:migration_table\#ref-IDDestPlace location:GER-Dresd-00 ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/AT-VIE-00> ; migrants:migration_table\#DateStart_Fuzzy "1899" ;
<http://example.org/migrants/migration_table#DateStart_Fuzzy> "1909" ; migrants:migration_table\#DateStart_Min "1899-01-01" ;
<http://example.org/migrants/migration_table#DateStart_Min> "1909-01-01" ; migrants:migration_table\#DateStart_Max "1899-12-31" ;
<http://example.org/migrants/migration_table#DateStart_Max> "1909-12-31" ; migrants:migration_table\#reason "Labour" .
<http://example.org/migrants/migration_table#reason> "Labour" . migrants:migration_table\/11 a migrants:migration_table ;
<http://example.org/migrants/migration_table/2114> a <http://example.org/migrants/migration_table> ; migrants:migration_table\#IDMig "11" ;
<http://example.org/migrants/migration_table#IDMig> "2114" ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\#ref-IDStartPlace location:GER-Dresd-00 ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/IT-Mila-00> ; migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/AT-VIE-00> ; migrants:migration_table\#DateStart_Fuzzy "1909" ;
<http://example.org/migrants/migration_table#reason> "Education" . migrants:migration_table\#DateStart_Min "1909-01-01" ;
<http://example.org/migrants/migration_table/2117> a <http://example.org/migrants/migration_table> ; migrants:migration_table\#DateStart_Max "1909-12-31" ;
<http://example.org/migrants/migration_table#IDMig> "2117" ; migrants:migration_table\#reason "Labour" .
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\/2114 a migrants:migration_table ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/AT-VIE-00> ; migrants:migration_table\#IDMig "2114" ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/CZ-Karlsb-00> ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#reason> "Labour" . migrants:migration_table\#ref-IDStartPlace location:IT-Mila-00 ;
<http://example.org/migrants/migration_table/2118> a <http://example.org/migrants/migration_table> ; migrants:migration_table\#ref-IDDestPlace location:AT-VIE-00 ;
<http://example.org/migrants/migration_table#IDMig> "2118" ; migrants:migration_table\#reason "Education" .
<http://example.org/migrants/migration_table#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\/2117 a migrants:migration_table ;
<http://example.org/migrants/migration_table#ref-IDStartPlace> <http://example.org/migrants/location/AT-VIE-00> ; migrants:migration_table\#IDMig "2117" ;
<http://example.org/migrants/migration_table#ref-IDDestPlace> <http://example.org/migrants/location/AT-Weid-00> ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/migration_table#DateStart_Fuzzy> "1909" ; migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
<http://example.org/migrants/migration_table#DateStart_Min> "1909-01-01" ; migrants:migration_table\#ref-IDDestPlace location:CZ-Karlsb-00 ;
<http://example.org/migrants/migration_table#DateStart_Max> "1909-12-31" ; migrants:migration_table\#reason "Labour" .
<http://example.org/migrants/migration_table#reason> "Other" . migrants:migration_table\/2118 a migrants:migration_table ;
<http://example.org/migrants/person_profession/5120> a <http://example.org/migrants/person_profession> ; migrants:migration_table\#IDMig "2118" ;
<http://example.org/migrants/person_profession#IDProfPerson> "5120" ; migrants:migration_table\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/person_profession#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\#ref-IDStartPlace location:AT-VIE-00 ;
<http://example.org/migrants/person_profession#profession> "Singer" . migrants:migration_table\#ref-IDDestPlace location:AT-Weid-00 ;
<http://example.org/migrants/relationship/2> a <http://example.org/migrants/relationship> ; migrants:migration_table\#DateStart_Fuzzy "1909" ;
<http://example.org/migrants/relationship#IDRel> "2" ; migrants:migration_table\#DateStart_Min "1909-01-01" ;
<http://example.org/migrants/relationship#ref-IDPerson_active> <http://example.org/migrants/person/AbeIre-00> ; migrants:migration_table\#DateStart_Max "1909-12-31" ;
<http://example.org/migrants/relationship#ref-IDPerson_passive> <http://example.org/migrants/person/MamEmm-00> ; migrants:migration_table\#reason "Other" .
<http://example.org/migrants/relationship#Relationshiptype> "" ; migrants:person_profession\/5120 a migrants:person_profession ;
<http://example.org/migrants/relationship#ref-IDLocation> <http://example.org/migrants/location/AT-VIE-00> ; migrants:person_profession\#IDProfPerson "5120" ;
<http://example.org/migrants/relationship#Timeperiod> "" ; migrants:person_profession\#ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/relationship#comment> "" . migrants:person_profession\#profession "Singer" .
<http://example.org/migrants/relationship/3> a <http://example.org/migrants/relationship> ; migrants:relationship\/2 a migrants:relationship ;
<http://example.org/migrants/relationship#IDRel> "3" ; migrants:relationship\#IDRel "2" ;
<http://example.org/migrants/relationship#ref-IDPerson_active> <http://example.org/migrants/person/AbeIre-00> ; migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
<http://example.org/migrants/relationship#ref-IDPerson_passive> <http://example.org/migrants/person/WilAur-00> ; migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ;
<http://example.org/migrants/relationship#Relationshiptype> "" ; migrants:relationship\#Relationshiptype "" ;
<http://example.org/migrants/relationship#ref-IDLocation> <http://example.org/migrants/location/AT-VIE-00> ; migrants:relationship\#ref-IDLocation location:AT-VIE-00 ;
<http://example.org/migrants/relationship#comment> "" . migrants:relationship\#Timeperiod "" ;
<http://example.org/migrants/relationship/38> a <http://example.org/migrants/relationship> ; migrants:relationship\#comment "" .
<http://example.org/migrants/relationship#IDRel> "38" ; migrants:relationship\/3 a migrants:relationship ;
<http://example.org/migrants/relationship#ref-IDPerson_active> <http://example.org/migrants/person/MamEmm-00> ; migrants:relationship\#IDRel "3" ;
<http://example.org/migrants/relationship#ref-IDPerson_passive> <http://example.org/migrants/person/AbeIre-00> . migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
<http://example.org/migrants/relationship/93> a <http://example.org/migrants/relationship> ; migrants:relationship\#ref-IDPerson_passive person:WilAur-00 ;
<http://example.org/migrants/relationship#IDRel> "93" ; migrants:relationship\#Relationshiptype "" ;
<http://example.org/migrants/relationship#ref-IDPerson_active> <http://example.org/migrants/person/WilAur-00> ; migrants:relationship\#ref-IDLocation location:AT-VIE-00 ;
<http://example.org/migrants/relationship#ref-IDPerson_passive> <http://example.org/migrants/person/AbeIre-00> ; migrants:relationship\#comment "" .
<http://example.org/migrants/relationship#Relationshiptype> "" . migrants:relationship\/38 a migrants:relationship ;
<http://example.org/migrants/relationship/16834> a <http://example.org/migrants/relationship> ; migrants:relationship\#IDRel "38" ;
<http://example.org/migrants/relationship#IDRel> "16834" ; migrants:relationship\#ref-IDPerson_active person:MamEmm-00 ;
<http://example.org/migrants/relationship#ref-IDPerson_active> <http://example.org/migrants/person/AbeIre-00> ; migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 .
<http://example.org/migrants/relationship#ref-IDPerson_passive> <http://example.org/migrants/person/LamFra-00> ; migrants:relationship\/93 a migrants:relationship ;
<http://example.org/migrants/relationship#Relationshiptype> "" ; migrants:relationship\#IDRel "93" ;
<http://example.org/migrants/relationship#ref-IDLocation> <http://example.org/migrants/location/IT-Mila-00> . migrants:relationship\#ref-IDPerson_active person:WilAur-00 ;
<http://example.org/migrants/relationship/16839> a <http://example.org/migrants/relationship> ; migrants:relationship\#ref-IDPerson_passive person:AbeIre-00 ;
<http://example.org/migrants/relationship#IDRel> "16839" ; migrants:relationship\#Relationshiptype "" .
<http://example.org/migrants/relationship#ref-IDPerson_active> <http://example.org/migrants/person/AbeIre-00> ; migrants:relationship\/16834 a migrants:relationship ;
<http://example.org/migrants/relationship#ref-IDPerson_passive> <http://example.org/migrants/person/AbeMir-00> ; migrants:relationship\#IDRel "16834" ;
<http://example.org/migrants/relationship#Relationshiptype> "" ; migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
<http://example.org/migrants/relationship#relationshiptype_precise> "Sister" . migrants:relationship\#ref-IDPerson_passive person:LamFra-00 ;
<http://example.org/migrants/relationship/16844> a <http://example.org/migrants/relationship> ; migrants:relationship\#Relationshiptype "" ;
<http://example.org/migrants/relationship#IDRel> "16844" ; migrants:relationship\#ref-IDLocation location:IT-Mila-00 .
<http://example.org/migrants/relationship#ref-IDPerson_active> <http://example.org/migrants/person/AbeIre-00> ; migrants:relationship\/16839 a migrants:relationship ;
<http://example.org/migrants/relationship#ref-IDPerson_passive> <http://example.org/migrants/person/CamCle-00> ; migrants:relationship\#IDRel "16839" ;
<http://example.org/migrants/relationship#Relationshiptype> "" ; migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
<http://example.org/migrants/relationship#ref-IDLocation> <http://example.org/migrants/location/IT-Mila-00> . migrants:relationship\#ref-IDPerson_passive person:AbeMir-00 ;
<http://example.org/migrants/relationship/21686> a <http://example.org/migrants/relationship> ; migrants:relationship\#Relationshiptype "" ;
<http://example.org/migrants/relationship#IDRel> "21686" ; migrants:relationship\#relationshiptype_precise "Sister" .
<http://example.org/migrants/relationship#ref-IDPerson_active> <http://example.org/migrants/person/AbeIre-00> ; migrants:relationship\/16844 a migrants:relationship ;
<http://example.org/migrants/relationship#ref-IDPerson_passive> <http://example.org/migrants/person/MamEmm-00> ; migrants:relationship\#IDRel "16844" ;
<http://example.org/migrants/relationship#Relationshiptype> "" ; migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
<http://example.org/migrants/relationship#ref-IDLocation> <http://example.org/migrants/location/AT-VIE-00> . migrants:relationship\#ref-IDPerson_passive person:CamCle-00 ;
<http://example.org/migrants/work/1> a <http://example.org/migrants/work> ; migrants:relationship\#Relationshiptype "" ;
<http://example.org/migrants/work#IDWork> "1" ; migrants:relationship\#ref-IDLocation location:IT-Mila-00 .
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; migrants:relationship\/21686 a migrants:relationship ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/CZ-Karlsb-00> ; migrants:relationship\#IDRel "21686" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1888" ; migrants:relationship\#ref-IDPerson_active person:AbeIre-00 ;
<http://example.org/migrants/work#DateStart_Min> "1888-01-01" ; migrants:relationship\#ref-IDPerson_passive person:MamEmm-00 ;
<http://example.org/migrants/work#DateStart_Max> "1888-12-31" ; migrants:relationship\#Relationshiptype "" ;
<http://example.org/migrants/work#DateEnd_Fuzzy> "-" ; migrants:relationship\#ref-IDLocation location:AT-VIE-00 .
<http://example.org/migrants/work#Employment> "Permanent" ; work:1 a migrants:work ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:IDWork "1" ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#comment> "" . workp:ref-IDLocation location:CZ-Karlsb-00 ;
<http://example.org/migrants/work/2> a <http://example.org/migrants/work> ; workp:DateStart_Fuzzy "1888" ;
<http://example.org/migrants/work#IDWork> "2" ; workp:DateStart_Min "1888-01-01" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateStart_Max "1888-12-31" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/AT-VIE-00> ; workp:DateEnd_Fuzzy "-" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/71> ; workp:Employment "Permanent" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1889" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1889-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1889-12-31" ; workp:comment "" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "-" ; work:2 a migrants:work ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:IDWork "2" ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#comment> "" . workp:ref-IDLocation location:AT-VIE-00 ;
<http://example.org/migrants/work/3> a <http://example.org/migrants/work> ; workp:ref-IDOrganisation migrants:organisation\/71 ;
<http://example.org/migrants/work#IDWork> "3" ; workp:DateStart_Fuzzy "1889" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateStart_Min "1889-01-01" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/LV-RIX-00> ; workp:DateStart_Max "1889-12-31" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/72> ; workp:DateEnd_Fuzzy "-" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1890" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1890-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1890-12-31" ; workp:comment "" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "1891" ; work:3 a migrants:work ;
<http://example.org/migrants/work#DateEnd_Min> "1891-01-01" ; workp:IDWork "3" ;
<http://example.org/migrants/work#DateEnd_Max> "1891-12-31" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:ref-IDLocation location:LV-RIX-00 ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDOrganisation migrants:organisation\/72 ;
<http://example.org/migrants/work#comment> "" . workp:DateStart_Fuzzy "1890" ;
<http://example.org/migrants/work/4> a <http://example.org/migrants/work> ; workp:DateStart_Min "1890-01-01" ;
<http://example.org/migrants/work#IDWork> "4" ; workp:DateStart_Max "1890-12-31" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateEnd_Fuzzy "1891" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/GER-MUC-00> ; workp:DateEnd_Min "1891-01-01" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/73> ; workp:DateEnd_Max "1891-12-31" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1891" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1891-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1891-12-31" ; workp:comment "" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "1894" ; work:4 a migrants:work ;
<http://example.org/migrants/work#DateEnd_Min> "1894-01-01" ; workp:IDWork "4" ;
<http://example.org/migrants/work#DateEnd_Max> "1894-12-31" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:ref-IDLocation location:GER-MUC-00 ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDOrganisation migrants:organisation\/73 ;
<http://example.org/migrants/work#comment> "" . workp:DateStart_Fuzzy "1891" ;
<http://example.org/migrants/work/5> a <http://example.org/migrants/work> ; workp:DateStart_Min "1891-01-01" ;
<http://example.org/migrants/work#IDWork> "5" ; workp:DateStart_Max "1891-12-31" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateEnd_Fuzzy "1894" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/AT-VIE-00> ; workp:DateEnd_Min "1894-01-01" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/71> ; workp:DateEnd_Max "1894-12-31" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1894" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1894-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1894-12-31" ; workp:comment "" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "1897" ; work:5 a migrants:work ;
<http://example.org/migrants/work#DateEnd_Min> "1897-03-22" ; workp:IDWork "5" ;
<http://example.org/migrants/work#DateEnd_Max> "1897-03-22" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:ref-IDLocation location:AT-VIE-00 ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDOrganisation migrants:organisation\/71 ;
<http://example.org/migrants/work#comment> "" . workp:DateStart_Fuzzy "1894" ;
<http://example.org/migrants/work/6> a <http://example.org/migrants/work> ; workp:DateStart_Min "1894-01-01" ;
<http://example.org/migrants/work#IDWork> "6" ; workp:DateStart_Max "1894-12-31" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateEnd_Fuzzy "1897" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/GER-Dresd-00> ; workp:DateEnd_Min "1897-03-22" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/450> ; workp:DateEnd_Max "1897-03-22" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1899" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1899-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1899-12-31" ; workp:comment "" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "1909" ; work:6 a migrants:work ;
<http://example.org/migrants/work#DateEnd_Min> "1909-01-01" ; workp:IDWork "6" ;
<http://example.org/migrants/work#DateEnd_Max> "1909-12-31" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:ref-IDLocation location:GER-Dresd-00 ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDOrganisation migrants:organisation\/450 ;
<http://example.org/migrants/work#comment> "she left Vienna because of disagreements with Gustav Mahler (Director" . workp:DateStart_Fuzzy "1899" ;
<http://example.org/migrants/work/7> a <http://example.org/migrants/work> ; workp:DateStart_Min "1899-01-01" ;
<http://example.org/migrants/work#IDWork> "7" ; workp:DateStart_Max "1899-12-31" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateEnd_Fuzzy "1909" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/GER-BER-00> ; workp:DateEnd_Min "1909-01-01" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/75> ; workp:DateEnd_Max "1909-12-31" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1905" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1905-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1905-12-31" ; workp:comment "she left Vienna because of disagreements with Gustav Mahler (Director" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "1907" ; work:7 a migrants:work ;
<http://example.org/migrants/work#DateEnd_Min> "1907-01-01" ; workp:IDWork "7" ;
<http://example.org/migrants/work#DateEnd_Max> "1907-12-31" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:ref-IDLocation location:GER-BER-00 ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDOrganisation migrants:organisation\/75 ;
<http://example.org/migrants/work#comment> "Between 1905 and 1907 guest engagements at Berliner Hofoper" . workp:DateStart_Fuzzy "1905" ;
<http://example.org/migrants/work/8> a <http://example.org/migrants/work> ; workp:DateStart_Min "1905-01-01" ;
<http://example.org/migrants/work#IDWork> "8" ; workp:DateStart_Max "1905-12-31" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateEnd_Fuzzy "1907" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/GER-STR-00> ; workp:DateEnd_Min "1907-01-01" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/76> ; workp:DateEnd_Max "1907-12-31" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1905" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1905-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1905-12-31" ; workp:comment "Between 1905 and 1907 guest engagements at Berliner Hofoper" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "1907" ; work:8 a migrants:work ;
<http://example.org/migrants/work#DateEnd_Min> "1907-01-01" ; workp:IDWork "8" ;
<http://example.org/migrants/work#DateEnd_Max> "1907-12-31" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:ref-IDLocation location:GER-STR-00 ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDOrganisation migrants:organisation\/76 ;
<http://example.org/migrants/work#comment> "" . workp:DateStart_Fuzzy "1905" ;
<http://example.org/migrants/work/9> a <http://example.org/migrants/work> ; workp:DateStart_Min "1905-01-01" ;
<http://example.org/migrants/work#IDWork> "9" ; workp:DateStart_Max "1905-12-31" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateEnd_Fuzzy "1907" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/GER-Ffm-00> ; workp:DateEnd_Min "1907-01-01" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/77> ; workp:DateEnd_Max "1907-12-31" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1907" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1907-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1907-12-31" ; workp:comment "" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "-" ; work:9 a migrants:work ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:IDWork "9" ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#comment> "" . workp:ref-IDLocation location:GER-Ffm-00 ;
<http://example.org/migrants/work/10> a <http://example.org/migrants/work> ; workp:ref-IDOrganisation migrants:organisation\/77 ;
<http://example.org/migrants/work#IDWork> "10" ; workp:DateStart_Fuzzy "1907" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateStart_Min "1907-01-01" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/GER-Leip-00> ; workp:DateStart_Max "1907-12-31" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/78> ; workp:DateEnd_Fuzzy "-" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1907" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1907-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1907-12-31" ; workp:comment "" .
<http://example.org/migrants/work#DateEnd_Fuzzy> "-" ; work:10 a migrants:work ;
<http://example.org/migrants/work#Profession> "Singer" ; workp:IDWork "10" ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:ref-IDPerson person:AbeIre-00 ;
<http://example.org/migrants/work#comment> "" . workp:ref-IDLocation location:GER-Leip-00 ;
<http://example.org/migrants/work/11> a <http://example.org/migrants/work> ; workp:ref-IDOrganisation migrants:organisation\/78 ;
<http://example.org/migrants/work#IDWork> "11" ; workp:DateStart_Fuzzy "1907" ;
<http://example.org/migrants/work#ref-IDPerson> <http://example.org/migrants/person/AbeIre-00> ; workp:DateStart_Min "1907-01-01" ;
<http://example.org/migrants/work#ref-IDLocation> <http://example.org/migrants/location/CZ-Prag-00> ; workp:DateStart_Max "1907-12-31" ;
<http://example.org/migrants/work#ref-IDOrganisation> <http://example.org/migrants/organisation/79> ; workp:DateEnd_Fuzzy "-" ;
<http://example.org/migrants/work#DateStart_Fuzzy> "1907" ; workp:Profession "Singer" ;
<http://example.org/migrants/work#DateStart_Min> "1907-01-01" ; workp:EmploymentType "Tour" ;
<http://example.org/migrants/work#DateStart_Max> "1907-12-31" ; workp:comment "" .
<http://example.org/migrants/work#Profession> "Singer" ; work:11 a migrants:work ;
<http://example.org/migrants/work#EmploymentType> "Tour" ; workp:IDWork "11" ;
<http://example.org/migrants/work#comment> "Deutsches Theater Prag" . workp:ref-IDPerson person:AbeIre-00 ;
workp:ref-IDLocation location:CZ-Prag-00 ;
workp:ref-IDOrganisation migrants:organisation\/79 ;
workp:DateStart_Fuzzy "1907" ;
workp:DateStart_Min "1907-01-01" ;
workp:DateStart_Max "1907-12-31" ;
workp:Profession "Singer" ;
workp:EmploymentType "Tour" ;
workp:comment "Deutsches Theater Prag" .

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,11 @@
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX migrants: <http://example.org/migrants/>
PREFIX person: <http://example.org/migrants/person/> 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 { CONSTRUCT {
?s ?p ?o . ?s ?p ?o .

View file

@ -1,4 +1,11 @@
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX migrants: <http://example.org/migrants/>
PREFIX person: <http://example.org/migrants/person/> 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 { CONSTRUCT {
?s ?p ?o . ?s ?p ?o .