Simple Question (Direct)
Simple Question
Q4492744
P20
Q56061
USER
Where did David Freedman expire ?
(Q4492744,P20,c(Q56061))
action filter_type
action find
entity Q4492744
relation P20
type Q56061
['Q4492744', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q4492744 property:P20 ?h }
David Freedman
action filter_type
action find
entity David Freedman
relation place of death
type administrative territorial entity
['David Freedman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:David_Freedman property:place_of_death ?h }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q4492744,P20,c(Q56061))
action filter_type
action find
entity Q4492744
relation P20
type Q56061
David Freedman expired in [ANSWER]
['Q4492744', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q56061 . resource:Q4492744 property:P20 ?h }
New York City
David Freedman expired in New York City
New York City
action filter_type
action find
entity David Freedman
relation place of death
type administrative territorial entity
['David Freedman', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:David_Freedman property:place_of_death ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4492744
P734
Q82799
USER
Who is associated with that person ?
(Q60,P734,c(Q82799))
action filter_type
action find
entity Q4492744
relation P734
type Q82799
['Q60', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q4492744 property:P734 ?a . ?a rdf:type ontology:Q82799 }
David Freedman
action filter_type
action find
entity David Freedman
relation family name
type name
['New York City', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:David_Freedman property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q1453492
SYSTEM
Freedman
Q1453492
(Q60,P734,c(Q82799))
action filter_type
action find
entity Q4492744
relation P734
type Q82799
[ANSWER] is associated with that person
['Q60', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q4492744 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Freedman
Freedman is associated with that person
Freedman
action filter_type
action find
entity David Freedman
relation family name
type name
['New York City', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:David_Freedman property:family_name ?a . ?a rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1735
P840
Q56061 Q2342494 Q166142
USER
Which administrative territories are the narrative locations of approximately the same number of collectables or applications as Innsbruck ?
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q1735
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) ?d WHERE { { ?r property:P840 ?d . ?r rdf:type ontology:Q2342494 . ?d rdf:type ontology:Q56061 } UNION { ?r property:P840 ?d . ?d rdf:type ontology:Q56061 . ?r rdf:type ontology:Q166142 } } GROUP BY ?d } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P840 resource:Q1735 . { { ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q166142 } } } } }
Innsbruck
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Innsbruck
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) ?d WHERE { { ?r property:narrative_location ?d . ?r rdf:type ontology:collectable . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?r property:narrative_location ?d . ?d rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:application } } GROUP BY ?d } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:narrative_location resource:Innsbruck . { { ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:application } } } } }
[]
administrative territorial entity collectable application
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q52437 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q1735
relation P840
type Q2342494
type Q166142
[ANSWERS] are the narrative locations of approximately the same number of collectables or applications as Innsbruck
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) ?d WHERE { { ?r property:P840 ?d . ?r rdf:type ontology:Q2342494 . ?d rdf:type ontology:Q56061 } UNION { ?r property:P840 ?d . ?d rdf:type ontology:Q56061 . ?r rdf:type ontology:Q166142 } } GROUP BY ?d } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P840 resource:Q1735 . { { ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q166142 } } } } }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Murano Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
Prague, Zürich and Moscow are the narrative locations of approximately the same number of collectables or applications as Innsbruck
Prague Zürich Moscow
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Innsbruck
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) ?d WHERE { { ?r property:narrative_location ?d . ?r rdf:type ontology:collectable . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?r property:narrative_location ?d . ?d rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:application } } GROUP BY ?d } . FILTER ( ?v = ?n ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:narrative_location resource:Innsbruck . { { ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:application } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q743521
P840
Q56061 Q2342494 Q166142
USER
And what about Scarborough?
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q743521
relation P840
type Q2342494
type Q166142
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P840 resource:Q743521 . { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?n rdf:type ?j } } } . FILTER ( ?v = ?y ) }
Scarborough
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Scarborough
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ?r . VALUES ( ?r ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:narrative_location resource:Scarborough . { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:application ) } . ?n rdf:type ?j } } } . FILTER ( ?v = ?y ) }
[]
administrative territorial entity collectable application
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q52437 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q2342494)|c(Q166142),P840,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q743521
relation P840
type Q2342494
type Q166142
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P840 resource:Q743521 . { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?n rdf:type ?j } } } . FILTER ( ?v = ?y ) }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Murano Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
Prague Zürich Moscow
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Scarborough
relation narrative location
type collectable
type application
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ?r . VALUES ( ?r ) { ( ontology:collectable ) ( ontology:application ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:narrative_location resource:Scarborough . { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:application ) } . ?n rdf:type ?j } } } . FILTER ( ?v = ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1583020 Q1085
P190 P159
Q56061
USER
Which administrative territories are the sister cities of Prague or are the head office for Western Airlines located ?
OR((Q1085,P190,c(Q56061)), (Q1583020,P159,c(Q56061)))
action filter_type
action union
action find
entity Q1085
relation P190
action find
entity Q1583020
relation P159
type Q56061
{'OR': [['Q1085', 'P190', {'concept': 'Q56061'}], ['Q1583020', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1085 property:P190 ?a } UNION { resource:Q1583020 property:P159 ?a } } . ?a rdf:type ontology:Q56061 }
Western Airlines Prague
action filter_type
action union
action find
entity Prague
relation sister city
action find
entity Western Airlines
relation headquarters location
type administrative territorial entity
{'OR': [['Prague', 'sister city', {'concept': 'administrative territorial entity'}], ['Western Airlines', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Prague property:sister_city ?a } UNION { resource:Western_Airlines property:headquarters_location ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1780 Q168202 Q64 Q216 Q26119 Q406 Q51103 Q13362 Q649 Q239
SYSTEM
Some of them are Bratislava, Rosh HaAyin, Berlin, Vilnius, Prešov, Istanbul, Cali, Ferrara, Moscow, Brussels
Q1757 Q649 Q472 Q8621 Q185632 Q1867 Q1297 Q1842 Q1524 Q6252 Q406 Q1780 Q2634 Q13386 Q1748 Q26119 Q2090 Q3376 Q51103 Q13362 Q216 Q239 Q2807 Q64 Q65 Q1218 Q16556 Q168202
OR((Q1085,P190,c(Q56061)), (Q1583020,P159,c(Q56061)))
action filter_type
action union
action find
entity Q1085
relation P190
action find
entity Q1583020
relation P159
type Q56061
[ANSWERS] are the sister cities of Prague or are the head office for Western Airlines located
{'OR': [['Q1085', 'P190', {'concept': 'Q56061'}], ['Q1583020', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1085 property:P190 ?a } UNION { resource:Q1583020 property:P159 ?a } } . ?a rdf:type ontology:Q56061 }
Helsinki Moscow Sofia Terni Limassol Taipei Chicago Luxembourg Athens Monza Istanbul Bratislava Naples Lecce Copenhagen Prešov Nuremberg Trento Cali Ferrara Vilnius Brussels Madrid Berlin Los Angeles Jerusalem Phoenix Rosh HaAyin
Bratislava, Rosh HaAyin, Berlin, Vilnius, Prešov, Istanbul, Cali, Ferrara, Moscow and Brussels are the sister cities of Prague or are the head office for Western Airlines located
Bratislava Rosh HaAyin Berlin Vilnius Prešov Istanbul Cali Ferrara Moscow Brussels
action filter_type
action union
action find
entity Prague
relation sister city
action find
entity Western Airlines
relation headquarters location
type administrative territorial entity
{'OR': [['Prague', 'sister city', {'concept': 'administrative territorial entity'}], ['Western Airlines', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Prague property:sister_city ?a } UNION { resource:Western_Airlines property:headquarters_location ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1780 Q168202 Q64 Q216 Q26119 Q406 Q51103 Q13362 Q649 Q239
P551
Q502895
USER
Who lives in those administrative territories ?
(c(Q502895),P551,Q1780) (c(Q502895),P551,Q168202) (c(Q502895),P551,Q64) (c(Q502895),P551,Q216) (c(Q502895),P551,Q26119) (c(Q502895),P551,Q406) (c(Q502895),P551,Q51103) (c(Q502895),P551,Q13362) (c(Q502895),P551,Q649) (c(Q502895),P551,Q239)
action filter_type
action find_reverse
entity prev_answer
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1780'] [{'concept': 'Q502895'}, 'P551', 'Q168202'] [{'concept': 'Q502895'}, 'P551', 'Q64'] [{'concept': 'Q502895'}, 'P551', 'Q216'] [{'concept': 'Q502895'}, 'P551', 'Q26119'] [{'concept': 'Q502895'}, 'P551', 'Q406'] [{'concept': 'Q502895'}, 'P551', 'Q51103'] [{'concept': 'Q502895'}, 'P551', 'Q13362'] [{'concept': 'Q502895'}, 'P551', 'Q649'] [{'concept': 'Q502895'}, 'P551', 'Q239']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . VALUES ( ?a ) { ( resource:Q1757 ) ( resource:Q649 ) ( resource:Q472 ) } . ?g property:P551 ?a }
Bratislava Rosh HaAyin Berlin Vilnius Prešov Istanbul Cali Ferrara Moscow Brussels
action filter_type
action find_reverse
entity prev_answer
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bratislava'] [{'concept': 'common name'}, 'residence', 'Rosh HaAyin'] [{'concept': 'common name'}, 'residence', 'Berlin'] [{'concept': 'common name'}, 'residence', 'Vilnius'] [{'concept': 'common name'}, 'residence', 'Prešov'] [{'concept': 'common name'}, 'residence', 'Istanbul'] [{'concept': 'common name'}, 'residence', 'Cali'] [{'concept': 'common name'}, 'residence', 'Ferrara'] [{'concept': 'common name'}, 'residence', 'Moscow'] [{'concept': 'common name'}, 'residence', 'Brussels']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . VALUES ( ?a ) { ( resource:Helsinki ) ( resource:Moscow ) ( resource:Sofia ) } . ?g property:residence ?a }
[]
common name
Q7747 Q765165 Q2567
SYSTEM
Vladimir Putin, Leonid Brezhnev, Richard von Weizsäcker
Q21707342 Q314767 Q138094 Q15836985 Q4521413 Q232443 Q718719 Q369243 Q230359 Q3487091 Q254267 Q4957417 Q555645 Q440514 Q19399 Q18560249 Q3488136 Q231209 Q211636 Q118791 Q269278 Q1714777 Q6860514 Q352025 Q2498702 Q1291378 Q21588103 Q2056169 Q972228 Q4818455 Q211802 Q128949 Q2613062 Q19960119 Q215756 Q18676928 Q18222025 Q6233875 Q6233875 Q1563179 Q3656215 Q1983985 Q1729410 Q105579 Q3441448 Q1618018 Q1085257 Q18347222 Q23008452 Q1383565 Q11730120 Q98437 Q1371858 Q41508 Q97153 Q448173 Q38049 Q23001679 Q105013 Q19850444 Q17591714 Q1331681 Q101083 Q23055219 Q13499737 Q18623833 Q1423204 Q1914033 Q20800727 Q15804115 Q17127900 Q2567 Q2883803 Q72059 Q15439496 Q1606297 Q101010 Q26887243 Q106548 Q6447106 Q27612107 Q23229865 Q27623326 Q775266 Q2475126 Q23019116 Q24650389 Q21014652 Q1793754 Q219551 Q1316036 Q272713 Q1356172 Q15054444 Q10070 Q1770290 Q2544781 Q50039 Q57384 Q7879844 Q1576085 Q23639032 Q21013724 Q101549 Q24199819 Q2254007 Q1658473 Q5653740 Q21013771 Q22998602 Q58819 Q42831 Q55192 Q23951788 Q103955 Q235095 Q18587087 Q762184 Q15080578 Q237825 Q952737 Q161363 Q17455385 Q7425760 Q1355800 Q100677 Q3979066 Q6512 Q71696 Q74651 Q58284 Q23701408 Q9014784 Q2572397 Q60984 Q6001165 Q76517 Q24237396 Q166675 Q568623 Q19059989 Q4717837 Q494437 Q23902692 Q103623 Q103623 Q97457 Q15446643 Q11912904 Q2441850 Q107194 Q18413340 Q7724 Q64850 Q22916471 Q1904446 Q14550937 Q93604 Q55419 Q781971 Q8338625 Q79822 Q716559 Q471207 Q557827 Q13505930 Q4701994 Q12762452 Q6885530 Q4945471 Q1054731 Q1054731 Q1983985 Q298981 Q1977386 Q1977386 Q195851 Q298419 Q1107292 Q20640945 Q4345779 Q4345779 Q738576 Q369878 Q16233285 Q19560809 Q8080164 Q5638801 Q1616864 Q13054036 Q13054036 Q13054036 Q39259 Q1010201 Q241248 Q7454953 Q7070105 Q14932464 Q7849561 Q7849561 Q2392015 Q395340 Q101549 Q3573098 Q1366080 Q1136035 Q7452709 Q1754853 Q308154 Q18048314 Q4455826 Q953983 Q110126 Q24035273 Q452096 Q20740904 Q6042102 Q213220 Q3107880 Q55433 Q191736 Q6306397 Q19282036 Q26707456 Q21127219 Q1133203 Q1325975 Q2000816 Q765165 Q1093709 Q13412167 Q75151 Q5518661 Q258785 Q1618018 Q18211340 Q79822 Q18764074 Q2332762 Q122998 Q20968655 Q16620409 Q6001372 Q269080 Q7453864 Q17274885 Q4064132 Q232613 Q1373969 Q310376 Q6937189 Q364252 Q16568576 Q2094353 Q337763 Q953688 Q203591 Q22279299 Q21285674 Q4249129 Q374053 Q4104106 Q440996 Q16666210 Q4074760 Q4261627 Q2607 Q4054424 Q5418268 Q4153279 Q42992 Q560267 Q3646436 Q4093222 Q502002 Q258950 Q16292954 Q5285601 Q502037 Q2259509 Q6429974 Q710013 Q710013 Q4535437 Q296183 Q289326 Q4492349 Q171428 Q18546813 Q1957978 Q24718637 Q4320045 Q2634373 Q19946148 Q707392 Q11657 Q23668836 Q13049771 Q13049771 Q270460 Q270460 Q568623 Q219970 Q7200 Q7200 Q487182 Q20669230 Q465796 Q6783051 Q233231 Q23722455 Q4056514 Q2429984 Q24564254 Q21622155 Q22928255 Q619669 Q18668382 Q4404367 Q7747 Q4327591 Q15873898 Q20203255 Q20507645 Q1083734 Q3112766 Q430430 Q11682 Q2824679 Q15713521 Q5478989 Q27048007 Q4056514 Q11905231
(c(Q502895),P551,Q1780) (c(Q502895),P551,Q168202) (c(Q502895),P551,Q64) (c(Q502895),P551,Q216) (c(Q502895),P551,Q26119) (c(Q502895),P551,Q406) (c(Q502895),P551,Q51103) (c(Q502895),P551,Q13362) (c(Q502895),P551,Q649) (c(Q502895),P551,Q239)
action filter_type
action find_reverse
entity prev_answer
relation P551
type Q502895
[ANSWERS] live in those administrative territories
[{'concept': 'Q502895'}, 'P551', 'Q1780'] [{'concept': 'Q502895'}, 'P551', 'Q168202'] [{'concept': 'Q502895'}, 'P551', 'Q64'] [{'concept': 'Q502895'}, 'P551', 'Q216'] [{'concept': 'Q502895'}, 'P551', 'Q26119'] [{'concept': 'Q502895'}, 'P551', 'Q406'] [{'concept': 'Q502895'}, 'P551', 'Q51103'] [{'concept': 'Q502895'}, 'P551', 'Q13362'] [{'concept': 'Q502895'}, 'P551', 'Q649'] [{'concept': 'Q502895'}, 'P551', 'Q239']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . VALUES ( ?a ) { ( resource:Q1757 ) ( resource:Q649 ) ( resource:Q472 ) } . ?g property:P551 ?a }
Janais Kothajova Dominik Hrbatý Anna Karolína Schmiedlová Norbert Gombos Thierry Guichoux Janette Husárová Michal Mertiňák Miloslav Mečíř Magdaléna Rybáriková Ivo Klec Kristína Kučová Branislav Stankovič Pavol Červenák Lukáš Lacko Martin Kližan Vladimír Pláteník Kamil Čapkovič Zuzana Kučová Serhiy Stakhovsky Radka Zrubáková Karina Habšudová Ján Krošlák Miloslav Mečíř, Jr. Štefan Harabin Andrej Martin Marián Vajda Eva Kramerová Marián Zeman Ľubomíra Kurhajcová Attila Végh Dominika Cibulková Miri Regev Eitan Cabel Uwe Klimmeck Klaus Schütz Carl S. Dentzel Elsa Gidoni John Francis Charles, 7th Count de Salis-Soglio John Francis Charles, 7th Count de Salis-Soglio Klaus Eberhard Ernst L. Freud Nezaket Ekici Karin Buchholz Sebastian Rieschick Ron Rocco Hijikata Yoshi Christoph Jungmann Wenzel Goldbaum Ronja von Rönne Alexi Murdoch Chuck Smith Rolf Eden Philipp von Schulthess Ludwig Mies van der Rohe Lisa Maria Potthoff María Corda Herta Müller Anton Spieker Frederick William I of Prussia Moritz Conradi Scarlet Klimek Ella Briggs Brigitte D'Ortschy Bernhard Reicherts Brigitta Helbig-Mischewski Poul Robert Weile Simone Tippach-Schneider Maximilian Meisse Eleni-Alexandra Amburger Curt Herrmann Víctor Cruz Richard von Weizsäcker Baran bo Odar Patrik Kühnen Manfred Klimek Henrik Olesen Christian Broecking Judith Arlt Maybrit Illner Kurt Vonnegut, Sr. Jens Grötzschel Noaz Deshe Edelwald Rumpel Jean Vogt Ulla Lenze Sabrina Strehl Justina Mischewski Katja Dathe Kurt Kretschmann Ferruccio Busoni Horst Schrade Julie Wolfthorn Ernemann Sander Ignat Florian Bociort Jacob Appelbaum Aleksandra Kumorek Walter Hochmuth Patrick Conley Wernher von Braun Ulrich Marten Hannes Schwenger Uwe Mengel Jonathan Groß Erich Vermehren Sharon Dodua Otoo Avner W. Less Ilya Kitup Harald Elschenbroich Martin Rulsch Maximilian Mittelstädt Andreas Krieger Ivan Turgenev Gertrude Abercrombie Else von Behring Gustav Stresemann Peaches Becca Moore Inken Becher Marcus Cyron John Polanyi Diego Abad de Santillán Zbigniew Herbert Jerry Cooke Sasse Yuri Schukin Katja Abel Sylke Tempel Søren Kierkegaard Heinrich Blücher Paul Jacobsthal Guido Westerwelle Yusra Mardini José Ruiz Santaella Wilhelm Doms Judith Hermann Ilse Braun Alexander Gottlieb Baumgarten Gertrud Prager George William, Elector of Brandenburg Katherine Esau Kyra Sophia Kahre Alex Stepanek Andrea McEwan Florian Kohls Christoph M. Ohrt Christoph M. Ohrt Günther Anders Maike Nowak Edin Hasanovic Toni Mahoni George Grosz Tania Witte August Strindberg Ernst Wiechert Sabine Pamperrien Martin Liebscher Carmen Schrader Lotte Lenya Klaus Kinski Tadas Kijanskas Carlos Álvarez Romero-Giordiano Adam Mickiewicz Lina Stančiūtė Maksim Bahdanovič Ričardas Berankis Rolandas Muraška Akvilė Paražinskaitė Anton Dvornický Mkrtich Achemian Srpouhi Dussap Yervant Odian Yervant Odian Nezaket Ekici Hidayet  Türkoğlu Siamanto Siamanto Yervant Voskan Sokollu Mehmed Pasha Yervant Gobelyan Nevzat Tarhan Hagop Baronian Hagop Baronian Soghomon Tehlirian Marsel İlhan Aykut Kaya Cem İlkel İpek Soylu Hagop Oshagan Çağla Büyükakçay Melkon Giurdjian Melkon Giurdjian Melkon Giurdjian Recep Tayyip Erdoğan Burak Kut Orhan Pamuk Serkan Yağcı Nurhayat Hiçyakmazer Georgios Giamalis Tserents Tserents Ruben Sevak Agop Dilaçar Erich Vermehren Yücel Gündoğdu Mesrob II Mutafyan of Constantinople Feza Gürsey Serap Özçelik Enes Erkan Abdi İpekçi Grégory Vlérick Tovmas Terzian Suat Mamat Hrant Dink Uğur Aktaş Güler Sabancı Alejandro Gómez Nicolás Barrientos Aldus Manutius Giulia Casoni Michelangelo Antonioni Nikolay Davydenko Julia Efremova Natela Dzalamidze Rada Biller Anastasiya Komardina Leonid Fedun Herz Frank Théodore Akimenko Leonid Brezhnev Mikhail Pogodin Yana Buchina Ursula Kuczynski Galina Fokina Anastasia Pivovarova Hijikata Yoshi Valery Rudnev Adam Mickiewicz Ekaterina Mikhailovna Khomyakova Vasilisa Bardina Pauline Viardot Aleksandra Pospelova Zofia Marchlewska Ilya Belyaev Tatiana Panova Sergei Viktorovich Popov Stanislav Vovk Maksim Amelin Ksenia Pervak Sergei Nemchinov Dmitry Tursunov Murad Machaev Yevgeny Baratynsky Karen Khachanov Slava Mogutin Teymuraz Gabashvili Ekaterina Makarova Anastasia Myskina Sofia Moshevich Anton Zaitcev Jelica Kurjak Vera Zvonareva Dmitry Varshavchik Marietta Shaginyan Oleg Kosarev Edvard Baghdasaryan Lila Guerrero Erich Honecker Narine Abgarjan Evgeny Kirillov Hakob Gyurjian Golda Meir Anna Chakvetadze Derenik Demirchian Stanislav Bondarenko Andrei Chesnokov Evgeniya Rodina Jan Krauze Dmitri Sitak Andrei Cherkasov Ekaterina Bychkova Konstantin Kravchuk Ladislas Starevich Ladislas Starevich Yuta Igor Andreev Vesna Dolonc Georgy Frangulyan Roman Abramovich Aslan Karatsev Yuly Aykhenvald Teresa Feoderovna Ries Nikolay Nikoghosyan Evgenia Linetskaya Anastasia Frolova Alexei Markov Maria Kirilenko Maria Gannibal Varvara Petrovna Turgeneva Varvara Petrovna Turgeneva Olga Rozanova Olga Rozanova Katherine Esau Mikhail Youzhny Alexander Pushkin Alexander Pushkin Anastasia Pavlyuchenkova Sofya Zhuk Alex Metreveli Masha Kirilenko Elena Likhovtseva Andrei Georges Agabekov Yulia Putintseva Rivka Basman Ben-Hayim Richard Muzaev Yury Gushcho Evgeny Donskoy Rudolf Bockelmann Rouslan Saghabalyan Vladimir Putin Dmitri Nossov Chrisje van der Willigen Henri Jacobs Vahan Malezian Jaume Duch Guillot Isaac Vossius Mayken Verhulst Justine Henin Adolphe Pelsener Rachel van Dantzig Frances Vane, Viscountess Vane Jan van Troyen Georges Agabekov Amadeu Altafaj
Vladimir Putin, Leonid Brezhnev and Richard von Weizsäcker live in those administrative territories
Vladimir Putin Leonid Brezhnev Richard von Weizsäcker
action filter_type
action find_reverse
entity prev_answer
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Bratislava'] [{'concept': 'common name'}, 'residence', 'Rosh HaAyin'] [{'concept': 'common name'}, 'residence', 'Berlin'] [{'concept': 'common name'}, 'residence', 'Vilnius'] [{'concept': 'common name'}, 'residence', 'Prešov'] [{'concept': 'common name'}, 'residence', 'Istanbul'] [{'concept': 'common name'}, 'residence', 'Cali'] [{'concept': 'common name'}, 'residence', 'Ferrara'] [{'concept': 'common name'}, 'residence', 'Moscow'] [{'concept': 'common name'}, 'residence', 'Brussels']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . VALUES ( ?a ) { ( resource:Helsinki ) ( resource:Moscow ) ( resource:Sofia ) } . ?g property:residence ?a }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7747 Q765165 Q2567
P39
Q12737077
USER
What were the positions for which Vladimir Putin, Leonid Brezhnev and Richard von Weizsäcker were appointed ?
(Q7747,P39,c(Q12737077)) (Q765165,P39,c(Q12737077)) (Q2567,P39,c(Q12737077))
action union
action filter_type
action find
entity Q7747
relation P39
type Q12737077
action filter_type
action find
entity Q765165
relation P39
type Q12737077
action filter_type
action find
entity Q2567
relation P39
type Q12737077
['Q7747', 'P39', {'concept': 'Q12737077'}] ['Q765165', 'P39', {'concept': 'Q12737077'}] ['Q2567', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?g property:P39 ?a . VALUES ( ?g ) { ( resource:Q7747 ) ( resource:Q765165 ) } }
Vladimir Putin Leonid Brezhnev Richard von Weizsäcker
action union
action filter_type
action find
entity Vladimir Putin
relation position held
type occupation
action filter_type
action find
entity Leonid Brezhnev
relation position held
type occupation
action filter_type
action find
entity Richard von Weizsäcker
relation position held
type occupation
['Vladimir Putin', 'position held', {'concept': 'occupation'}] ['Leonid Brezhnev', 'position held', {'concept': 'occupation'}] ['Richard von Weizsäcker', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?g property:position_held ?a . VALUES ( ?g ) { ( resource:Vladimir_Putin ) ( resource:Leonid_Brezhnev ) } }
[]
occupation
Q842386 Q1939555 Q14805701
SYSTEM
Prime Minister of Russia, member of the German Bundestag, Deputy Chairman of the Government of the Russian Federation
Q4109060 Q4127082 Q4399975 Q842386 Q14805701 Q1048744 Q25223 Q641159 Q18327335 Q1939555
(Q7747,P39,c(Q12737077)) (Q765165,P39,c(Q12737077)) (Q2567,P39,c(Q12737077))
action union
action filter_type
action find
entity Q7747
relation P39
type Q12737077
action filter_type
action find
entity Q765165
relation P39
type Q12737077
action filter_type
action find
entity Q2567
relation P39
type Q12737077
[ANSWERS]
['Q7747', 'P39', {'concept': 'Q12737077'}] ['Q765165', 'P39', {'concept': 'Q12737077'}] ['Q2567', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?g property:P39 ?a . VALUES ( ?g ) { ( resource:Q7747 ) ( resource:Q765165 ) } }
Supreme Commander-in-Chief of the Armed Forces of the Russian Federation Acting President of Russia Director of the Federal Security Service Prime Minister of Russia Deputy Chairman of the Government of the Russian Federation General Secretary of the Communist Party of the Soviet Union President of Germany Governing Mayor of Berlin Member of the Abgeordnetenhaus of Berlin member of the German Bundestag
Prime Minister of Russia, member of the German Bundestag and Deputy Chairman of the Government of the Russian Federation
Prime Minister of Russia member of the German Bundestag Deputy Chairman of the Government of the Russian Federation
action union
action filter_type
action find
entity Vladimir Putin
relation position held
type occupation
action filter_type
action find
entity Leonid Brezhnev
relation position held
type occupation
action filter_type
action find
entity Richard von Weizsäcker
relation position held
type occupation
['Vladimir Putin', 'position held', {'concept': 'occupation'}] ['Leonid Brezhnev', 'position held', {'concept': 'occupation'}] ['Richard von Weizsäcker', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?g property:position_held ?a . VALUES ( ?g ) { ( resource:Vladimir_Putin ) ( resource:Leonid_Brezhnev ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7747
P921
Q4894405
USER
Which journalism genre was primarily based on that person ?
(c(Q4894405),P921,Q7747)
action filter_type
action find_reverse
entity Q7747
relation P921
type Q4894405
[{'concept': 'Q4894405'}, 'P921', 'Q7747']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q7747 . ?t rdf:type ontology:Q4894405 }
Vladimir Putin
action filter_type
action find_reverse
entity Vladimir Putin
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'Vladimir Putin']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:Vladimir_Putin . ?t rdf:type ontology:journalism_genre }
[]
journalism genre
Clarification for simple ques.
Q7747
SYSTEM
Did you mean Vladimir Putin ?
Q842386 Q1939555 Q14805701
(c(Q4894405),P921,Q842386) (c(Q4894405),P921,Q1939555) (c(Q4894405),P921,Q14805701)
[ANSWER]
[{'concept': 'Q4894405'}, 'P921', 'Q842386'] [{'concept': 'Q4894405'}, 'P921', 'Q1939555'] [{'concept': 'Q4894405'}, 'P921', 'Q14805701']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q7747 . ?t rdf:type ontology:Q4894405 }
Prime Minister of Russia member of the German Bundestag Deputy Chairman of the Government of the Russian Federation
Did you mean Vladimir Putin ?
Vladimir Putin
[{'concept': 'journalism genre'}, 'main subject', 'Prime Minister of Russia'] [{'concept': 'journalism genre'}, 'main subject', 'member of the German Bundestag'] [{'concept': 'journalism genre'}, 'main subject', 'Deputy Chairman of the Government of the Russian Federation']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:Vladimir_Putin . ?t rdf:type ontology:journalism_genre }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q4894405),P921,Q7747)
[{'concept': 'Q4894405'}, 'P921', 'Q7747']
[{'concept': 'journalism genre'}, 'main subject', 'Vladimir Putin']
[]
Q18190890
SYSTEM
Putin's Trolls
Q18190890
(c(Q4894405),P921,Q7747)
action filter_type
action find_reverse
entity Q7747
relation P921
type Q4894405
[ANSWER] was primarily based on that person
[{'concept': 'Q4894405'}, 'P921', 'Q7747']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q7747 . ?t rdf:type ontology:Q4894405 }
Putin's Trolls
Putin's Trolls was primarily based on that person
Putin's Trolls
action filter_type
action find_reverse
entity Vladimir Putin
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'Vladimir Putin']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:Vladimir_Putin . ?t rdf:type ontology:journalism_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18190890
P921
Q502895
USER
What was the main subject of that journalism genre 's work ?
(Q18190890,P921,c(Q502895))
action filter_type
action find
entity Q18190890
relation P921
type Q502895
['Q18190890', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q18190890 property:P921 ?e . ?e rdf:type ontology:Q502895 }
Putin's Trolls
action filter_type
action find
entity Putin's Trolls
relation main subject
type common name
["Putin's Trolls", 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Putin's_Trolls property:main_subject ?e . ?e rdf:type ontology:common_name }
[]
common name
Q7747
SYSTEM
Vladimir Putin
Q7747
(Q18190890,P921,c(Q502895))
action filter_type
action find
entity Q18190890
relation P921
type Q502895
The main subject of that journalism genre's work was [ANSWER]
['Q18190890', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q18190890 property:P921 ?e . ?e rdf:type ontology:Q502895 }
Vladimir Putin
The main subject of that journalism genre's work was Vladimir Putin
Vladimir Putin
action filter_type
action find
entity Putin's Trolls
relation main subject
type common name
["Putin's Trolls", 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Putin's_Trolls property:main_subject ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7747 Q649
P551
Q56061
USER
Did that person reside Moscow ?
(Q7747,P551,Q649)
action is_in
entity Q649
action find
entity Q7747
relation P551
['Q7747', 'P551', 'Q649']
ASK WHERE { resource:Q7747 property:P551 resource:Q649 }
Vladimir Putin Moscow
action is_in
entity Moscow
action find
entity Vladimir Putin
relation residence
['Vladimir Putin', 'residence', 'Moscow']
ASK WHERE { resource:Vladimir_Putin property:residence resource:Moscow }
[]
administrative territorial entity
SYSTEM
YES
(Q7747,P551,Q649)
action is_in
entity Q649
action find
entity Q7747
relation P551
[ANSWER]
['Q7747', 'P551', 'Q649']
ASK WHERE { resource:Q7747 property:P551 resource:Q649 }
Yes
action is_in
entity Moscow
action find
entity Vladimir Putin
relation residence
['Vladimir Putin', 'residence', 'Moscow']
ASK WHERE { resource:Vladimir_Putin property:residence resource:Moscow }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1085 Q406
P190 P1383
Q56061
USER
Which administrative territories are partner towns of Istanbul or are administratively managed by Prague ?
OR((Q406,P190,c(Q56061)), (Q1085,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q406
relation P190
action find
entity Q1085
relation P1383
type Q56061
{'OR': [['Q406', 'P190', {'concept': 'Q56061'}], ['Q1085', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q406 property:P190 ?u } UNION { resource:Q1085 property:P1383 ?u } } . ?u rdf:type ontology:Q56061 }
Prague Istanbul
action filter_type
action union
action find
entity Istanbul
relation sister city
action find
entity Prague
relation contains settlement
type administrative territorial entity
{'OR': [['Istanbul', 'sister city', {'concept': 'administrative territorial entity'}], ['Prague', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Istanbul property:sister_city ?u } UNION { resource:Prague property:contains_settlement ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2750534 Q172 Q8686 Q641 Q2449 Q2444921 Q34370 Q269 Q35493 Q1754
SYSTEM
Some of them are Prague 9, Toronto, Shanghai, Venice, Mogadishu, Prague 10, Rotterdam, Tashkent, Almaty, Stockholm
Q1754 Q8686 Q994 Q1741 Q727 Q3551 Q16555 Q973974 Q3490557 Q365 Q1963 Q384 Q641 Q42053 Q35493 Q2598899 Q269 Q2444921 Q192888 Q9248 Q459 Q1524 Q1520 Q1781 Q1489 Q2667290 Q1563 Q231318 Q3766 Q900 Q3805 Q80053 Q3630 Q3490864 Q2449 Q2157550 Q2750534 Q84 Q85 Q34370 Q2686587 Q1490045 Q8673 Q2743565 Q216 Q172 Q270 Q187346 Q8678 Q577602 Q5713 Q83285 Q2444636 Q3490834 Q1085 Q2044 Q64 Q3820 Q3490843 Q2071681
OR((Q406,P190,c(Q56061)), (Q1085,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q406
relation P190
action find
entity Q1085
relation P1383
type Q56061
[ANSWERS] are partner towns of Istanbul or are administratively managed by Prague
{'OR': [['Q406', 'P190', {'concept': 'Q56061'}], ['Q1085', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q406 property:P190 ?u } UNION { resource:Q1085 property:P1383 ?u } } . ?u rdf:type ontology:Q56061 }
Stockholm Shanghai Tbilisi Vienna Amsterdam Rabat Houston Prague 1 Prague 22 Cologne Khartoum Skopje Venice Isfahan Almaty Prague 3 Tashkent Prague 10 Smolyan Baku Plovdiv Athens Astana Budapest Mexico City Prague 6 Havana Johor Bahru Damascus Kazan Amman Tabriz Jakarta Prague 11 Mogadishu Prague 14 Prague 9 London Cairo Rotterdam Prague 4 Prague 7 Lagos Prague 13 Vilnius Toronto Warsaw Constantine Rio de Janeiro Prague 5 Mary Durrës Prague 2 Prague 15 Prague Florence Berlin Beirut Prague 12 Prague 8
Prague 9, Toronto, Shanghai, Venice, Mogadishu, Prague 10, Rotterdam, Tashkent, Almaty and Stockholm are partner towns of Istanbul or are administratively managed by Prague
Prague 9 Toronto Shanghai Venice Mogadishu Prague 10 Rotterdam Tashkent Almaty Stockholm
action filter_type
action union
action find
entity Istanbul
relation sister city
action find
entity Prague
relation contains settlement
type administrative territorial entity
{'OR': [['Istanbul', 'sister city', {'concept': 'administrative territorial entity'}], ['Prague', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Istanbul property:sister_city ?u } UNION { resource:Prague property:contains_settlement ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
Which administrative territories have adopted around the same number of holidays as their patron saint as that administrative territory ?
(c(Q56061),P417,c(Q1445650))
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?z WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?z WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
holiday administrative territorial entity
Comparative|More/Less|Single entity type|Clarification
Q641
SYSTEM
Did you mean Venice ?
(c(Q56061),P417,c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?z WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
Did you mean Venice ?
Venice
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?z WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q56061),P417,c(Q1445650))
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
[]
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q264716 Q5818 Q187352 Q11974 Q12883498 Q40801 Q212841 Q54494 Q454875 Q14209773 Q50057 Q34111 Q117388 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q6221 Q2028 Q46718 Q929022 Q641 Q46165 Q649 Q58463 Q3395964 Q73489 Q54119 Q53825 Q200908 Q15090 Q81258 Q36647 Q13375 Q47074 Q59257 Q15088 Q4361 Q2914723 Q10305 Q53265 Q6340 Q101229 Q100129 Q52547 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q82208 Q116440 Q2284679 Q3557616 Q374108 Q3562704 Q220 Q90 Q496890 Q297224 Q431389 Q5991813 Q380189 Q617 Q470461 Q259039 Q733574 Q54556 Q932648 Q487786 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q100943 Q51400 Q504216 Q244193 Q1747381 Q51315 Q492475 Q334577 Q210470 Q39493 Q11959 Q329984 Q47034 Q15095 Q215080 Q270288 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q102820 Q15487 Q244207 Q1957 Q50074 Q1897 Q46864
(c(Q56061),P417,c(Q1445650))
[ANSWERS] have adopted around the same number of holidays as their patron saint as that administrative territory
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?z WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
Carzano Córdoba Kavala Las Palmas de Gran Canaria Pano Platres Borca di Cadore Drama Belvedere di Spinello Amarante Municipality San Lorenzo de' Picenardi Cagnano Amiterno Pozzallo Strangolagalli Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Brescia Verona Carrè Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Koufalia Camerino San Pedro Altilia Rethymno Lleida Padula Cork Pisa Aielli Montefortino Tarragona Curitiba Nemausus Zaragoza Gemona del Friuli Castel Giorgio Martinengo Calvenzano Campomaggiore Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Kastritsa Arpino General Alvear, Mendoza Platres Altrei Molista Rome Paris Balestrate Padergnone Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Giardinello Istiaia Africo Didymoteicho Orihuela Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Sorbolo Spoltore St. Martin in Passeier Cagno Polykastro Villamagna Valença Quetzaltenango Katerini Cantello Alicante Úbeda Espoo Albacete Machala Riccò del Golfo di Spezia Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Nibbiano Berga Campione d'Italia Vologda Castellafiume Cagliari Arcugnano
Moscow, Madrid and Milan have adopted around the same number of holidays as their patron saint as that administrative territory
Moscow Madrid Milan
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?z WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]