Simple Question (Direct)
Simple Question
Q1602649
P937
Q486972
USER
Where did Richard Carl Robert Ballerstaedt work ?
(Q1602649,P937,c(Q486972))
action filter_type
action find
entity Q1602649
relation P937
type Q486972
['Q1602649', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q486972 . resource:Q1602649 property:P937 ?p }
Richard Carl Robert Ballerstaedt
action filter_type
action find
entity Richard Carl Robert Ballerstaedt
relation work location
type human settlement
['Richard Carl Robert Ballerstaedt', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:human_settlement . resource:Richard_Carl_Robert_Ballerstaedt property:work_location ?p }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1602649,P937,c(Q486972))
action filter_type
action find
entity Q1602649
relation P937
type Q486972
Richard Carl Robert Ballerstaedt worked in [ANSWER]
['Q1602649', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q486972 . resource:Q1602649 property:P937 ?p }
Hamburg
Richard Carl Robert Ballerstaedt worked in Hamburg
Hamburg
action filter_type
action find
entity Richard Carl Robert Ballerstaedt
relation work location
type human settlement
['Richard Carl Robert Ballerstaedt', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:human_settlement . resource:Richard_Carl_Robert_Ballerstaedt property:work_location ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1602649
P20
Q486972
USER
Where did Richard Carl Robert Ballerstaedt expire ?
(Q1602649,P20,c(Q486972))
action filter_type
action find
entity Q1602649
relation P20
type Q486972
['Q1602649', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q1602649 property:P20 ?c . ?c rdf:type ontology:Q486972 }
Richard Carl Robert Ballerstaedt
action filter_type
action find
entity Richard Carl Robert Ballerstaedt
relation place of death
type human settlement
['Richard Carl Robert Ballerstaedt', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Richard_Carl_Robert_Ballerstaedt property:place_of_death ?c . ?c rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1602649,P20,c(Q486972))
action filter_type
action find
entity Q1602649
relation P20
type Q486972
Richard Carl Robert Ballerstaedt expired as [ANSWER]
['Q1602649', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q1602649 property:P20 ?c . ?c rdf:type ontology:Q486972 }
Hamburg
Richard Carl Robert Ballerstaedt expired as Hamburg
Hamburg
action filter_type
action find
entity Richard Carl Robert Ballerstaedt
relation place of death
type human settlement
['Richard Carl Robert Ballerstaedt', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:Richard_Carl_Robert_Ballerstaedt property:place_of_death ?c . ?c rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1690212
Q486972
USER
And how about Joachim Johann Daniel Zimmermann?
(Q1690212,P20,c(Q486972))
action filter_type
action find
entity Q1690212
relation P20
type Q486972
['Q1690212', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q1690212 property:P20 ?r . ?r rdf:type ontology:Q486972 }
Joachim Johann Daniel Zimmermann
action filter_type
action find
entity Joachim Johann Daniel Zimmermann
relation place of death
type human settlement
['Joachim Johann Daniel Zimmermann', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Joachim_Johann_Daniel_Zimmermann property:place_of_death ?r . ?r rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1690212,P20,c(Q486972))
action filter_type
action find
entity Q1690212
relation P20
type Q486972
[ANSWER]
['Q1690212', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q1690212 property:P20 ?r . ?r rdf:type ontology:Q486972 }
Hamburg
Hamburg
action filter_type
action find
entity Joachim Johann Daniel Zimmermann
relation place of death
type human settlement
['Joachim Johann Daniel Zimmermann', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Joachim_Johann_Daniel_Zimmermann property:place_of_death ?r . ?r rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q15324 Q2221906 Q486972
USER
How many human settlements are located in exactly 1 bodies of water and geographic locations ?
(c(Q486972),P706,c(Q15324)|c(Q2221906))
action count
action equal
action union
action find_tuple_counts
relation P706
type Q486972
type Q15324
action find_tuple_counts
relation P706
type Q486972
type Q2221906
value 1
[{'concept': 'Q486972'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?u WHERE { { ?u property:P706 ?x . ?x rdf:type ontology:Q15324 . ?u rdf:type ontology:Q486972 } UNION { ?u property:P706 ?x . ?u rdf:type ontology:Q486972 . ?x rdf:type ontology:Q2221906 } } GROUP BY ?u } . FILTER ( ?f = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation located on terrain feature
type human settlement
type body of water
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic location
value 1
[{'concept': 'human settlement'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?u WHERE { { ?u property:located_on_terrain_feature ?x . ?x rdf:type ontology:body_of_water . ?u rdf:type ontology:human_settlement } UNION { ?u property:located_on_terrain_feature ?x . ?u rdf:type ontology:human_settlement . ?x rdf:type ontology:geographic_location } } GROUP BY ?u } . FILTER ( ?f = 1 ) }
[]
body of water geographic location human settlement
SYSTEM
9
Q1067867 Q82500 Q562344 Q743908 Q649957 Q649030 Q14805 Q519717 Q1014971
(c(Q486972),P706,c(Q15324)|c(Q2221906))
action count
action equal
action union
action find_tuple_counts
relation P706
type Q486972
type Q15324
action find_tuple_counts
relation P706
type Q486972
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?u WHERE { { ?u property:P706 ?x . ?x rdf:type ontology:Q15324 . ?u rdf:type ontology:Q486972 } UNION { ?u property:P706 ?x . ?u rdf:type ontology:Q486972 . ?x rdf:type ontology:Q2221906 } } GROUP BY ?u } . FILTER ( ?f = 1 ) }
Sestiere of Venice St. Pölten Vilm Filicudi Alicudi Venetian Ghetto Kaufbeuren Mazzorbo Burggrub
9
action count
action equal
action union
action find_tuple_counts
relation located on terrain feature
type human settlement
type body of water
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic location
value 1
[{'concept': 'human settlement'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?u WHERE { { ?u property:located_on_terrain_feature ?x . ?x rdf:type ontology:body_of_water . ?u rdf:type ontology:human_settlement } UNION { ?u property:located_on_terrain_feature ?x . ?u rdf:type ontology:human_settlement . ?x rdf:type ontology:geographic_location } } GROUP BY ?u } . FILTER ( ?f = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q486972 Q55488 Q83620
USER
Which human settlements are namesakes of min number of railway stations and thoroughfares ?
(c(Q55488)|c(Q83620),P138,c(Q486972))
action argmin
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q55488
action find_reverse_tuple_counts
relation P138
type Q486972
type Q83620
[[{'concept': 'Q55488'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q55488 ) ( ontology:Q83620 ) } . ?d rdf:type ?h } GROUP BY ?t } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:Q55488 ) ( ontology:Q83620 ) } . ?o rdf:type ?r } GROUP BY ?n } . FILTER ( ?i = ?m ) }
action argmin
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type railway station
action find_reverse_tuple_counts
relation named after
type human settlement
type thoroughfare
[[{'concept': 'railway station'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:railway_station ) ( ontology:thoroughfare ) } . ?d rdf:type ?h } GROUP BY ?t } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:railway_station ) ( ontology:thoroughfare ) } . ?o rdf:type ?r } GROUP BY ?n } . FILTER ( ?i = ?m ) }
[]
human settlement railway station thoroughfare
Q1055 Q31487 Q1792
SYSTEM
Hamburg, Kraków, Gdańsk
Q321103 Q1531138 Q438160 Q2586361 Q1692943 Q1189533 Q2139034 Q1376600 Q1009639 Q808527 Q972244 Q258118 Q1756787 Q400520 Q198448 Q1769459 Q2791803 Q871085 Q462159 Q13188393 Q10499926 Q699133 Q15119278 Q2099544 Q1588707 Q23747773 Q41753 Q882771 Q624709 Q1773509 Q1887557 Q813730 Q2943721 Q19284594 Q153759 Q1599752 Q153757 Q810915 Q1473793 Q2054052 Q436954 Q723261 Q477446 Q21001016 Q290356 Q16898646 Q1193256 Q743975 Q1626493 Q3306374 Q6514682 Q1019902 Q1575450 Q628201 Q1652260 Q1009222 Q688288 Q1478369 Q861363 Q153751 Q1269761 Q1568387 Q210205 Q15111845 Q2097533 Q2221399 Q1333791 Q1434840 Q192508 Q402921 Q819245 Q665483 Q3120746 Q7060656 Q1290933 Q19946206 Q1979409 Q163897 Q2586708 Q890819 Q566334 Q882157 Q47554 Q2594854 Q193638 Q1735628 Q1821825 Q334696 Q548315 Q2382005 Q1236464 Q687871 Q1271297 Q1261781 Q1190585 Q21988551 Q1715586 Q2203983 Q1534718 Q2754039 Q1533756 Q1055 Q1255862 Q877120 Q18029908 Q19277079 Q1737546 Q10611682 Q2746755 Q1623784 Q10691412 Q22692180 Q263247 Q896509 Q707226 Q1202211 Q1258782 Q698555 Q2073092 Q1713705 Q23824537 Q628274 Q142350 Q1892048 Q994082 Q2222151 Q1106714 Q1471810 Q1943728 Q487549 Q2568178 Q1285056 Q691386 Q834780 Q933361 Q19369358 Q1016278 Q821101 Q4597611 Q556403 Q19962070 Q1600121 Q1433123 Q1345177 Q2500789 Q688271 Q3492277 Q671315 Q2538345 Q884451 Q674988 Q1792 Q602330 Q1604812 Q1806 Q781737 Q1480479 Q20827275 Q1226372 Q1253050 Q850814 Q1638336 Q1301426 Q326313 Q1742484 Q252834 Q356449 Q2564472 Q1342525 Q1020467 Q697586 Q213464 Q1427339 Q907346 Q643857 Q996935 Q23824393 Q81276 Q1434906 Q689941 Q14906821 Q1328565 Q1393053 Q1603708 Q371876 Q698825 Q1790271 Q2268243 Q153736 Q2155793 Q897297 Q2148416 Q3593263 Q2249868 Q2407434 Q10715546 Q162049 Q882706 Q851078 Q1326964 Q2151790 Q153747 Q1562308 Q2152333 Q701869 Q17575562 Q1913735 Q2585200 Q34771 Q319807 Q153754 Q1591103 Q1369611 Q1507007 Q618925 Q15056870 Q2135741 Q2027097 Q23954771 Q815949 Q1959100 Q2700418 Q1651482 Q4082 Q315966 Q26826929 Q23824570 Q2185534 Q1110891 Q18608587 Q1403375 Q1980071 Q896722 Q322068 Q2091660 Q1250629 Q798266 Q1343348 Q10534217 Q1343221 Q321422 Q2145912 Q1529191 Q1256809 Q1640184 Q965663 Q832070 Q21039639 Q24033014 Q1474246 Q1331608 Q892257 Q1615032 Q3862186 Q314065 Q679561 Q2247917 Q2565341 Q24879 Q1250658 Q3163859 Q1602763 Q876078 Q72991 Q378206 Q1516332 Q173270 Q1287899 Q20757832 Q19259110 Q1623673 Q1578855 Q363830 Q178317 Q831391 Q2582726 Q1300061 Q15790143 Q1588288 Q10550336 Q876741 Q1120974 Q1423461 Q623902 Q21076962 Q2554378 Q504884 Q1559997 Q2534756 Q1425382 Q320166 Q434684 Q2564620 Q10553388 Q1353444 Q1776281 Q819719 Q15125856 Q16304198 Q465833 Q314727 Q22941030 Q60475 Q1332187 Q5380059 Q807995 Q1615660 Q904720 Q1614714 Q808525 Q24262177 Q1541494 Q904726 Q2130361 Q21334433 Q2585669 Q257972 Q2015245 Q1507753 Q1636920 Q1613388 Q23824553 Q818533 Q1591092 Q2255282 Q1868170 Q1469188 Q19298820 Q1779101 Q700510 Q2637330 Q1802000 Q104712 Q1236413 Q1309194 Q1523811 Q1604829 Q24256720 Q27044179 Q327423 Q1431011 Q2037367 Q15854937 Q1981688 Q1304585 Q1630573 Q20828928 Q2502578 Q2473510 Q681895 Q7907801 Q2421583 Q1119627 Q880975 Q21994470 Q1879738 Q15127988 Q689566 Q1624160 Q1615365 Q5363696 Q75013 Q13745 Q165613 Q1250657 Q18020416 Q866394 Q1490921 Q21283087 Q700184 Q1701402 Q2035349 Q1387816 Q16083 Q2340095 Q1882887 Q1789773 Q31487 Q1590518 Q10660758 Q850829 Q1279445 Q1804956 Q15056287 Q2015066 Q13188165 Q437125 Q1964174 Q1936132 Q2165218 Q2769211 Q1136483 Q21039 Q18019219 Q1225741 Q2534761 Q999482 Q1235794 Q2945660 Q246851 Q2109571 Q18633089 Q2557704 Q1756856 Q20899086 Q1475842 Q3375567 Q2333086 Q702102 Q153765 Q4346476 Q676860 Q1625232 Q1414569 Q2512937 Q10673362 Q806001 Q1439316 Q1532778 Q675920 Q1692216 Q3037108 Q528436 Q1020324 Q1605209 Q2548380 Q2535566 Q1879636 Q1981743 Q2360795 Q3023576 Q413082 Q18022592 Q1778093 Q1651003 Q317702 Q42595 Q460550 Q644410 Q570028 Q819218 Q1250649 Q2069078 Q21334497 Q9879 Q1604578 Q366374 Q621763 Q547 Q136744 Q991968 Q11861983 Q1920323 Q3303930 Q2259800 Q3593112 Q1338238 Q2146764 Q3054968 Q10727797 Q1979311 Q37333 Q1665368 Q308928 Q2843 Q23824555 Q10480508 Q248822 Q1683228 Q1398147 Q18411924 Q1258569 Q694034 Q132499 Q1017751 Q268 Q1790974 Q26208588 Q1333255 Q2336899 Q623419 Q1533823 Q1686522 Q317334 Q18287114 Q1544856 Q2201799 Q10548462 Q2144969 Q1250697 Q1520236 Q884423 Q2855829 Q319138 Q877993 Q2035570 Q1240253 Q320095 Q1547905 Q2483283 Q131429 Q1019859 Q19902941 Q722339 Q2297032 Q486450 Q2304457 Q254449 Q2235532 Q12730377 Q1801593 Q983650 Q1260715 Q1601763 Q5303422 Q313189 Q1310867 Q896695 Q510604 Q2146375 Q1139599 Q2701404 Q2640749 Q716098 Q1475151 Q688680 Q1343424 Q1801802 Q7664741 Q144204 Q14835 Q833294 Q701140 Q1354624 Q889054 Q1295305 Q698629 Q1258686 Q882757 Q17747644 Q321621 Q2268269 Q10727732 Q882647 Q380591 Q22063543 Q1550432 Q1593621 Q2037588 Q2265208 Q1145747 Q689227 Q923984 Q2202653 Q1725602 Q688232 Q1951765 Q219964 Q23824504 Q1166430 Q836695 Q1181526 Q1257393 Q153782 Q2108704 Q2130101 Q702521 Q457813 Q1921024 Q1499807 Q863760 Q21039837 Q1831 Q13383459 Q1672301 Q22693098 Q874965 Q1625542 Q884517 Q2559052 Q76937 Q1378255 Q153974 Q163425 Q1536609 Q876829 Q418096 Q5628 Q1816286 Q660088 Q602159 Q851837 Q324657 Q1523280 Q1805215 Q1153 Q884636 Q1312504 Q153774 Q882100 Q27113552 Q2568242 Q629048 Q1958684 Q893990 Q1980590 Q188425 Q891982 Q798686 Q885341 Q863347 Q41974 Q1250675 Q700055 Q4335 Q1572677
(c(Q55488)|c(Q83620),P138,c(Q486972))
action argmin
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q55488
action find_reverse_tuple_counts
relation P138
type Q486972
type Q83620
[ANSWERS] are namesakes of min number of railway stations and thoroughfares
[[{'concept': 'Q55488'}, {'concept': 'Q83620'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:Q55488 ) ( ontology:Q83620 ) } . ?d rdf:type ?h } GROUP BY ?t } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:Q55488 ) ( ontology:Q83620 ) } . ?o rdf:type ?r } GROUP BY ?n } . FILTER ( ?i = ?m ) }
Bühl Neuenburg Alter Schee Wissinghausen Oppershofen Inwood Rehsiepen Giershagen Bunnen Barnstorf La Sal Heisingen Ossenberg Ahlhorn Zickeritz Präg Othal Herbede Sindlingen Haaßel Fullersta Salzmünde Malchow Plittersdorf Hasserode Slate Klagenfurt Neustadt Flögeln Rösenbeck Mallnow Becklingen Stocksund Göttingen Endenich Heinrichsdorf Graurheindorf Batten Roßwag Buschdorf Altenbüren Scharn Magdeburgerforth Nelben San Pedro Horezu Bilina Haltingen Windheim Mercier Skøyen Bönkhausen Huntlosen Coney Island Hülsen Federal Quarter Walternienburg Wittichen Christianshavn Poppelsdorf Dänikhorst Hagen Pest Groß Pinnow Pixwaag Sandweier Elsenz Niederpleis Bergen op Zoom Ahrweiler Berg Rothenburg Ochanomizu Norton Manor Camp Probsteizella Polßen Neudorf Pölsfeld Rüdinghausen Bohlingen Griesheim Neuastenberg Toruń Wulferdingsen Shibuya-ku Röttgen Levern Ührde Puńsk Sülldorf Steinfurth Rösa Dörnberg Alme Rialto Eschefeld Rühle Rüngsdorf Goldbeck Storängen Godesberg-Villenviertel Hamburg Drasenbeck Küdinghoven Yach Cappel Versen Ormsta Uptown Hohenrode Tattby Hagendorf, Waidhaus Hals Lichtental Rosian Forest Hills Drewer Schelldorf Pestrup Lucherberg Picpus Harpstedt Auerberg Mapimí Brunskappel Sankt Arnual Lette Frörup Molsberg Schalke De Vliert Hävern Vilich-Müldorf Braunshausen Stonařov Vogelsburg Burhave Lichtenrade Science Park Amsterdam Neetzow Blumberg Neuhäusel Wöbbel Hasede Rakaw Jütrichau South Side Helmeringhausen Wachendorf Mehlem Falkenberg Gdańsk Padberg Hemkenrode Duvenstedt Roisdorf Füchtorf Vorhop Dingden Lannesdorf Beuel Rolandseck Okel Hiddesen Tüddern Fischerhude Aderstedt Westbevern Gronau Büderich Martinsrieth Adachi Spexard Bremen Grünau Rapenburg vallée de Fécamp Monnickendam Flüren Diebzig Hesepe Elfrath Ottingen Scharfenberg Noailles Heimburg Krusenbusch Selhof Lessenich/Meßdorf Rixen Heisterbach Abbey Rhöndorf Île aux Basques Schreyahn Teveren Villastaden Charlottenburg Freienohl Beuren Hochkreuz Riddagshausen Dottendorf Gützkower Fähre Rieseberg Bölsdorf Helmlingen Maxau Winz-Baak Holmenkollen Aplerbeck Lengsdorf Hausen an der Aach Weißenbrunn vorm Wald Wesseln Apollmicke Jamikow Recklinghausen Oppenwehe Geradstetten Belleville Häger Giesen Nammen Hattingen Ruhleben Pragpaul La Lieutenance Willemspark Ohligs Ließem Priabona Neuenlande Brüser Berg Ablach Schlaitz Groppenbruch Bachum Ennigloh Igelboda Enkhausen Abiquiú Resse Glane Ruthe Potshausen Rodalquilar Exter Schwafheim Ohmi, Itoigawa City Lauenberg Elkeringhausen Bondorf Oostburg Montebamboli Zeilsheim Rübeland Schnepke Westgroßefehn Bremen Kurl Fornovolasco Hellental Nehden Groenlo Adscheid Langnau Veracruz Vorsfelde Logelbach Altfinnentrop Hohenbüchen Charadai Tempelhof Oberkassel Hesborn Wimbern Nordenau Buchhorst Haselstein Kungsklippan Liesen Pennigbüttel Ruhestetten Ringstedt Elschbach Wehe Elbingerode Wätzum Voslapper Groden Pillgram Hohegeiß Altastenberg Westenfeld Lahäll Nuttlar Gedern Berghausen Ranna Beaujoire Schagen Bieber Ustarasai Deposit Harlingen Ellinghorst Enste Bardenbach Hesperinghausen Bredelar Mühlhausen an der Enz Barnstorf Arbourg Grafenmühle Bredelem Ramsbeck Kerbourg Wirmighausen Schönebeck Oesterholz-Haustenbeck Heiderhof Waldhausen Hermannsdorf La Brèche-aux-Loups Liepen Hausen Stockum Lohfeld Oranienbaum Pöbbeckenmühle Koldingen Questenberg Albaum Landenbeck Elbląg Hundesossen Schanze Lamerden Hemmelte Pompas Lönnewitz Tannenbusch Wellie Ottbergen Wohlendorf Neustadtgödens Wachendorf Stelborn Luckow-Petershagen Usseln Udorf Rehburg Vaajakoski Corpus den Hoorn Riemke Ippendorf Dobis Löpten Schopfloch Nedlitz Hoholz Ootmarsum Lombardijen Österskär Llívia Darien, Connecticut Lanstrop Gavendorf Bislich Gadsdorf Thiercelieux Karow Limperich Osterode am Fallstein Lahde Deggendorf Steinbrink Mackenrode Krombach Kraków Wendschott Saltsjö-Duvnäs Beuel-Ost Friesdorf Langeloh Geesow Oelingrath Borstel Altengronau Namedy Watergraafsmeer Rommersdorf Bracht Costedt Rantum Dangstetten Planena Voslapp Wielbark, Warmian-Masurian Voivodeship Nordel Oosterparkwijk Zálesí (Javorník) Prieschka Wunderburg Welleringhausen Meiste Einsiedelei Wendesse Perrache Peridot Lödderitz Dransdorf Klara Nendorp Holtorf Hausen Venne Solsidan Bamenohl Rühle Glücksburg Jävenitz Noswendel Dornach Nietleben Büchenberg Hengstey Wanhöden Vynen Kethel Neustädtel Stötteritz Derborence Ajo Krummasel Kochermühle Hörste Obermarsberg Magenta Amecke Buckow Vienenburg Buch Kirchderne Pennenfeld Bissin Waalwijk Helstorf Adorf Aprath Witterschlick Zabeltitz Bruchhausen Heinäpää Menden-Holthausen Medemblik Schüren Kekerten Island Wolbeck Revenahe-Kammerbusch Ensta Östberga Neubrück Lublin Wernesgrün Kreuzberg Lübeck Les Fonds-Verts Ekeby Züschen Röntgental Nötting Gemünden Salzderhelden Reinickendorf Höchst Bustedt Poznań Kuckenburg Diersfordt Elpe Patisia Mendoza Woja Wehringhausen Holzlar Gilde Greffen Saarn Kragstalund Repe Schüren Gevelinghausen Venusberg De Greiden Wullen Königshütte Ostheim Gödestorf Hüls Groß Förste Lewenborg Oaxaca de Juárez Böllberg/Wörmlitz Krettnich Aschen Coendersborg Baden bei Wien South End Schillig Earlimart Inanda, KwaZulu-Natal Lamme Fort Knox Richelsdorf Heldmannsberg Downtown East Schöneberg Eisbergen Pützchen-Bechlinghoven Raabs an der Thaya Rzucewo Crengeldanz Ménilmontant Kleinpolder Angyalföld Furth Burgkemnitz Wülfte Lance Creek Szklary, Ząbkowice Śląskie county Zahrensen Bautzen Ilverich Bennstedt Eringerfeld Bergen Venne Buddenhagen Drevenack Silbach Schafwedel Latin Quarter Seligenthal Ösby Volmarstein Aegidienberg Yulongshan Grund Heerte Otternhagen Seelenfeld Habenhausen Aseleben Brockzetel Römlinghoven Obermörmter Gerlebogk Muffendorf Zons Montempoivre Eberstadt Tangeln Deblinghausen Dreiborn Kessenich Selwerd Ramersdorf Marzahn Grötzingen Menzenberg Linsenhofen Bingenheim Markhof Volksdorf Nacka Ipwege Muglitz Witten-Hohenstein Holzhausen Wickede Wendelstein Willemstad, North Brabant Imhausen Barmen Ückesdorf Visbeck Geislar Akihabara Schmallenberg Leitmar garden city movement Mariendorf Bevern Kattenvenne Gierath Langewiese Eppendorf Blochingen Schweinheim Duisdorf Sperenberg Reeserschanz Wieckenberg Breitenbruch Mülheim Bornhorst Neuhaus Niedermarsberg Bommerholz-Muttental Bad Fredeburg Friemersheim Bilstein Franeker Mengede Tegel Pointe-au-Père, Quebec Hambach
Hamburg, Kraków and Gdańsk are namesakes of min number of railway stations and thoroughfares
Hamburg Kraków Gdańsk
action argmin
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type railway station
action find_reverse_tuple_counts
relation named after
type human settlement
type thoroughfare
[[{'concept': 'railway station'}, {'concept': 'thoroughfare'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?e ) WHERE { VALUES ( ?h ) { ( ontology:railway_station ) ( ontology:thoroughfare ) } . ?d rdf:type ?h } GROUP BY ?t } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?i ) WHERE { VALUES ( ?r ) { ( ontology:railway_station ) ( ontology:thoroughfare ) } . ?o rdf:type ?r } GROUP BY ?n } . FILTER ( ?i = ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q486972 Q13220204
USER
Which administrative country subdivisions are sister town of atleast 3 human settlements ?
(c(Q13220204),P190,c(Q486972))
action atleast
action find_tuple_counts
relation P190
type Q13220204
type Q486972
value 3
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?f >= 3 ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?f ) WHERE { ?x property:P190 ?v . ?x rdf:type ontology:Q13220204 . ?v rdf:type ontology:Q486972 } GROUP BY ?x } }
action atleast
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
value 3
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?f >= 3 ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?f ) WHERE { ?x property:sister_city ?v . ?x rdf:type ontology:second-level_administrative_country_subdivision . ?v rdf:type ontology:human_settlement } GROUP BY ?x } }
[]
human settlement second-level administrative country subdivision
Q156739
SYSTEM
Rivne
Q156739
(c(Q13220204),P190,c(Q486972))
action atleast
action find_tuple_counts
relation P190
type Q13220204
type Q486972
value 3
[ANSWER] is sister town of atleast 3 human settlements
[{'concept': 'Q13220204'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?f >= 3 ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?f ) WHERE { ?x property:P190 ?v . ?x rdf:type ontology:Q13220204 . ?v rdf:type ontology:Q486972 } GROUP BY ?x } }
Rivne
Rivne is sister town of atleast 3 human settlements
Rivne
action atleast
action find_tuple_counts
relation sister city
type second-level administrative country subdivision
type human settlement
value 3
[{'concept': 'second-level administrative country subdivision'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?f >= 3 ) . { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?f ) WHERE { ?x property:sister_city ?v . ?x rdf:type ontology:second-level_administrative_country_subdivision . ?v rdf:type ontology:human_settlement } GROUP BY ?x } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q156739
P1376
Q1267632
USER
What has that administrative country subdivision as its capital ?
(Q156739,P1376,c(Q1267632))
action filter_type
action find
entity Q156739
relation P1376
type Q1267632
['Q156739', 'P1376', {'concept': 'Q1267632'}]
SELECT DISTINCT ?a WHERE { resource:Q156739 property:P1376 ?a . ?a rdf:type ontology:Q1267632 }
Rivne
action filter_type
action find
entity Rivne
relation capital of
type raion of Ukraine
['Rivne', 'capital of', {'concept': 'raion of Ukraine'}]
SELECT DISTINCT ?a WHERE { resource:Rivne property:capital_of ?a . ?a rdf:type ontology:raion_of_Ukraine }
[]
raion of Ukraine
Q2347421
SYSTEM
Rivne Raion
Q2347421
(Q156739,P1376,c(Q1267632))
action filter_type
action find
entity Q156739
relation P1376
type Q1267632
In [ANSWER] has that administrative country subdivision as its capital
['Q156739', 'P1376', {'concept': 'Q1267632'}]
SELECT DISTINCT ?a WHERE { resource:Q156739 property:P1376 ?a . ?a rdf:type ontology:Q1267632 }
Rivne Raion
In Rivne Raion has that administrative country subdivision as its capital
Rivne Raion
action filter_type
action find
entity Rivne
relation capital of
type raion of Ukraine
['Rivne', 'capital of', {'concept': 'raion of Ukraine'}]
SELECT DISTINCT ?a WHERE { resource:Rivne property:capital_of ?a . ?a rdf:type ontology:raion_of_Ukraine }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q156739
P17
Q15617994
USER
Which administrative territory is that administrative country subdivision present in ?
(Q2347421,P17,c(Q15617994))
action filter_type
action find
entity Q156739
relation P17
type Q15617994
['Q2347421', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q156739 property:P17 ?u }
Rivne
action filter_type
action find
entity Rivne
relation country
type designation for an administrative territorial entity
['Rivne Raion', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rivne property:country ?u }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q2347421,P17,c(Q15617994))
action filter_type
action find
entity Q156739
relation P17
type Q15617994
That administrative country subdivision is of [ANSWER]
['Q2347421', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q156739 property:P17 ?u }
Ukraine
That administrative country subdivision is of Ukraine
Ukraine
action filter_type
action find
entity Rivne
relation country
type designation for an administrative territorial entity
['Rivne Raion', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rivne property:country ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q212 Q18748028
P27
Q502895
USER
Is Pavlo Kyshkar a citizen of that administrative territory ?
(Q18748028,P27,Q212)
action is_in
entity Q212
action find
entity Q18748028
relation P27
['Q18748028', 'P27', 'Q212']
ASK WHERE { resource:Q18748028 property:P27 resource:Q212 }
Ukraine Pavlo Kyshkar
action is_in
entity Ukraine
action find
entity Pavlo Kyshkar
relation country of citizenship
['Pavlo Kyshkar', 'country of citizenship', 'Ukraine']
ASK WHERE { resource:Pavlo_Kyshkar property:country_of_citizenship resource:Ukraine }
[]
common name
SYSTEM
YES
(Q18748028,P27,Q212)
action is_in
entity Q212
action find
entity Q18748028
relation P27
[ANSWER]
['Q18748028', 'P27', 'Q212']
ASK WHERE { resource:Q18748028 property:P27 resource:Q212 }
Yes
action is_in
entity Ukraine
action find
entity Pavlo Kyshkar
relation country of citizenship
['Pavlo Kyshkar', 'country of citizenship', 'Ukraine']
ASK WHERE { resource:Pavlo_Kyshkar property:country_of_citizenship resource:Ukraine }
[]