Simple Question (Direct)
Simple Question
Q1649014
P21
Q290
USER
Which sex does Kevin Krisch belong to ?
(Q1649014,P21,c(Q290))
action filter_type
action find
entity Q1649014
relation P21
type Q290
['Q1649014', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1649014 property:P21 ?q . ?q rdf:type ontology:Q290 }
Kevin Krisch
action filter_type
action find
entity Kevin Krisch
relation gender
type sex
['Kevin Krisch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Kevin_Krisch property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1649014,P21,c(Q290))
action filter_type
action find
entity Q1649014
relation P21
type Q290
Kevin Krisch belongs to [ANSWER]
['Q1649014', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1649014 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Kevin Krisch belongs to male
male
action filter_type
action find
entity Kevin Krisch
relation gender
type sex
['Kevin Krisch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Kevin_Krisch property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1649014
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q1649014
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q1649014 property:P641 ?t . ?t rdf:type ontology:Q349 }
Kevin Krisch
action filter_type
action find
entity Kevin Krisch
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Kevin_Krisch property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q1649014
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q1649014 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Kevin Krisch
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Kevin_Krisch property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1649014
P19
Q56061
USER
Which administrative territory was Kevin Krisch born in ?
(Q1649014,P19,c(Q56061))
action filter_type
action find
entity Q1649014
relation P19
type Q56061
['Q1649014', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1649014 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Kevin Krisch
action filter_type
action find
entity Kevin Krisch
relation place of birth
type administrative territorial entity
['Kevin Krisch', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Kevin_Krisch property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1649014,P19,c(Q56061))
action filter_type
action find
entity Q1649014
relation P19
type Q56061
Kevin Krisch was born in [ANSWER]
['Q1649014', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1649014 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Vienna
Kevin Krisch was born in Vienna
Vienna
action filter_type
action find
entity Kevin Krisch
relation place of birth
type administrative territorial entity
['Kevin Krisch', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Kevin_Krisch property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1221949
Q56061
USER
And how about Dieter Freudenberg?
(Q1221949,P19,c(Q56061))
action filter_type
action find
entity Q1221949
relation P19
type Q56061
['Q1221949', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1221949 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Dieter Freudenberg
action filter_type
action find
entity Dieter Freudenberg
relation place of birth
type administrative territorial entity
['Dieter Freudenberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Dieter_Freudenberg property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7050
SYSTEM
Weinheim
Q7050
(Q1221949,P19,c(Q56061))
action filter_type
action find
entity Q1221949
relation P19
type Q56061
[ANSWER]
['Q1221949', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1221949 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Weinheim
Weinheim
action filter_type
action find
entity Dieter Freudenberg
relation place of birth
type administrative territorial entity
['Dieter Freudenberg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Dieter_Freudenberg property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q868869
P138
Q515 Q486972 Q56061
USER
How many administrative territories have less number of cities or human settlements as their toponym than Harlingen ?
(c(Q56061),P138,c(Q515)|c(Q486972))
action count
action less
action union
action find_tuple_counts
relation P138
type Q56061
type Q515
action find_tuple_counts
relation P138
type Q56061
type Q486972
action count
action filter_multi_types
action find
entity Q868869
relation P138
type Q515
type Q486972
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?m ) WHERE { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q868869 property:P138 ?x . { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } } } . FILTER ( ?m < ?p ) }
Harlingen
action count
action less
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type city
action find_tuple_counts
relation named after
type administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Harlingen
relation named after
type city
type human settlement
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?m ) WHERE { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Harlingen property:named_after ?x . { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:city ) ( ontology:human_settlement ) } } } } . FILTER ( ?m < ?p ) }
[]
city human settlement administrative territorial entity
SYSTEM
719
Q1510724 Q202736 Q5425343 Q923811 Q630597 Q1004791 Q1020592 Q1017362 Q2132 Q509541 Q2965897 Q1016100 Q1024892 Q585426 Q15273 Q567825 Q755425 Q1718 Q3028710 Q190583 Q146811 Q493378 Q574085 Q639408 Q947001 Q1085963 Q2675898 Q23927055 Q786124 Q4849268 Q7947 Q155955 Q1152219 Q894 Q2058 Q2502173 Q891 Q2284698 Q18682600 Q34116 Q2291816 Q83178 Q21416521 Q157688 Q25923 Q102334 Q3844 Q6661068 Q11683189 Q963170 Q2583602 Q2786054 Q583161 Q1784180 Q534957 Q3805 Q3240441 Q2288 Q810678 Q732554 Q2247076 Q3481151 Q2768192 Q4217424 Q588 Q484678 Q196501 Q946227 Q4258240 Q1276943 Q2067514 Q2451306 Q19289482 Q6506 Q605113 Q989567 Q1309 Q2605640 Q1403187 Q2560090 Q606153 Q1018025 Q2403511 Q2890642 Q28539 Q2685999 Q4067724 Q1297086 Q323432 Q1829193 Q10690 Q18471262 Q959016 Q13648690 Q21999685 Q383434 Q208318 Q4116524 Q172575 Q1186226 Q167895 Q191642 Q131335 Q200917 Q3025889 Q124281 Q787828 Q13542193 Q2138 Q1120380 Q128306 Q15242553 Q2327293 Q1924796 Q1685683 Q172616 Q189295 Q9365 Q79439 Q3726467 Q90 Q2442973 Q976759 Q470638 Q48329 Q4231936 Q5646251 Q675049 Q12725121 Q970482 Q1963236 Q2267197 Q264605 Q6883436 Q160544 Q269222 Q5284497 Q5284494 Q2550212 Q2441471 Q13122 Q1930 Q1010188 Q18682030 Q516769 Q1212270 Q525007 Q7974195 Q5433196 Q2315713 Q568563 Q3030491 Q1020419 Q2310264 Q12077645 Q2280179 Q12077647 Q1000232 Q133310 Q58337 Q132679 Q365 Q1509463 Q2135060 Q676589 Q2583736 Q1410885 Q1253349 Q1144877 Q192235 Q2060859 Q2231797 Q116732 Q2786965 Q206954 Q3462820 Q2022921 Q746056 Q14218357 Q1871309 Q4792204 Q208445 Q2396415 Q913476 Q21186160 Q2104736 Q954186 Q16555 Q476835 Q1019187 Q516581 Q282540 Q1670366 Q2096672 Q393693 Q2132831 Q11899935 Q20593492 Q2459510 Q28260 Q13129608 Q153490 Q1027521 Q2531632 Q11870465 Q6661799 Q95041 Q852658 Q751594 Q1000172 Q874262 Q3112096 Q2305259 Q166065 Q1524 Q1043381 Q4454 Q128361 Q2549931 Q128244 Q2367586 Q155309 Q1904685 Q3396792 Q154785 Q196724 Q2995979 Q43463 Q2199406 Q16294796 Q990898 Q488987 Q2281401 Q970540 Q18659914 Q2231869 Q3239732 Q887 Q2082 Q2024923 Q2020113 Q906740 Q55669 Q1907325 Q852577 Q491462 Q2141 Q6178987 Q812722 Q37133 Q714650 Q6661272 Q3028745 Q746772 Q4813216 Q1620075 Q2899083 Q767177 Q3141 Q706032 Q814163 Q2031463 Q17151 Q11892363 Q5062771 Q431932 Q237 Q14706851 Q3566431 Q605267 Q567814 Q16559 Q614727 Q647 Q585186 Q23443 Q1763534 Q1656936 Q1019486 Q2405593 Q3130 Q10843471 Q932955 Q844091 Q198125 Q7592847 Q1866604 Q2294628 Q2545984 Q79863 Q1750681 Q690882 Q615136 Q2615624 Q3567822 Q484870 Q13129631 Q664723 Q606268 Q87 Q129452 Q733744 Q491132 Q965101 Q12980087 Q211463 Q10686 Q16274129 Q11901984 Q19289906 Q765823 Q1353744 Q48338 Q7225587 Q5112 Q525618 Q11892146 Q2199088 Q5239 Q1741 Q2190456 Q175161 Q268782 Q1735 Q666165 Q93910 Q2470571 Q5284547 Q966492 Q1434796 Q18242285 Q37320 Q642164 Q208000 Q284406 Q297853 Q5330523 Q49111 Q618495 Q17203393 Q2792756 Q806903 Q153609 Q153565 Q786611 Q16869 Q722396 Q5169909 Q175505 Q19289593 Q393619 Q174 Q60 Q1957 Q961248 Q932623 Q18602441 Q485699 Q823475 Q1144250 Q1659808 Q2198018 Q16648189 Q129461 Q746027 Q501744 Q16660730 Q1878726 Q2003323 Q2324280 Q143697 Q3029834 Q858607 Q5032535 Q2266864 Q975843 Q2224902 Q3183 Q15241652 Q1158897 Q368727 Q2204179 Q14912 Q2722227 Q2211711 Q48273 Q1935682 Q10393380 Q105284 Q336350 Q196922 Q22669030 Q1176875 Q20593780 Q31990 Q3406126 Q3497036 Q956 Q196934 Q187346 Q4412287 Q5655 Q6226 Q99988 Q493025 Q3101185 Q34183 Q103850 Q2920311 Q1996519 Q157458 Q51681 Q51685 Q2198333 Q5384 Q2324628 Q50816 Q2270295 Q17942 Q1021877 Q18419 Q953279 Q2455984 Q7110478 Q2770 Q6936566 Q574612 Q2174173 Q1982848 Q13652348 Q158357 Q5206 Q12131761 Q983538 Q2375558 Q1020484 Q2865259 Q20593327 Q3117041 Q5355318 Q895407 Q2840555 Q18161533 Q3047387 Q52998 Q3152900 Q1856529 Q11568 Q6377788 Q16658206 Q983832 Q16658203 Q1974434 Q501824 Q2496779 Q530191 Q961897 Q153549 Q54886 Q2684131 Q49219 Q979752 Q2380665 Q1010939 Q156717 Q4207520 Q2063327 Q3567118 Q3876 Q2523914 Q1829 Q1047189 Q340 Q2240740 Q175651 Q12093400 Q593141 Q4670000 Q2503080 Q1659154 Q2855406 Q20933314 Q6125153 Q457334 Q16015068 Q244025 Q1816203 Q631186 Q1112057 Q979938 Q6787277 Q3043 Q2732597 Q43070 Q24639 Q45604 Q2311761 Q1026175 Q3413067 Q1942643 Q315052 Q2552887 Q463165 Q134279 Q652552 Q13035375 Q915 Q914 Q162933 Q1861097 Q2956038 Q6449092 Q188693 Q129449 Q3623803 Q196384 Q129447 Q743632 Q44016 Q44013 Q133123 Q744550 Q471969 Q197902 Q2540118 Q7438733 Q13640603 Q2272796 Q375185 Q7122288 Q1005623 Q663035 Q157469 Q2043530 Q223308 Q2919992 Q486860 Q2931074 Q5627 Q1026291 Q15982072 Q61 Q62 Q1937099 Q2080102 Q2857905 Q201125 Q105150 Q2636902 Q15552182 Q194067 Q1026838 Q670083 Q1025016 Q2018240 Q2621007 Q1297201 Q1014288 Q2271236 Q79588 Q5284526 Q2805272 Q2761467 Q2649977 Q982379 Q5261403 Q1002286 Q72380 Q4867888 Q956545 Q982372 Q855572 Q3025882 Q795623 Q498968 Q2483434 Q1929731 Q499169 Q270887 Q1818610 Q2215428 Q8076888 Q132832 Q5491176 Q11880386 Q2782963 Q2613390 Q4620106 Q3029792 Q10313 Q2434021 Q405550 Q1921069 Q3112125 Q3497234 Q641 Q40747 Q17486733 Q578669 Q727 Q134318 Q632687 Q867468 Q21181 Q187313 Q44059 Q40191 Q955151 Q20252340 Q2603127 Q276115 Q2464425 Q158292 Q79844 Q427543 Q2500115 Q727806 Q4361 Q633371 Q617602 Q2662899 Q203263 Q518189 Q2639307 Q5511175 Q104059 Q1380511 Q75008 Q34932 Q2650727 Q9003776 Q784496 Q2623928 Q6665662 Q1040 Q503652 Q575206 Q3947651 Q6421147 Q152491 Q870864 Q201243 Q5603908 Q14452 Q3400083 Q136383 Q100 Q19290903 Q2123 Q458 Q2127 Q2061265 Q3117008 Q3832 Q988751 Q18744510 Q3495314 Q856004 Q3002124 Q470481 Q60705 Q133116 Q991515 Q983438 Q3932 Q649 Q1002490 Q642894 Q3305212 Q2029779 Q2928449 Q2269699 Q513464 Q216 Q2278195 Q3077234 Q1007823 Q1187051 Q712567 Q661735 Q13972 Q208151 Q2081683 Q6096033 Q2688620 Q1943127 Q3028087 Q955115 Q1858372 Q1015690 Q339527 Q2388710 Q478029 Q886915 Q4336048 Q2997217 Q849292 Q79809 Q661559 Q1341 Q16106 Q1476342 Q146798 Q1016404 Q15241524 Q8052284 Q916603 Q103661 Q1013717 Q198210 Q2904899 Q198748 Q11873198 Q1849651 Q11901400 Q20205972 Q2757895 Q2503821 Q1758944
(c(Q56061),P138,c(Q515)|c(Q486972))
action count
action less
action union
action find_tuple_counts
relation P138
type Q56061
type Q515
action find_tuple_counts
relation P138
type Q56061
type Q486972
action count
action filter_multi_types
action find
entity Q868869
relation P138
type Q515
type Q486972
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?m ) WHERE { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q868869 property:P138 ?x . { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } } } . FILTER ( ?m < ?p ) }
White Bird Littlefield FELDA L.B. Johnson New Amsterdam, Guyana Twijzelerheide Douglas Pulaski Mount Hagen Victoria Andrews Ermerveen King William's Town Robertsport Eesergroen Kirovsk Zuid-Beijerland Athens Düsseldorf Zuidlaarderveen Mikkeli Zanesville Culver City Strahan Waterloo George Enescu Franklin Beetsterzwaag Karuma Falls Kosovo Polje Bakers Narrows Pushkin Kuybyshev Baker City Samara Whitehorse Maksyma Horkoho Nizhny Novgorod Munnekemoer Saukkoriipi Thunder Bay Gheorghe Doja Almere Settlement of Sullivans Cove Lomonosov Longyearbyen Dmitrov Brazzaville Llanafan Fawr Ingeniero Adolfo Sourdeaux Humboldt Sint-Anna Valthermond Aranđelovac Doral Cleburne Amman Canistota Tver Bastrop Chavín de Huantar Barger-Compascuum Shackleton Mahbubnagar Cato Ridge Katowice Berkeley Suvorov Kermit Lenino Eamont Bridge Quesnel, British Columbia Onida Sztálinváros Varna Gosford Wooster Maastricht Gasselterboerveen Felipe Carrillo Puerto Athol Port Macquarie Vahdat St Arnaud Beit Berl Karrharde Pieterburen Anuchino Szentléránt Fairfield Gardner Cardiff San Lorenzo Amsterdam Taradei Llantrithyd Greater Sudbury Kaduna Daintree Neftegorsk Lincoln, New Zealand Kalamata São José dos Campos Sioux Falls Zaslawye Odoornerveen Antinopolis Aleksa Šantić C.A. Rosetti Fredericton Prescott Denton Llandeloy Kolderwolde Mora Jean Marie River Nefteyugansk Serov Dushanbe Athens I.L. Caragiale Paris Coal City Kountze Loyalist Mariehamn Konchanskoe-Suvorovskoe Hampton Lucy Flandreau Sarmizegetusa Nacogdoches Nieuwe Krim Blauwestad Humboldt Mitta Mitta Heraklion Buchanan, Liberia Braddon Bass De Bombay Dieverbrug Dendermonde Ottawa Scheemda Kivijärvi Faya-Largeau Máriabesnyő Kerrville Waterloo Groenlandsekade Inkster Lincoln Nieuw-Dordrecht Madison Roderwolde Alexandru Odobescu Ushakovskoye Alexandru Odobescu Falcon Heights Volodarsk Banff Willemstad Cologne Vaishali Gas Szandaszőlős Lincolnville Pulaski Rókus Currie Ciudad del Este Nieuw-Beijerland Nieuw-Roden Nakovo Lincoln Kastoria Krasnogvardeyskoye, Stavropol Krai Burgemeester Beinsdorp Telečka Holbrook Ironton Qarakeçdi Vallejo Hornhuizen Albert Lea Kerekszenttamás Port McNeill Campbelltown Houston Givat Brenner Daireaux Baunatal Thompson Falls Tangipahoa Spangen Agioi Anargyroi Prins Alexander Vaalajärvi Llandeilo Graban Pesse Lincoln Llanbadarn Fynydd Kirov Ermelo Papagou Kauhajärvi Llantilio Pertholey Naberezhnye Chelny Bishop Preseka, Gornji Mihaljevec Pulaski Ladysmith Rotsterhaule Vegelinsoord Lelystad Athens Reimersholme Khabarovsk Odessa Haskerhorne Waco Sint Jacobiparochie Korolyov Naterij Melas Komsomolsk Tutayev Hull Fortaleza Haslam Stalinstadt Georgetown Türkmenbaşy Nieuw-Buinen Wharton Kauhajärvi Fort Ripley Sulphur Yekaterinburg St. John's Pooley Bridge Clay City Diósgyőr-Vasgyár Ny-Ålesund Laaghalerveen Carlsbad Anderson Halifax Jennings Bački Gračac Mariupol Obrenovac Llandyssil Eelderwolde Hantumhuizen Athanasios Diakos, Greece Hippos Sevenhill Kurchatov Melbourne Melton Beeville Santo Tomé Thessaloniki Sanginjoki General Berthelot Truth or Consequences Vatican City Mabbettsville Askio Geraldton Iron Mountain Austin Eexterveen Rennes Tweede Exloërmond Provo Açailândia Sáenz Peña Harper Drouwenermond Sydney Aarón Castellanos Scharsterbrug Calabar Chkalovsk St Clether Livingstone, Zambia Oneida De Wilp Tskhinvali Rakovski Municipality Sint Philipsland Nederland Lincolnton Whitton Eisleben Llanfechell Henderson Port Lincoln Alexandria Snorum Filadelfia Santa Clarita Emory Flaten Agios Nikolaos Belfast Bergen Isakhanova Vuontisjärvi Dunapentele Augusta Vindelicorum Marconi Wireless Station Site Kayseri Pollards Point Adelaide Presidente Prudente Salpausselkä Dalerpeel Vladikavkaz Vienna Stawell Novomoskovsk Bady Bassitt Innsbruck Augusta Treverorum Novokuznetsk Pineia Lyons Lincoln, California Tamworth Beruniy Cleveland Beylagan Mahabalipuram José María Morelos Øresund Region Eastern Tickle Cambridge Aphrodisias Bajaszentistván Wijnjewoude Banning Kirovsk Kirovo-Chepetsk Püspökszentlászló Constantinople Dusti Cordeaux Heights Nolinsk Leninváros Ayia Trias, Cyprus São Paulo New York City Vologda Valentine Dauphin Island Benczúrfalva Stadskanaal Hall Hopetoun Imeni Poliny Osipenko Batadorp Yelizavetovka Hej Havelterberg Alert Mindszent Willemsoord, Steenwijkerland Warner Robins Eexterzandvoort Kalininsk Kollumerzwaag Strijen Cann River Rotstergaast Kaufman Echtenerbrug Perth Busse Dampier Mátyásföld Llandeilo Saarlouis Creil Nitro Adamstown Kolkhozobod Wenceslao Escalante Bolgar Sokoto Usolye Máriaváros Mihail Kogălniceanu Llanddwywe San Saba Llantwit Fardre Kennedy Town Beijing Ussuriysk Constantine Bromma Kyrka Chernyakhovsk St Albans Gulpen Edson Uithuizermeeden Barrie Arsenyev Nordia Agia Varvara Leninogorsk Charlotte Amalie Tempe Buweklooster Kirov Geesbrug Mississauga Dalerveen Haasts Bluff Clarens, Free State Brooklyn Sveti Petar, Ogulin Haulerwijk Oulu Tula Victor Larco Herrera Municipality New Braunfels Rhederbrug New Norfolk Nebo Marks Stavropol Mihai Eminescu Green River Rutherglen Satpayev Exloërveen Llanbadarn y Garreg Nigtevecht Electoral district of Daylesford Bowen Sint Annaparochie Russell Hill Eden Richmond Hill Amsterdam, Mpumalanga Alexander Bay, Northern Cape Darwin Oprișani Turgenevo Yazoo City Ruzhino Yodfat Elim Gasselternijveenschemond Nea Ionia Lincoln Kirovgrad Cuenca De Punt Irvine Post Mission Akhalgori Khmelnytskyi Kazakevichevo Roma Weiteveen Lilongwe Bethlehem, Groningen Kaliningrad Golovnino Montreal IJsselmonde Obninsk Vintilă Vodă Philip Acharnes Amsterdamscheveld Shahrixon Bonnerveen Itascatown Jakhau Moncton Venyukovo Burnaby Presidente Bernardes Thomasville Jumilla Frieschepalen Mathinna Belmopan Nikola Tesla Donetsk Vancouver Kandahar Iron City Custer Jean-Jaurès Aberfeldy Nahe Peizerwold Sault Ste. Marie Luhansk Dordrecht, Eastern Cape Luneburg, South Africa Perm Volgograd Amaliada Sint Nicolaasga Change Islands Kuybyshev Blantyre Snapp General Praporgescu Solikamsk Snipp Nieuw-Amsterdam, Drenthe Markham Vaughan Patras Belton Lille metropolis Chekalin Santo Tomé Scranton Banevurovo Damwâld Hanford Pacific Alliance New Berlin Lincoln Leninsk Oranjedorp New Amsterdam Kfar Zoharim Mountain View Termunterzijl Ulyanovsk Kant Colonia Calafia Washington, D.C. San Francisco Pierz Kraggenburg Anthedon Zrenjanin Biryuch Eagmaryp Tikhmenevo Serpukhov Kfar Malal Sveti Duh na Ostrem Vrhu Cooperstown Beech Grove Kreva Szentsimon Nea Vyssa Kootstertille Lincoln Franklin Ens Roderesch Peizermade Sherman Derby Donji Milanovac Kurchatov Bass Wildervank Dalhart Bükkszentlászló Poortugaal Oud-Beijerland Espargos Frederiksoord Ter Apelkanaal Tyler Lethbridge Lastoursville Souillac, Mauritius Ángel R. Cabada Budyonnovsk Franklin Maanselkä Nieuw-Balinge Tweede Valthermond Kərimbəyli Nij Altoenae Donostia/San Sebastián Lheebroek Suvorovo Meppen Nij Beets Motovilikhinsky City District Venice Pierre Llandeilo Abercywyn Albertfalva Amsterdam Gagarin Archer City Ciprian Porumbescu Fredericia Stanley La Plata Hobart Butler Miguel Alemán Valdés Al-Malikiyah Grise Fiord Clay Kropyvnytskyi Stuttgart Stockholm metropolitan area Musselkanaal Kollumerpomp Curitiba Raseborg Palestine Surhuisterveen Athens Agostyán Mastichochoria Fyansford Asbest Gloversville Östra Torn Brisbane Gieterveen Hilario Ascasubi Victoria Bartlehiem Lockington Karlsruhe Malvinas Argentinas Mount Pulaski San Martino della Battaglia Klisurski Monastery Herzliya Lenauheim Slutsk Greenethorpe Easter Island Llanafan Zhukov Boston Pálhalma Regina European Union Charlottetown Perito Moreno Oranjewoud Bangui Lincoln City Llanfechan St Endellion C.A. Rosetti Crantock Amfissa Emmeloord Hamilton Canmore Douglas São Tomé Moscow New Bern Alumínio Young Lincolnton Burfjord White River Horiany Vilnius Natchitoches Forfjord Galyatető Svilojevo Artigas Szilasliget Tartu León Donnybrook Ivan Cankar, Maribor Nieuw-Beerta Seville Feanwâldsterwâl Kirawsk Exloërkijl Hastings Launceston Eerste Exloërmond Falmouth Blythe Ordzhonikidze Chkalovsk Pedro Juan Caballero Utqiaġvik Ambracia Tolyatti Eisenhüttenstadt Hell-Bourg Zanesfield Burketown Abrazheyevka Yeni yol, Shamkir Cody Apatity Hamtramck Shakhunya Beetgumermolen Engels Kuivasjärvi Nieuw-Weerdinge Vikajärvi Colonia Ángel Heladio Aguirre Rivero Vrouwenparochie Ouwster-Nijega Rottumeroog
719
action count
action less
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type city
action find_tuple_counts
relation named after
type administrative territorial entity
type human settlement
action count
action filter_multi_types
action find
entity Harlingen
relation named after
type city
type human settlement
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?m ) WHERE { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Harlingen property:named_after ?x . { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:city ) ( ontology:human_settlement ) } } } } . FILTER ( ?m < ?p ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q819793 Q1221949
P27
Q1048835
USER
Which political territories are Dieter Freudenberg and Richard Fuchs a civilian of ?
AND((Q1221949,P27,c(Q1048835)), (Q819793,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1221949
relation P27
action find
entity Q819793
relation P27
type Q1048835
{'AND': [['Q1221949', 'P27', {'concept': 'Q1048835'}], ['Q819793', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { resource:Q1221949 property:P27 ?s . resource:Q819793 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Richard Fuchs Dieter Freudenberg
action filter_type
action intersection
action find
entity Dieter Freudenberg
relation country of citizenship
action find
entity Richard Fuchs
relation country of citizenship
type political territorial entity
{'AND': [['Dieter Freudenberg', 'country of citizenship', {'concept': 'political territorial entity'}], ['Richard Fuchs', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Dieter_Freudenberg property:country_of_citizenship ?s . resource:Richard_Fuchs property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q1221949,P27,c(Q1048835)), (Q819793,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1221949
relation P27
action find
entity Q819793
relation P27
type Q1048835
[ANSWER] is Dieter Freudenberg and Richard Fuchs a civilian of
{'AND': [['Q1221949', 'P27', {'concept': 'Q1048835'}], ['Q819793', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { resource:Q1221949 property:P27 ?s . resource:Q819793 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Germany
Germany is Dieter Freudenberg and Richard Fuchs a civilian of
Germany
action filter_type
action intersection
action find
entity Dieter Freudenberg
relation country of citizenship
action find
entity Richard Fuchs
relation country of citizenship
type political territorial entity
{'AND': [['Dieter Freudenberg', 'country of citizenship', {'concept': 'political territorial entity'}], ['Richard Fuchs', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Dieter_Freudenberg property:country_of_citizenship ?s . resource:Richard_Fuchs property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q237
P530
Q15617994
USER
How many administrative territories have diplomatic associations with Germany and Vatican City ?
(c(Q15617994),P530,Q183) (c(Q15617994),P530,Q237)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q237
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q183'] [{'concept': 'Q15617994'}, 'P530', 'Q237']
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x rdf:type ontology:Q15617994 . ?x property:P530 resource:Q237 . ?x rdf:type ontology:Q15617994 . ?x property:P530 resource:Q183 }
Germany Vatican City
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Vatican City
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Vatican City']
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation resource:Vatican_City . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation resource:Germany }
[]
designation for an administrative territorial entity
SYSTEM
2
Q230 Q801
(c(Q15617994),P530,Q183) (c(Q15617994),P530,Q237)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q237
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q183'] [{'concept': 'Q15617994'}, 'P530', 'Q237']
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x rdf:type ontology:Q15617994 . ?x property:P530 resource:Q237 . ?x rdf:type ontology:Q15617994 . ?x property:P530 resource:Q183 }
Georgia Israel
2
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Vatican City
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Vatican City']
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation resource:Vatican_City . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation resource:Germany }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q833
P530
Q1048835 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of political territories as Malaysia ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q833
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?a ) WHERE { ?e property:P530 ?x . ?e rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?a = ?z ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Q833 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Malaysia
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Malaysia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?a ) WHERE { ?e property:diplomatic_relation ?x . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?a = ?z ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Malaysia property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
81
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q851 Q733 Q734 Q736 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q833
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?a ) WHERE { ?e property:P530 ?x . ?e rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?a = ?z ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Q833 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
81
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Malaysia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?a ) WHERE { ?e property:diplomatic_relation ?x . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?a = ?z ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Malaysia property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q211
P530
Q1048835 Q15617994
USER
And also tell me about Latvia?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q211
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?o property:P530 ?y } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q211 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?z ) }
Latvia
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Latvia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?y } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Latvia property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?z ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
124
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q211
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?o property:P530 ?y } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q211 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?z ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
124
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Latvia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?y } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Latvia property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7050
P190
Q15617994
USER
Which administrative territory is sister town of Weinheim ?
(Q7050,P190,c(Q15617994))
action filter_type
action find
entity Q7050
relation P190
type Q15617994
['Q7050', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7050 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Weinheim
action filter_type
action find
entity Weinheim
relation sister city
type designation for an administrative territorial entity
['Weinheim', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Weinheim property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q50195
SYSTEM
Imola
Q50195
(Q7050,P190,c(Q15617994))
action filter_type
action find
entity Q7050
relation P190
type Q15617994
[ANSWER] is sister town of Weinheim
['Q7050', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7050 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Imola
Imola is sister town of Weinheim
Imola
action filter_type
action find
entity Weinheim
relation sister city
type designation for an administrative territorial entity
['Weinheim', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Weinheim property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q7050
Q56061
USER
And which administrative territory?
(Q7050,P190,c(Q56061))
action filter_type
action find
entity Q7050
relation P190
type Q56061
['Q7050', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q7050 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Weinheim
action filter_type
action find
entity Weinheim
relation sister city
type administrative territorial entity
['Weinheim', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Weinheim property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q484870 Q192807
SYSTEM
Eisleben, Ramat Gan
Q484870 Q192807
(Q7050,P190,c(Q56061))
action filter_type
action find
entity Q7050
relation P190
type Q56061
[ANSWERS]
['Q7050', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q7050 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Eisleben Ramat Gan
Eisleben Ramat Gan
action filter_type
action find
entity Weinheim
relation sister city
type administrative territorial entity
['Weinheim', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Weinheim property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7050
P190
Q56061
USER
Are Weinheim a sister city of those ones ?
(Q7050,P190,Q484870) (Q7050,P190,Q192807)
action is_in
entity prev_answer
action find
entity Q7050
relation P190
['Q7050', 'P190', 'Q484870'] ['Q7050', 'P190', 'Q192807']
ASK WHERE { resource:Q7050 property:P190 ?n . VALUES ( ?n ) { ( resource:Q484870 ) ( resource:Q192807 ) } }
Weinheim
action is_in
entity prev_answer
action find
entity Weinheim
relation sister city
['Weinheim', 'sister city', 'Eisleben'] ['Weinheim', 'sister city', 'Ramat Gan']
ASK WHERE { resource:Weinheim property:sister_city ?n . VALUES ( ?n ) { ( resource:Eisleben ) ( resource:Ramat_Gan ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q7050,P190,Q484870) (Q7050,P190,Q192807)
action is_in
entity prev_answer
action find
entity Q7050
relation P190
[ANSWER]
['Q7050', 'P190', 'Q484870'] ['Q7050', 'P190', 'Q192807']
ASK WHERE { resource:Q7050 property:P190 ?n . VALUES ( ?n ) { ( resource:Q484870 ) ( resource:Q192807 ) } }
Yes
action is_in
entity prev_answer
action find
entity Weinheim
relation sister city
['Weinheim', 'sister city', 'Eisleben'] ['Weinheim', 'sister city', 'Ramat Gan']
ASK WHERE { resource:Weinheim property:sister_city ?n . VALUES ( ?n ) { ( resource:Eisleben ) ( resource:Ramat_Gan ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q192807 Q2622930
P190
Q56061
USER
Is Õeste twin town of Ramat Gan ?
(Q192807,P190,Q2622930)
action is_in
entity Q2622930
action find
entity Q192807
relation P190
['Q192807', 'P190', 'Q2622930']
ASK WHERE { resource:Q192807 property:P190 resource:Q2622930 }
Ramat Gan Õeste
action is_in
entity Õeste
action find
entity Ramat Gan
relation sister city
['Ramat Gan', 'sister city', 'Õeste']
ASK WHERE { resource:Ramat_Gan property:sister_city resource:Õeste }
[]
administrative territorial entity
SYSTEM
NO
(Q192807,P190,Q2622930)
action is_in
entity Q2622930
action find
entity Q192807
relation P190
[ANSWER]
['Q192807', 'P190', 'Q2622930']
ASK WHERE { resource:Q192807 property:P190 resource:Q2622930 }
No
action is_in
entity Õeste
action find
entity Ramat Gan
relation sister city
['Ramat Gan', 'sister city', 'Õeste']
ASK WHERE { resource:Ramat_Gan property:sister_city resource:Õeste }
[]