Simple Question (Direct)
Simple Question
Q677177
P17
Q15617994
USER
Which administrative territory is Arras-en-Lavedan situated in ?
(Q677177,P17,c(Q15617994))
action filter_type
action find
entity Q677177
relation P17
type Q15617994
['Q677177', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q677177 property:P17 ?n }
Arras-en-Lavedan
action filter_type
action find
entity Arras-en-Lavedan
relation country
type designation for an administrative territorial entity
['Arras-en-Lavedan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arras-en-Lavedan property:country ?n }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q677177,P17,c(Q15617994))
action filter_type
action find
entity Q677177
relation P17
type Q15617994
Which administrative territory is Arras-en-Lavedan situated in
['Q677177', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q677177 property:P17 ?n }
France
Which administrative territory is Arras-en-Lavedan situated in
France
action filter_type
action find
entity Arras-en-Lavedan
relation country
type designation for an administrative territorial entity
['Arras-en-Lavedan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arras-en-Lavedan property:country ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q677177
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q677177
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?b WHERE { resource:Q677177 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Arras-en-Lavedan
action filter_type
action find
entity Arras-en-Lavedan
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?b WHERE { resource:Arras-en-Lavedan property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q366962 Q972910 Q644665
SYSTEM
Cauterets, Salles, Argelès-Gazost
Q644665 Q589628 Q972910 Q773223 Q1326912 Q1323848 Q1110787 Q1110698 Q366962
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q677177
relation P47
type Q20667921
[ANSWERS] are bordered by that one
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?b WHERE { resource:Q677177 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Argelès-Gazost Estaing Salles Bun Gez Sireix Arcizans-Dessus Arcizans-Avant Cauterets
Cauterets, Salles and Argelès-Gazost are bordered by that one
Cauterets Salles Argelès-Gazost
action filter_type
action find
entity Arras-en-Lavedan
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?b WHERE { resource:Arras-en-Lavedan property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q150039
P1376
Q20667921 Q486972
USER
Which human settlements are the county seat for lesser number of french administrative divisions than Neuf-Brisach ?
(c(Q486972),P1376,c(Q20667921))
action less
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q150039
relation P1376
type Q20667921
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?c ) WHERE { ?f property:P1376 ?z . ?f rdf:type ontology:Q486972 . ?z rdf:type ontology:Q20667921 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ontology:Q20667921 . resource:Q150039 property:P1376 ?g } } . FILTER ( ?c < ?e ) }
Neuf-Brisach
action less
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Neuf-Brisach
relation capital of
type type of french administrative division
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?c ) WHERE { ?f property:capital_of ?z . ?f rdf:type ontology:human_settlement . ?z rdf:type ontology:type_of_french_administrative_division } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ontology:type_of_french_administrative_division . resource:Neuf-Brisach property:capital_of ?g } } . FILTER ( ?c < ?e ) }
[]
type of french administrative division human settlement
Q1055 Q31487 Q1792
SYSTEM
Hamburg, Kraków, Gdańsk
Q16898535 Q16898536 Q1924285 Q16898531 Q16898533 Q27588325 Q16898436 Q16898431 Q16898539 Q16898433 Q609329 Q2351149 Q2847280 Q1507241 Q16898438 Q986115 Q986114 Q673431 Q986116 Q456784 Q1898628 Q3344109 Q168835 Q739656 Q1997497 Q3080233 Q281508 Q7208969 Q7708625 Q2199861 Q16898228 Q16898380 Q16898387 Q16898386 Q16898385 Q16898384 Q16898220 Q16898389 Q16898388 Q16898224 Q2321379 Q16898541 Q1899877 Q16898545 Q940945 Q16898547 Q278871 Q41753 Q321611 Q983908 Q10013 Q1013344 Q985703 Q1993774 Q975912 Q1824768 Q2627464 Q102317 Q2653531 Q13190668 Q3192868 Q973641 Q935589 Q646725 Q16898097 Q16898096 Q16898095 Q2461854 Q16898093 Q16898319 Q16898091 Q16898090 Q16898315 Q140115 Q2830900 Q1014982 Q16898311 Q16898312 Q16898098 Q989829 Q2646444 Q7191572 Q2337969 Q1901420 Q822148 Q2360981 Q693897 Q693894 Q393270 Q16898082 Q985741 Q2303485 Q3514886 Q985746 Q1018362 Q1900589 Q1009554 Q251389 Q196996 Q75082 Q16898169 Q2091673 Q475097 Q192508 Q16898163 Q16898161 Q16898160 Q16898167 Q16898166 Q477166 Q16898360 Q983929 Q16898362 Q1165202 Q16898135 Q16898366 Q2194430 Q2884520 Q26327473 Q2916 Q214215 Q106281 Q2968453 Q2121031 Q56037 Q984023 Q18790535 Q3061943 Q1633919 Q2599348 Q28230 Q2461574 Q1005862 Q628153 Q2150881 Q800009 Q921209 Q4441916 Q3344024 Q16898085 Q2738941 Q4902737 Q1055 Q769820 Q724474 Q695796 Q16898264 Q16898266 Q16898260 Q16898508 Q706249 Q5094703 Q16898504 Q16898506 Q16898268 Q16898500 Q16898502 Q16898462 Q1940596 Q16898460 Q16898466 Q2268181 Q16898464 Q1828937 Q1552895 Q16898469 Q19799162 Q986023 Q125293 Q2296118 Q1978438 Q130105 Q986148 Q986145 Q3175755 Q847181 Q3171757 Q16898600 Q985766 Q2373220 Q16898211 Q16898607 Q16898213 Q16898605 Q16898214 Q16898217 Q10795050 Q16898219 Q557718 Q490118 Q16898608 Q703877 Q16898597 Q2918849 Q16898595 Q16898592 Q16898590 Q940931 Q993797 Q2305487 Q12143305 Q2281217 Q16898222 Q209034 Q21590452 Q345499 Q393197 Q5309454 Q686680 Q2689169 Q2892531 Q2980929 Q1640615 Q891331 Q16898226 Q2195315 Q16898325 Q2702516 Q16898289 Q16898320 Q16898322 Q158004 Q16898283 Q16898281 Q16898543 Q2685961 Q16898285 Q104720 Q2851851 Q2500789 Q104725 Q2800089 Q2381906 Q936097 Q674988 Q16898603 Q1021749 Q1006076 Q753891 Q167783 Q16898117 Q1877336 Q535321 Q16898548 Q16898277 Q3080223 Q16898130 Q16898131 Q16898132 Q16898134 Q492659 Q985862 Q16898137 Q16898138 Q16898139 Q4323212 Q11002429 Q48256 Q985705 Q525220 Q1005252 Q750450 Q985709 Q985851 Q16898429 Q275592 Q16898425 Q16898028 Q16898421 Q4206986 Q3079755 Q191106 Q1016313 Q16898140 Q2619302 Q4170077 Q616462 Q2309127 Q989988 Q986691 Q110732 Q2527096 Q627392 Q16898396 Q16898390 Q16898258 Q16898392 Q16898449 Q16898255 Q1962211 Q16898256 Q16898398 Q1002994 Q842261 Q16898498 Q16898554 Q16898555 Q16898493 Q16898558 Q16898490 Q868059 Q2020341 Q2420562 Q787968 Q376752 Q452937 Q1008390 Q14891 Q984274 Q3572816 Q2141621 Q16898442 Q1905890 Q8081366 Q54743 Q3311957 Q16898081 Q894328 Q16898084 Q16898077 Q16898086 Q16898087 Q967818 Q47554 Q167785 Q16898447 Q2671226 Q1968591 Q990057 Q1006824 Q693888 Q2628735 Q2381397 Q2096731 Q16898371 Q4205757 Q985759 Q16898376 Q16898410 Q2712668 Q16898179 Q7420386 Q16898174 Q16898176 Q16898171 Q767443 Q16898074 Q983932 Q16898071 Q16898073 Q983938 Q16898370 Q16898414 Q16898079 Q16898078 Q16898374 Q613021 Q130144 Q2248969 Q355767 Q287764 Q494604 Q730938 Q534933 Q92212 Q465833 Q8081149 Q16898368 Q361962 Q429762 Q1007292 Q24879 Q16898109 Q16898108 Q765434 Q16898101 Q16898103 Q16898102 Q16898105 Q159508 Q16898107 Q16898106 Q251400 Q16898099 Q983733 Q669660 Q16941445 Q1870708 Q7206694 Q16898519 Q16898517 Q16898515 Q581323 Q16898513 Q16898510 Q16898328 Q16898457 Q16898455 Q16898364 Q16898453 Q16898452 Q16898643 Q2677272 Q3413440 Q7066548 Q16898317 Q1879216 Q16898261 Q5173407 Q1522211 Q2932905 Q2502889 Q3344081 Q3348305 Q3391409 Q126321 Q986133 Q693904 Q3299324 Q16898639 Q365081 Q3777 Q3277082 Q16898632 Q2509546 Q1918664 Q16898636 Q225909 Q16898202 Q2439211 Q16898200 Q16898206 Q16898207 Q16898204 Q984417 Q16897566 Q16898208 Q2029443 Q3153095 Q16898423 Q6836102 Q931780 Q52892 Q321743 Q16898617 Q392339 Q16898125 Q1003408 Q1574554 Q1834743 Q16898253 Q2553405 Q1006764 Q8969 Q1007362 Q138977 Q1799 Q2711963 Q16898551 Q2895741 Q754567 Q1606574 Q16898336 Q16898334 Q16898332 Q985788 Q16898330 Q2325873 Q985785 Q7507402 Q488346 Q985780 Q16898339 Q16898624 Q16897960 Q1968861 Q186644 Q1792 Q2604885 Q2279475 Q2817214 Q7204926 Q2817215 Q6358425 Q2504023 Q443087 Q16898581 Q258391 Q2801191 Q983681 Q8029492 Q16898145 Q16898144 Q16898147 Q16898146 Q16898141 Q985854 Q985857 Q16898142 Q3374297 Q945288 Q2781592 Q918477 Q16898148 Q1792194 Q16898482 Q689180 Q16898641 Q983941 Q763693 Q4396865 Q16898412 Q3500912 Q16898417 Q507283 Q1862646 Q52845 Q16898419 Q16898646 Q3334757 Q921641 Q3079742 Q34343 Q5656601 Q2350655 Q2991688 Q3277197 Q1971633 Q3277213 Q16898619 Q12098491 Q1089271 Q985749 Q1769924 Q2779373 Q1769929 Q355403 Q16083 Q693712 Q16898248 Q16898246 Q16898244 Q16898242 Q3079381 Q16898566 Q1021277 Q16898563 Q16898561 Q16898560 Q16898484 Q985860 Q16898486 Q16898487 Q3335224 Q16898569 Q16898568 Q6429423 Q16898136 Q2880000 Q1950932 Q4721251 Q2652181 Q5004546 Q1813585 Q590960 Q574198 Q2100357 Q985934 Q572559 Q14389109 Q830222 Q2673917 Q27024236 Q16898485 Q976592 Q1635385 Q2478105 Q738069 Q2701295 Q2778284 Q16897929 Q2195947 Q27124450 Q2527581 Q20024799 Q3141156 Q3347060 Q452953 Q8029426 Q127700 Q549862 Q2532403 Q734438 Q345169 Q580622 Q2084333 Q6982957 Q3913984 Q985726 Q503371 Q16898181 Q16898180 Q16898183 Q16898185 Q16898184 Q16898187 Q16898189 Q1980880 Q140411 Q19414184 Q2368603 Q5335679 Q16898348 Q16898346 Q16898344 Q16898342 Q16898341 Q61306 Q3462814 Q61302 Q104740 Q3155423 Q382791 Q855893 Q613303 Q4289557 Q3898497 Q2010752 Q6729914 Q2858109 Q31487 Q981934 Q16898198 Q2510300 Q16898118 Q16898119 Q11034041 Q16898112 Q16898113 Q16898110 Q16898111 Q16898116 Q2080813 Q16898114 Q16898115 Q345207 Q9879 Q41252 Q983998 Q2734 Q212638 Q16898523 Q16898522 Q2778251 Q16898526 Q750358 Q16898440 Q16898529 Q16898445 Q106274 Q199440 Q1903588 Q423810 Q2021694 Q4499828 Q2217528 Q2817339 Q2573348 Q579967 Q37333 Q986128 Q16898358 Q949077 Q986121 Q2758076 Q984411 Q2396842 Q161860 Q3344864 Q16898629 Q4211155 Q16898625 Q16898622 Q5039311 Q16898237 Q16898651 Q16898235 Q16898233 Q16898231 Q16898650 Q200805 Q2051585 Q16898653 Q16898239 Q2248128 Q20620353 Q3496250 Q268 Q1950652 Q980971 Q16898655 Q3815845 Q3890332 Q27194637 Q16898092 Q16898939 Q1007191 Q1820386 Q986052 Q519788 Q693767 Q16898656 Q748723 Q1475798 Q303066 Q521851 Q2048781 Q906612 Q16898309 Q7360007 Q24011956 Q16898302 Q16898301 Q2717964 Q16898307 Q19206831 Q16898304 Q5610185 Q1011327 Q671330 Q2127392 Q2470939 Q130645 Q5767299 Q17266452 Q12119545 Q2586135 Q686386 Q985773 Q2300732 Q82500 Q455701 Q5119598 Q3609576 Q491754 Q27683874 Q10715672 Q303111 Q16898156 Q27051064 Q16898154 Q16898152 Q16898153 Q16898150 Q985845 Q983959 Q2637584 Q19950488 Q541541 Q763079 Q2419941 Q3461193 Q16898405 Q16898407 Q16898401 Q2475995 Q16898403 Q2025084 Q2391165 Q2565965 Q25247498 Q913909 Q14835 Q985943 Q3080054 Q2707065 Q131429 Q919539 Q564757 Q81220 Q985940 Q3061140 Q2500949 Q487070 Q2917229 Q3011199 Q3276744 Q3276746 Q200441 Q3276743 Q16898273 Q16898579 Q16898271 Q16898270 Q750363 Q16898275 Q5660311 Q16898570 Q693724 Q16898279 Q16898573 Q16898574 Q16898577 Q16898471 Q12085091 Q16898472 Q16898477 Q16898476 Q16898479 Q147934 Q2395950 Q2518084 Q2013462 Q2470539 Q2261533 Q728392 Q387626 Q2273055 Q1552240 Q2231084 Q994136 Q3277505 Q857943 Q1974379 Q960664 Q16898251 Q12108621 Q2259806 Q16898615 Q505185 Q16898610 Q16898613 Q4985322 Q1958570 Q16898584 Q5286658 Q16898586 Q2833245 Q16898582 Q926061 Q3357232 Q16898588 Q2290091 Q1950743 Q13383459 Q278189 Q740546 Q16898350 Q6100645 Q2102722 Q2030001 Q918470 Q185672 Q985732 Q2205894 Q985734 Q985735 Q755615 Q16898193 Q16898191 Q16898195 Q2856529 Q10864397 Q1000831 Q9022 Q16898299 Q16898352 Q2500158 Q16898355 Q984735 Q16898291 Q2162627 Q16898293 Q16898292 Q16898295 Q16898294 Q16898297 Q16898296 Q104731 Q16898495 Q431882 Q1002706 Q1976024 Q446238 Q1814199 Q983954 Q507854 Q13365036 Q16898378 Q19822338 Q983950 Q16898128 Q16898127 Q987338 Q16898124 Q13189130 Q16898122 Q16898121 Q2145650 Q983969 Q983617 Q147377
(c(Q486972),P1376,c(Q20667921))
action less
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q150039
relation P1376
type Q20667921
[ANSWERS] are the county seat for lesser number of french administrative divisions than Neuf-Brisach
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?c ) WHERE { ?f property:P1376 ?z . ?f rdf:type ontology:Q486972 . ?z rdf:type ontology:Q20667921 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ontology:Q20667921 . resource:Q150039 property:P1376 ?g } } . FILTER ( ?c < ?e ) }
Ocna Sibiului Săliște Łączna, Świętokrzyskie Voivodeship Dumbrăveni Miercurea Sibiului Cerro de San Pedro Sovata Miercurea Nirajului Tălmaciu Sărmașu Sękowa Raciechowice Kozłów, Miechów County Pęczniew Ungheni Tuczępy, Świętokrzyskie Voivodeship Szczerców Imielno, Świętokrzyskie Voivodeship Strzelce, Kutno County Ampelokipoi, Thessaloniki Inowłódz Huacaybamba Warta Bolesławiecka Radwanice, Polkowice County Calpulalpan Moskorzew Mogilany Polanka Wielka Teziutlán Ujazd, Tomaszów Mazowiecki County Covasna Sighetu Marmației Dragomirești Cavnic Borșa Baia Sprie Techirghiol Seini Săliștea de Sus Târgu Secuiesc Mniów Suceava Wawrzeńczyce, Lesser Poland Voivodeship Fălticeni Stoszowice Rădăuți Pozuzo Klagenfurt Zduny, Łowicz County Przeworno Hardenberg Raków, Kielce County Rzezawa Rønde Sierra Blanca Będków, Tomaszów Mazowiecki County Almaliq Kielce Baćkowice San Marcos Grabica, Piotrków County Ontinyent Villajoyosa Dénia Câmpulung Pitești Sebiș Żarnów Sântana Petroșani Pecica Nădlac Hunedoara Zadzim Godzianów Tymbark Vulcan Brad Curtea de Argeș Osiecznica, Lower Silesian Voivodeship Michałów, Pińczów County Piedras Blancas Słupia, Jędrzejów County Sadkowice, Łódź Voivodeship Roßlau Wojciechowice, Opatów County Jordanów Śląski Czarny Bór Żórawina Arad Czastary Woudrichem Tamshiyacu Grabów, Łęczyca County Pola de Siero Czarnocin, Łódź Voivodeship Witonia Rzeczyca, Gmina Rzeczyca Zeulenroda Czernica, Wrocław County Anina Opatowiec Marcinowice, Świdnica County Bergen op Zoom Pătârlagele Nehoiu Râmnicu Sărat Caransebeș Reșița Novopokrovskaya Târgu Frumos Dziadowa Kłoda Bragadiru Klonowa, Łódź Voivodeship Darabani Măgurele Ropa, Lesser Poland Voivodeship Sławno, Łódź Voivodeship Buzău Osnabrück La Paz Tarnów Fałków Pęcław, Lower Silesian Voivodeship East Berlin Malczyce Mikhaylovka Wilczyce, Świętokrzyskie Voivodeship Huejutla de Reyes Gowarczów Rødovre Maniowy Jerzmanowa Aleksandrów, Piotrków County Wietrzychowice, Lesser Poland Voivodeship Lututów Jabłonka, Lesser Poland Voivodeship Dmosin Panao Curtici Samborzec Białaczów Hamburg Kiernozia Jeżów, Brzeziny County Mściwojów Tecuci Berești Segarcea Zalău Wanzleben Chełmiec, Lesser Poland Voivodeship Negrești-Oaș Tășnad Târgu Bujor Livada Ardud Piatra-Olt Aneby Drăgănești-Olt Scornicești Zelenchukskaya Potcoava Domaniewice, Łódź Voivodeship Badiraguato Ploiești San Antonio del Estrecho Mokrsko Puebla City Budzów Nesterovskaya, Republic of Ingushetia Kondratowice Siemkowice Dłutów Hinnerup Gidle Aabybro Recaș Osjaków Starocherkasskaya Cernavodă Babadag Hârșova Tulcea Năvodari Negru Vodă Laskowa, Limanowa County Ovidiu Salem Mysłakowice Isaccea Loburg Jimbolia Querobamba Gătaia Făget Deta Ciepłowody Vyselki, Krasnodar Krai Gołcza Prajila Kowiesy, Łódź Voivodeship Sfântu Gheorghe Toluca Callezuela Łubnice, Łódź Voivodeship Żukowice, Lower Silesian Voivodeship Drwinia Kamieniec Ząbkowicki Wielka Wieś, Kraków County Bałtów, Świętokrzyskie Voivodeship Villaflores Tamames Bolesławiec, Łódź Voivodeship Baraolt Tarłów Geoagiu Wąsosz, Podlaskie Voivodeship Târgu Cărbunești Aninoasa Călan Piotrków Trybunalski Rovinari Novaci Câmpulung Moldovenesc Słupia, Skierniewice County Tismana Zielona Góra Wiśniowa, Lesser Poland Voivodeship Rakaw Płock Zagnańsk Szaflary Rytro Falkenberg Sânnicolau Mare Poltavskaya Kushchyovskaya San Miguel de Allende Zawoja Aleșd Lunahuaná Kotla, Poland Vatra Dornei Motru Radków, Świętokrzyskie Voivodeship Sângeorz-Băi Botoșani Dorohoi Bucecea Haßfurt Brójce, Łódź Voivodeship Săveni Ștefănești Brașov выселки San Miguel de Pallaques Dnipro Kiełczygłów Bieliny, Świętokrzyskie Voivodeship Kwilcz Yekaterinogradskaya Wierzchlas, Łódź Voivodeship Buczek, Łask County Luduș Pińczów Iernut Sebeș Târnăveni Kavkazskaya Rytwiany Haapsalu Vejen Codlea Mirzec Dugna Skrzyszów, Lesser Poland Voivodeship Brody, Starachowice County Playa del Carmen Jerzmanowice, Lesser Poland Voivodeship Wałbrzych Gomunice Bolimów Târgu Lăpuș Șomcuta Mare Filiași Tăuții-Măgherăuș Târgu Neamț Bechet Racławice Dăbuleni Ulmeni Nieborów Tehuacan Carei Cajvana Dolhasca Vălenii de Munte Frasin Urlați Rząśnia Lipce Reymontowskie Waśniów Szydłów Iwkowa Olesno, Lesser Poland Voivodeship Nowy Korczyn Suhl Piątek, Łódź Voivodeship Bolea Bogoria, Poland Roman Szczurowa Łęki Szlacheckie Alingsås Mazatán Zlatna Borów, Strzelin County Chișineu-Criș Cugir Ineu Lipova Chiva Toruń Zawonia, Lower Silesian Voivodeship Roznov Wielgomłyny Dolzhanskaya Dobromierz, Lower Silesian Voivodeship Miedzichowo Stara Kamienica Skarżysko Kościelne Skalmierzyce, Greater Poland Voivodeship Żegocina Otopeni Ishcherskaya Daszyna Voluntari Strehaia Wierzchosławice, Lesser Poland Voivodeship Oravița Santiago de Rubiás Bocșa Moldova Nouă Băile Herculane Taman, Russia Câmpeni Jemielno Abrud Baia de Arieș Wisznia Mała Buftea Târgu Mureș Teiuș Ocna Mureș Popești-Leordeni Wróblew, Sieradz County Chucuito Kobiele Wielkie Ademuz Paszowice Sankt Veit an der Glan Ellicott City Siekierczyn Opole Schagen Łącko, Lesser Poland Voivodeship Pantelimon Cieszków Wartkowice Chrzypsko Wielkie Bremen Comănești Buhuși Höör Mioveni Topoloveni Ștefănești Bacău Nowy Kawęczyn Onești Moinești Konopnica, Wieluń County Costești Kobierzyce Arboga București Lipnik, Opatów County Podegrodzie, Lesser Poland Voivodeship Mediaș Sibiu Șimleu Silvaniei Grębocice Jibou Cehu Silvaniei Hațeg Corabia Balș Chitila Caracal Slatina Călimănești Stryszawa Støvring Nowe Ostrowy Orăștie Łososina Dolna Galați Ręczno Giaginskaya Ochotnica Dolna Masłów, Świętokrzyskie Voivodeship Chavinillo Puerto Inca Kagalnitskaya Eisenstadt Kluki, Łódź Voivodeship Platerówka Oisterwijk Berbești Wińsko Ouagadougou Krylovskaya, Krylovsky District, Krasnodar Krai Băbeni Kamienica, Limanowa County Pałecznica, Lesser Poland Voivodeship Bălcești Dingolfing Constanța Piekoszów Huedin Medgidia Murfatlar Mangalia Tbilisskaya Alba Iulia Băneasa Ordzhonikidzevskaya Radziemice Sângeorgiu de Pădure Michałowice, Lesser Poland Voivodeship Alzira Leszno Regnów Bârlad Bielawy, Łowicz County Bistrița Bukowina Tatrzańska Jessen Trzciana, Lesser Poland Voivodeship Calafat Kije, Świętokrzyskie Voivodeship Lutomiersk Cancún Kuślin Zabierzów, Lesser Poland Voivodeship Wrocław Bolesław, Dąbrowa County Broșteni Głuchów, Skierniewice County Prince Frederick Albocàsser Slobozia Uricani Simeria Czarnożyły Petrila Kocierzew Południowy Oporów, Łódź Voivodeship Sicaya, Peru Bad Kissingen Dąbrowice, Kutno County Fetești Negrești Blaj Kholmskaya Sarata Gdańsk Alvesta Mędrzechów Platnirovskaya Pleśna, Lesser Poland Voivodeship Medvedovskaya Kamionka Wielka Łabowa Krośnice, Lower Silesian Voivodeship Zimnicea Werden Maków, Łódź Voivodeship Tomelilla Wola Krzysztoporska Predeal Ghimbav Rupea Râșnov Făgăraș Parzęczew, Łódź Voivodeship Sędziejowice, Łódź Voivodeship Săcele La Jalca Wiślica Iwaniska Dinskaya Victoria Kunice, Lower Silesian Voivodeship Comarnic Dobroszyce Brezoi Kostomłoty, Lower Silesian Voivodeship Bedlno, Łódź Voivodeship Lipinki, Lesser Poland Voivodeship Vânju Mare Hedensted Reghin Lipnica Wielka, Nowy Targ County Jodłownik, Lesser Poland Voivodeship Konin Sighișoara Horezu Lysogorskaya Bryukhovetskaya Słupia, Końskie County Ayora Achoma Górno, Świętokrzyskie Voivodeship Pitiquito Kazanskaya, Krasnodar Krai Abadzekhskaya Ladozhskaya Huși Gura Suhașului Cape May Court House Rusiec, Łódź Voivodeship Cirat Bejsce Enguera Legnickie Pole Deggendorf Wądroże Wielkie Craiova Titu Răcari Pucioasa Pierzchnica Salcea Ikast Milișăuți Liteni Gura Humorului Mizil Ksawerów, Pabianice County Sinaia Slănic Nezlobnaya Solca Siret Koniusza, Lesser Poland Voivodeship Flămânzi Kluczewsko Gnojnik Poświętne, Opoczno County Dobroslav Bystra Dobryszyce Ixtlán de Juárez Pielgrzymka, Lower Silesian Voivodeship Rozprza Strzelce Wielkie, Łódź Voivodeship Spremberg Steenbergen Besskorbnaya Miedziana Góra, Kielce County Haquira Plopeni Montague L'Alcora Rzepiennik Strzyżewski Lubień, Lesser Poland Voivodeship Raba Wyżna Morawica, Świętokrzyskie Voivodeship Aiud Trzyciąż Sepahua Ładzice Mito Radoszyce, Świętokrzyskie Voivodeship Viella Jeżów Sudecki Wola Dębińska Udanin Liszki, Lesser Poland Voivodeship Oleśnica, Świętokrzyskie Voivodeship Eforie Sud Łagiewniki, Lower Silesian Voivodeship Słopnice Lisia Góra, Lesser Poland Voivodeship Nawojowa Bliżyn Krzyżanów, Kutno County Andrespol Călărași Oțelu Roșu Oltenița Fundulea Budești Lehliu Gară Cluj-Napoca Niedźwiedź, Limanowa County Zagrodno Islandia Czarny Dunajec Sułoszowa Țăndărei Fierbinți-Târg Căzănești Amara Urziceni Guanajuato Kalininskaya, Krasnodar Krai Chihuahua Radom Osiek, Oświęcim County Lewin Kłodzki Biała, Wieluń County Góra Świętej Małgorzaty Książ Wielki Charsznica Rogów, Brzeziny County Magdalena de Cao Shkurinskaya Kraków Gail Turda Żelechlinek Nucet Săcueni San José de Sisa Târgu Ocna Oradea Dărmănești Slănic-Moldova Salonta Siepraw Marghita Beiuș Łanięta Waalwijk Bydgoszcz Ruja, Lower Silesian Voivodeship Skierniewice Gnojno, Świętokrzyskie Voivodeship Avrig Agnita Łukowica Cisnădie Klucze, Lesser Poland Voivodeship Piatra Neamț Copșa Mică Bicaz Legnica Mexicali Klimontów, Sandomierz County Stare Bogaczowice Smyków, Gmina Smyków Jopiórskaya Gorzkowice Starotitarovskaya Słaboszów Lgota Wielka, Łódź Voivodeship Lublin Widawa, Łódź Voivodeship Hârlău Domaniów, Lower Silesian Voivodeship Solec-Zdrój Chąśno Severskaya Mariposa Czerniewice Llata Drăgășani Kammennobrodskaya Râmnicu Vâlcea Murgeni Carhuamayo District Fieni Adjud Moreni Târgoviște Întorsura Buzăului Focșani Aguascalientes Stafford Mărășești Găești Ruda Maleniecka Coya Uście Gorlickie Poznań Sobków Mentone Odobești Kletskaya Vidradne Andahuaylillas Pâncota Pogoanele Nowa Brzeźnica Oksa Stopnica Leningradskaya (rural locality) Mietków Panciu Gródek nad Dunajcem Leymebamba Aars Miękinia, Lower Silesian Voivodeship Złota, Pińczów County Shelkovskaya Lupeni Rokiciny-Kolonia Zorita Cristuru Secuiesc Borsec Łużna Deva Cape Pantoja Vlăhița Gromnik, Lesser Poland Voivodeship Starominskaya Arjeplog Łoniów Biały Dunajec Sulików, Lower Silesian Voivodeship Chosica Chalcatongo de Hidalgo Livadia Krościenko nad Dunajcem Stolberg Sulmierzyce, Łódź Voivodeship Łagów, Świętokrzyskie Voivodeship St. Pölten Pacanów Cielądz Alexeyevskaya, Volgograd Oblast Senftenberg Mazuko Moszczenica, Gorlice County Ringe Însurăței Boca Manu Ianca Brăila Făurei Zărnești Wodzierady Miłkowice, Lower Silesian Voivodeship Vyoshenskaya Pimentel Staroshcherbinovskaya Poronin Szerzyny Sadowie, Świętokrzyskie Voivodeship Orșova Baia de Aramă Vișeu de Sus Łopuszno Drobeta-Turnu Severin Ryazanskaya Strawczyn Zembrzyce Acarí Kościelisko Bautzen Galewice Obrazów Nagłowice Oaxaca de Juárez Lubochnia, Łódź Voivodeship Sankt Goarshausen Goes Dobroń Czernichów, Kraków County Dwikozy Dessau Wodzisław, Świętokrzyskie Voivodeship Żytno Sovetskaya, Krasnodar Krai Grigoropolisskaya Antioch Kalnibolotskaya Mihăilești Videle Bolintin-Vale Giurgiu Rudna, Lower Silesian Voivodeship Târgu Jiu Aguas Verdes Vicovu de Sus Długołęka Bumbești-Jiu Alexandria Roșiorii de Vede Turnu Măgurele Câmpina Breaza de Jos Azuga Boldești-Scăeni Băicoi Bușteni Jelenia Góra Masłowice, Radomsko County Nowa Słupia Tokarnia, Lesser Poland Voivodeship Moszczenica, Piotrków County Łyszkowice, Łowicz County Pawłów, Starachowice County Świnice Warckie Zielonki, Lesser Poland Voivodeship Sueca Lipnica Murowana Walim, Lower Silesian Voivodeship Temizhbekskaya 19th district of Budapest Vyshesteblievskaya Łapanów Băilești Karashina Paradyż, Opoczno County Vaslui Pößneck Măcin Sulina Budziszewice, Łódź Voivodeship Koszyce, Lesser Poland Voivodeship Lugoj Dobra, Lesser Poland Voivodeship Buziaș Krasocin Timișoara Pątnów, Łódź Voivodeship Osiedle-Nowiny Ciacova Łubnice, Świętokrzyskie Voivodeship Korzenna Nacka Kleszczów, Łódź Voivodeship Babice, Chrzanów County Iași Iwanowice, Kraków County Gręboszów, Lesser Poland Voivodeship Czarnocin, Świętokrzyskie Voivodeship Pavlovskaya, Krasnodar Krai Grytviken Drużbice Luborzyca Ostrówek, Wieluń County Sokolniki, Wieruszów County Towson Dej Câmpia Turzii Gherla Kodrąb, Łódź Voivodeship Bolesław, Olkusz County Yegorlykskaya Guadalajara Bălan Pașcani Secemin Podu Iloaiei Gaworzyce Turceni Przeciszów Miercurea Ciuc Țicleni Toplița Gheorgheni Băile Tușnad Odorheiu Secuiesc Gorzów Wielkopolski Satu Mare Skomlin Kanevskaya Kostromskaya Męcinka Radgoszcz, Lesser Poland Voivodeship Niechlów Karlstadt am Main Lockhart River Baia Mare Manu Gromadka Năsăud Beclean Højby Vașcău Antioquía Valea lui Mihai Ștei Borzęcin, Lesser Poland Voivodeship Krotoszyce Marciszów Zapolice
Hamburg, Kraków and Gdańsk are the county seat for lesser number of french administrative divisions than Neuf-Brisach
Hamburg Kraków Gdańsk
action less
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Neuf-Brisach
relation capital of
type type of french administrative division
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?c ) WHERE { ?f property:capital_of ?z . ?f rdf:type ontology:human_settlement . ?z rdf:type ontology:type_of_french_administrative_division } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ontology:type_of_french_administrative_division . resource:Neuf-Brisach property:capital_of ?g } } . FILTER ( ?c < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q323593
P1376
Q20667921 Q486972
USER
And also tell me about Vitry-en-Artois?
(c(Q486972),P1376,c(Q20667921))
action less
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q323593
relation P1376
type Q20667921
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?x ) WHERE { ?v property:P1376 ?r . ?v rdf:type ontology:Q486972 . ?r rdf:type ontology:Q20667921 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q323593 property:P1376 ?g . ?g rdf:type ontology:Q20667921 } } . FILTER ( ?x < ?l ) }
Vitry-en-Artois
action less
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Vitry-en-Artois
relation capital of
type type of french administrative division
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?x ) WHERE { ?v property:capital_of ?r . ?v rdf:type ontology:human_settlement . ?r rdf:type ontology:type_of_french_administrative_division } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Vitry-en-Artois property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?x < ?l ) }
[]
type of french administrative division human settlement
Q1055 Q31487 Q1792
SYSTEM
Hamburg, Kraków, Gdańsk
Q16898535 Q16898536 Q1924285 Q16898531 Q16898533 Q27588325 Q16898436 Q16898431 Q16898539 Q16898433 Q609329 Q2351149 Q2847280 Q1507241 Q16898438 Q986115 Q986114 Q673431 Q986116 Q456784 Q1898628 Q3344109 Q168835 Q739656 Q1997497 Q3080233 Q281508 Q7208969 Q7708625 Q2199861 Q16898228 Q16898380 Q16898387 Q16898386 Q16898385 Q16898384 Q16898220 Q16898389 Q16898388 Q16898224 Q2321379 Q16898541 Q1899877 Q16898545 Q940945 Q16898547 Q278871 Q41753 Q321611 Q983908 Q10013 Q1013344 Q985703 Q1993774 Q975912 Q1824768 Q2627464 Q102317 Q2653531 Q13190668 Q3192868 Q973641 Q935589 Q646725 Q16898097 Q16898096 Q16898095 Q2461854 Q16898093 Q16898319 Q16898091 Q16898090 Q16898315 Q140115 Q2830900 Q1014982 Q16898311 Q16898312 Q16898098 Q989829 Q2646444 Q7191572 Q2337969 Q1901420 Q822148 Q2360981 Q693897 Q693894 Q393270 Q16898082 Q985741 Q2303485 Q3514886 Q985746 Q1018362 Q1900589 Q1009554 Q251389 Q196996 Q75082 Q16898169 Q2091673 Q475097 Q192508 Q16898163 Q16898161 Q16898160 Q16898167 Q16898166 Q477166 Q16898360 Q983929 Q16898362 Q1165202 Q16898135 Q16898366 Q2194430 Q2884520 Q26327473 Q2916 Q214215 Q106281 Q2968453 Q2121031 Q56037 Q984023 Q18790535 Q3061943 Q1633919 Q2599348 Q28230 Q2461574 Q1005862 Q628153 Q2150881 Q800009 Q921209 Q4441916 Q3344024 Q16898085 Q2738941 Q4902737 Q1055 Q769820 Q724474 Q695796 Q16898264 Q16898266 Q16898260 Q16898508 Q706249 Q5094703 Q16898504 Q16898506 Q16898268 Q16898500 Q16898502 Q16898462 Q1940596 Q16898460 Q16898466 Q2268181 Q16898464 Q1828937 Q1552895 Q16898469 Q19799162 Q986023 Q125293 Q2296118 Q1978438 Q130105 Q986148 Q986145 Q3175755 Q847181 Q3171757 Q16898600 Q985766 Q2373220 Q16898211 Q16898607 Q16898213 Q16898605 Q16898214 Q16898217 Q10795050 Q16898219 Q557718 Q490118 Q16898608 Q703877 Q16898597 Q2918849 Q16898595 Q16898592 Q16898590 Q940931 Q993797 Q2305487 Q12143305 Q2281217 Q16898222 Q209034 Q21590452 Q345499 Q393197 Q5309454 Q686680 Q2689169 Q2892531 Q2980929 Q1640615 Q891331 Q16898226 Q2195315 Q16898325 Q2702516 Q16898289 Q16898320 Q16898322 Q158004 Q16898283 Q16898281 Q16898543 Q2685961 Q16898285 Q104720 Q2851851 Q2500789 Q104725 Q2800089 Q2381906 Q936097 Q674988 Q16898603 Q1021749 Q1006076 Q753891 Q167783 Q16898117 Q1877336 Q535321 Q16898548 Q16898277 Q3080223 Q16898130 Q16898131 Q16898132 Q16898134 Q492659 Q985862 Q16898137 Q16898138 Q16898139 Q4323212 Q11002429 Q48256 Q985705 Q525220 Q1005252 Q750450 Q985709 Q985851 Q16898429 Q275592 Q16898425 Q16898028 Q16898421 Q4206986 Q3079755 Q191106 Q1016313 Q16898140 Q2619302 Q4170077 Q616462 Q2309127 Q989988 Q986691 Q110732 Q2527096 Q627392 Q16898396 Q16898390 Q16898258 Q16898392 Q16898449 Q16898255 Q1962211 Q16898256 Q16898398 Q1002994 Q842261 Q16898498 Q16898554 Q16898555 Q16898493 Q16898558 Q16898490 Q868059 Q2020341 Q2420562 Q787968 Q376752 Q452937 Q1008390 Q14891 Q984274 Q3572816 Q2141621 Q16898442 Q1905890 Q8081366 Q54743 Q3311957 Q16898081 Q894328 Q16898084 Q16898077 Q16898086 Q16898087 Q967818 Q47554 Q167785 Q16898447 Q2671226 Q1968591 Q990057 Q1006824 Q693888 Q2628735 Q2381397 Q2096731 Q16898371 Q4205757 Q985759 Q16898376 Q16898410 Q2712668 Q16898179 Q7420386 Q16898174 Q16898176 Q16898171 Q767443 Q16898074 Q983932 Q16898071 Q16898073 Q983938 Q16898370 Q16898414 Q16898079 Q16898078 Q16898374 Q613021 Q130144 Q2248969 Q355767 Q287764 Q494604 Q730938 Q534933 Q92212 Q465833 Q8081149 Q16898368 Q361962 Q429762 Q1007292 Q24879 Q16898109 Q16898108 Q765434 Q16898101 Q16898103 Q16898102 Q16898105 Q159508 Q16898107 Q16898106 Q251400 Q16898099 Q983733 Q669660 Q16941445 Q1870708 Q7206694 Q16898519 Q16898517 Q16898515 Q581323 Q16898513 Q16898510 Q16898328 Q16898457 Q16898455 Q16898364 Q16898453 Q16898452 Q16898643 Q2677272 Q3413440 Q7066548 Q16898317 Q1879216 Q16898261 Q5173407 Q1522211 Q2932905 Q2502889 Q3344081 Q3348305 Q3391409 Q126321 Q986133 Q693904 Q3299324 Q16898639 Q365081 Q3777 Q3277082 Q16898632 Q2509546 Q1918664 Q16898636 Q225909 Q16898202 Q2439211 Q16898200 Q16898206 Q16898207 Q16898204 Q984417 Q16897566 Q16898208 Q2029443 Q3153095 Q16898423 Q6836102 Q931780 Q52892 Q321743 Q16898617 Q392339 Q16898125 Q1003408 Q1574554 Q1834743 Q16898253 Q2553405 Q1006764 Q8969 Q1007362 Q138977 Q1799 Q2711963 Q16898551 Q2895741 Q754567 Q1606574 Q16898336 Q16898334 Q16898332 Q985788 Q16898330 Q2325873 Q985785 Q7507402 Q488346 Q985780 Q16898339 Q16898624 Q16897960 Q1968861 Q186644 Q1792 Q2604885 Q2279475 Q2817214 Q7204926 Q2817215 Q6358425 Q2504023 Q443087 Q16898581 Q258391 Q2801191 Q983681 Q8029492 Q16898145 Q16898144 Q16898147 Q16898146 Q16898141 Q985854 Q985857 Q16898142 Q3374297 Q945288 Q2781592 Q918477 Q16898148 Q1792194 Q16898482 Q689180 Q16898641 Q983941 Q763693 Q4396865 Q16898412 Q3500912 Q16898417 Q507283 Q1862646 Q52845 Q16898419 Q16898646 Q3334757 Q921641 Q3079742 Q34343 Q5656601 Q2350655 Q2991688 Q3277197 Q1971633 Q3277213 Q16898619 Q12098491 Q1089271 Q985749 Q1769924 Q2779373 Q1769929 Q355403 Q16083 Q693712 Q16898248 Q16898246 Q16898244 Q16898242 Q3079381 Q16898566 Q1021277 Q16898563 Q16898561 Q16898560 Q16898484 Q985860 Q16898486 Q16898487 Q3335224 Q16898569 Q16898568 Q6429423 Q16898136 Q2880000 Q1950932 Q4721251 Q2652181 Q5004546 Q1813585 Q590960 Q574198 Q2100357 Q985934 Q572559 Q14389109 Q830222 Q2673917 Q27024236 Q16898485 Q976592 Q1635385 Q2478105 Q738069 Q2701295 Q2778284 Q16897929 Q2195947 Q27124450 Q2527581 Q20024799 Q3141156 Q3347060 Q452953 Q8029426 Q127700 Q549862 Q2532403 Q734438 Q345169 Q580622 Q2084333 Q6982957 Q3913984 Q985726 Q503371 Q16898181 Q16898180 Q16898183 Q16898185 Q16898184 Q16898187 Q16898189 Q1980880 Q140411 Q19414184 Q2368603 Q5335679 Q16898348 Q16898346 Q16898344 Q16898342 Q16898341 Q61306 Q3462814 Q61302 Q104740 Q3155423 Q382791 Q855893 Q613303 Q4289557 Q3898497 Q2010752 Q6729914 Q2858109 Q31487 Q981934 Q16898198 Q2510300 Q16898118 Q16898119 Q11034041 Q16898112 Q16898113 Q16898110 Q16898111 Q16898116 Q2080813 Q16898114 Q16898115 Q345207 Q9879 Q41252 Q983998 Q2734 Q212638 Q16898523 Q16898522 Q2778251 Q16898526 Q750358 Q16898440 Q16898529 Q16898445 Q106274 Q199440 Q1903588 Q423810 Q2021694 Q4499828 Q2217528 Q2817339 Q2573348 Q579967 Q37333 Q986128 Q16898358 Q949077 Q986121 Q2758076 Q984411 Q2396842 Q161860 Q3344864 Q16898629 Q4211155 Q16898625 Q16898622 Q5039311 Q16898237 Q16898651 Q16898235 Q16898233 Q16898231 Q16898650 Q200805 Q2051585 Q16898653 Q16898239 Q2248128 Q20620353 Q3496250 Q268 Q1950652 Q980971 Q16898655 Q3815845 Q3890332 Q27194637 Q16898092 Q16898939 Q1007191 Q1820386 Q986052 Q519788 Q693767 Q16898656 Q748723 Q1475798 Q303066 Q521851 Q2048781 Q906612 Q16898309 Q7360007 Q24011956 Q16898302 Q16898301 Q2717964 Q16898307 Q19206831 Q16898304 Q5610185 Q1011327 Q671330 Q2127392 Q2470939 Q130645 Q5767299 Q17266452 Q12119545 Q2586135 Q686386 Q985773 Q2300732 Q82500 Q455701 Q5119598 Q3609576 Q491754 Q27683874 Q10715672 Q303111 Q16898156 Q27051064 Q16898154 Q16898152 Q16898153 Q16898150 Q985845 Q983959 Q2637584 Q19950488 Q541541 Q763079 Q2419941 Q3461193 Q16898405 Q16898407 Q16898401 Q2475995 Q16898403 Q2025084 Q2391165 Q2565965 Q25247498 Q913909 Q14835 Q985943 Q3080054 Q2707065 Q131429 Q919539 Q564757 Q81220 Q985940 Q3061140 Q2500949 Q487070 Q2917229 Q3011199 Q3276744 Q3276746 Q200441 Q3276743 Q16898273 Q16898579 Q16898271 Q16898270 Q750363 Q16898275 Q5660311 Q16898570 Q693724 Q16898279 Q16898573 Q16898574 Q16898577 Q16898471 Q12085091 Q16898472 Q16898477 Q16898476 Q16898479 Q147934 Q2395950 Q2518084 Q2013462 Q2470539 Q2261533 Q728392 Q387626 Q2273055 Q1552240 Q2231084 Q994136 Q3277505 Q857943 Q1974379 Q960664 Q16898251 Q12108621 Q2259806 Q16898615 Q505185 Q16898610 Q16898613 Q4985322 Q1958570 Q16898584 Q5286658 Q16898586 Q2833245 Q16898582 Q926061 Q3357232 Q16898588 Q2290091 Q1950743 Q13383459 Q278189 Q740546 Q16898350 Q6100645 Q2102722 Q2030001 Q918470 Q185672 Q985732 Q2205894 Q985734 Q985735 Q755615 Q16898193 Q16898191 Q16898195 Q2856529 Q10864397 Q1000831 Q9022 Q16898299 Q16898352 Q2500158 Q16898355 Q984735 Q16898291 Q2162627 Q16898293 Q16898292 Q16898295 Q16898294 Q16898297 Q16898296 Q104731 Q16898495 Q431882 Q1002706 Q1976024 Q446238 Q1814199 Q983954 Q507854 Q13365036 Q16898378 Q19822338 Q983950 Q16898128 Q16898127 Q987338 Q16898124 Q13189130 Q16898122 Q16898121 Q2145650 Q983969 Q983617 Q147377
(c(Q486972),P1376,c(Q20667921))
action less
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q323593
relation P1376
type Q20667921
[ANSWERS]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?x ) WHERE { ?v property:P1376 ?r . ?v rdf:type ontology:Q486972 . ?r rdf:type ontology:Q20667921 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q323593 property:P1376 ?g . ?g rdf:type ontology:Q20667921 } } . FILTER ( ?x < ?l ) }
Ocna Sibiului Săliște Łączna, Świętokrzyskie Voivodeship Dumbrăveni Miercurea Sibiului Cerro de San Pedro Sovata Miercurea Nirajului Tălmaciu Sărmașu Sękowa Raciechowice Kozłów, Miechów County Pęczniew Ungheni Tuczępy, Świętokrzyskie Voivodeship Szczerców Imielno, Świętokrzyskie Voivodeship Strzelce, Kutno County Ampelokipoi, Thessaloniki Inowłódz Huacaybamba Warta Bolesławiecka Radwanice, Polkowice County Calpulalpan Moskorzew Mogilany Polanka Wielka Teziutlán Ujazd, Tomaszów Mazowiecki County Covasna Sighetu Marmației Dragomirești Cavnic Borșa Baia Sprie Techirghiol Seini Săliștea de Sus Târgu Secuiesc Mniów Suceava Wawrzeńczyce, Lesser Poland Voivodeship Fălticeni Stoszowice Rădăuți Pozuzo Klagenfurt Zduny, Łowicz County Przeworno Hardenberg Raków, Kielce County Rzezawa Rønde Sierra Blanca Będków, Tomaszów Mazowiecki County Almaliq Kielce Baćkowice San Marcos Grabica, Piotrków County Ontinyent Villajoyosa Dénia Câmpulung Pitești Sebiș Żarnów Sântana Petroșani Pecica Nădlac Hunedoara Zadzim Godzianów Tymbark Vulcan Brad Curtea de Argeș Osiecznica, Lower Silesian Voivodeship Michałów, Pińczów County Piedras Blancas Słupia, Jędrzejów County Sadkowice, Łódź Voivodeship Roßlau Wojciechowice, Opatów County Jordanów Śląski Czarny Bór Żórawina Arad Czastary Woudrichem Tamshiyacu Grabów, Łęczyca County Pola de Siero Czarnocin, Łódź Voivodeship Witonia Rzeczyca, Gmina Rzeczyca Zeulenroda Czernica, Wrocław County Anina Opatowiec Marcinowice, Świdnica County Bergen op Zoom Pătârlagele Nehoiu Râmnicu Sărat Caransebeș Reșița Novopokrovskaya Târgu Frumos Dziadowa Kłoda Bragadiru Klonowa, Łódź Voivodeship Darabani Măgurele Ropa, Lesser Poland Voivodeship Sławno, Łódź Voivodeship Buzău Osnabrück La Paz Tarnów Fałków Pęcław, Lower Silesian Voivodeship East Berlin Malczyce Mikhaylovka Wilczyce, Świętokrzyskie Voivodeship Huejutla de Reyes Gowarczów Rødovre Maniowy Jerzmanowa Aleksandrów, Piotrków County Wietrzychowice, Lesser Poland Voivodeship Lututów Jabłonka, Lesser Poland Voivodeship Dmosin Panao Curtici Samborzec Białaczów Hamburg Kiernozia Jeżów, Brzeziny County Mściwojów Tecuci Berești Segarcea Zalău Wanzleben Chełmiec, Lesser Poland Voivodeship Negrești-Oaș Tășnad Târgu Bujor Livada Ardud Piatra-Olt Aneby Drăgănești-Olt Scornicești Zelenchukskaya Potcoava Domaniewice, Łódź Voivodeship Badiraguato Ploiești San Antonio del Estrecho Mokrsko Puebla City Budzów Nesterovskaya, Republic of Ingushetia Kondratowice Siemkowice Dłutów Hinnerup Gidle Aabybro Recaș Osjaków Starocherkasskaya Cernavodă Babadag Hârșova Tulcea Năvodari Negru Vodă Laskowa, Limanowa County Ovidiu Salem Mysłakowice Isaccea Loburg Jimbolia Querobamba Gătaia Făget Deta Ciepłowody Vyselki, Krasnodar Krai Gołcza Prajila Kowiesy, Łódź Voivodeship Sfântu Gheorghe Toluca Callezuela Łubnice, Łódź Voivodeship Żukowice, Lower Silesian Voivodeship Drwinia Kamieniec Ząbkowicki Wielka Wieś, Kraków County Bałtów, Świętokrzyskie Voivodeship Villaflores Tamames Bolesławiec, Łódź Voivodeship Baraolt Tarłów Geoagiu Wąsosz, Podlaskie Voivodeship Târgu Cărbunești Aninoasa Călan Piotrków Trybunalski Rovinari Novaci Câmpulung Moldovenesc Słupia, Skierniewice County Tismana Zielona Góra Wiśniowa, Lesser Poland Voivodeship Rakaw Płock Zagnańsk Szaflary Rytro Falkenberg Sânnicolau Mare Poltavskaya Kushchyovskaya San Miguel de Allende Zawoja Aleșd Lunahuaná Kotla, Poland Vatra Dornei Motru Radków, Świętokrzyskie Voivodeship Sângeorz-Băi Botoșani Dorohoi Bucecea Haßfurt Brójce, Łódź Voivodeship Săveni Ștefănești Brașov выселки San Miguel de Pallaques Dnipro Kiełczygłów Bieliny, Świętokrzyskie Voivodeship Kwilcz Yekaterinogradskaya Wierzchlas, Łódź Voivodeship Buczek, Łask County Luduș Pińczów Iernut Sebeș Târnăveni Kavkazskaya Rytwiany Haapsalu Vejen Codlea Mirzec Dugna Skrzyszów, Lesser Poland Voivodeship Brody, Starachowice County Playa del Carmen Jerzmanowice, Lesser Poland Voivodeship Wałbrzych Gomunice Bolimów Târgu Lăpuș Șomcuta Mare Filiași Tăuții-Măgherăuș Târgu Neamț Bechet Racławice Dăbuleni Ulmeni Nieborów Tehuacan Carei Cajvana Dolhasca Vălenii de Munte Frasin Urlați Rząśnia Lipce Reymontowskie Waśniów Szydłów Iwkowa Olesno, Lesser Poland Voivodeship Nowy Korczyn Suhl Piątek, Łódź Voivodeship Bolea Bogoria, Poland Roman Szczurowa Łęki Szlacheckie Alingsås Mazatán Zlatna Borów, Strzelin County Chișineu-Criș Cugir Ineu Lipova Chiva Toruń Zawonia, Lower Silesian Voivodeship Roznov Wielgomłyny Dolzhanskaya Dobromierz, Lower Silesian Voivodeship Miedzichowo Stara Kamienica Skarżysko Kościelne Skalmierzyce, Greater Poland Voivodeship Żegocina Otopeni Ishcherskaya Daszyna Voluntari Strehaia Wierzchosławice, Lesser Poland Voivodeship Oravița Santiago de Rubiás Bocșa Moldova Nouă Băile Herculane Taman, Russia Câmpeni Jemielno Abrud Baia de Arieș Wisznia Mała Buftea Târgu Mureș Teiuș Ocna Mureș Popești-Leordeni Wróblew, Sieradz County Chucuito Kobiele Wielkie Ademuz Paszowice Sankt Veit an der Glan Ellicott City Siekierczyn Opole Schagen Łącko, Lesser Poland Voivodeship Pantelimon Cieszków Wartkowice Chrzypsko Wielkie Bremen Comănești Buhuși Höör Mioveni Topoloveni Ștefănești Bacău Nowy Kawęczyn Onești Moinești Konopnica, Wieluń County Costești Kobierzyce Arboga București Lipnik, Opatów County Podegrodzie, Lesser Poland Voivodeship Mediaș Sibiu Șimleu Silvaniei Grębocice Jibou Cehu Silvaniei Hațeg Corabia Balș Chitila Caracal Slatina Călimănești Stryszawa Støvring Nowe Ostrowy Orăștie Łososina Dolna Galați Ręczno Giaginskaya Ochotnica Dolna Masłów, Świętokrzyskie Voivodeship Chavinillo Puerto Inca Kagalnitskaya Eisenstadt Kluki, Łódź Voivodeship Platerówka Oisterwijk Berbești Wińsko Ouagadougou Krylovskaya, Krylovsky District, Krasnodar Krai Băbeni Kamienica, Limanowa County Pałecznica, Lesser Poland Voivodeship Bălcești Dingolfing Constanța Piekoszów Huedin Medgidia Murfatlar Mangalia Tbilisskaya Alba Iulia Băneasa Ordzhonikidzevskaya Radziemice Sângeorgiu de Pădure Michałowice, Lesser Poland Voivodeship Alzira Leszno Regnów Bârlad Bielawy, Łowicz County Bistrița Bukowina Tatrzańska Jessen Trzciana, Lesser Poland Voivodeship Calafat Kije, Świętokrzyskie Voivodeship Lutomiersk Cancún Kuślin Zabierzów, Lesser Poland Voivodeship Wrocław Bolesław, Dąbrowa County Broșteni Głuchów, Skierniewice County Prince Frederick Albocàsser Slobozia Uricani Simeria Czarnożyły Petrila Kocierzew Południowy Oporów, Łódź Voivodeship Sicaya, Peru Bad Kissingen Dąbrowice, Kutno County Fetești Negrești Blaj Kholmskaya Sarata Gdańsk Alvesta Mędrzechów Platnirovskaya Pleśna, Lesser Poland Voivodeship Medvedovskaya Kamionka Wielka Łabowa Krośnice, Lower Silesian Voivodeship Zimnicea Werden Maków, Łódź Voivodeship Tomelilla Wola Krzysztoporska Predeal Ghimbav Rupea Râșnov Făgăraș Parzęczew, Łódź Voivodeship Sędziejowice, Łódź Voivodeship Săcele La Jalca Wiślica Iwaniska Dinskaya Victoria Kunice, Lower Silesian Voivodeship Comarnic Dobroszyce Brezoi Kostomłoty, Lower Silesian Voivodeship Bedlno, Łódź Voivodeship Lipinki, Lesser Poland Voivodeship Vânju Mare Hedensted Reghin Lipnica Wielka, Nowy Targ County Jodłownik, Lesser Poland Voivodeship Konin Sighișoara Horezu Lysogorskaya Bryukhovetskaya Słupia, Końskie County Ayora Achoma Górno, Świętokrzyskie Voivodeship Pitiquito Kazanskaya, Krasnodar Krai Abadzekhskaya Ladozhskaya Huși Gura Suhașului Cape May Court House Rusiec, Łódź Voivodeship Cirat Bejsce Enguera Legnickie Pole Deggendorf Wądroże Wielkie Craiova Titu Răcari Pucioasa Pierzchnica Salcea Ikast Milișăuți Liteni Gura Humorului Mizil Ksawerów, Pabianice County Sinaia Slănic Nezlobnaya Solca Siret Koniusza, Lesser Poland Voivodeship Flămânzi Kluczewsko Gnojnik Poświętne, Opoczno County Dobroslav Bystra Dobryszyce Ixtlán de Juárez Pielgrzymka, Lower Silesian Voivodeship Rozprza Strzelce Wielkie, Łódź Voivodeship Spremberg Steenbergen Besskorbnaya Miedziana Góra, Kielce County Haquira Plopeni Montague L'Alcora Rzepiennik Strzyżewski Lubień, Lesser Poland Voivodeship Raba Wyżna Morawica, Świętokrzyskie Voivodeship Aiud Trzyciąż Sepahua Ładzice Mito Radoszyce, Świętokrzyskie Voivodeship Viella Jeżów Sudecki Wola Dębińska Udanin Liszki, Lesser Poland Voivodeship Oleśnica, Świętokrzyskie Voivodeship Eforie Sud Łagiewniki, Lower Silesian Voivodeship Słopnice Lisia Góra, Lesser Poland Voivodeship Nawojowa Bliżyn Krzyżanów, Kutno County Andrespol Călărași Oțelu Roșu Oltenița Fundulea Budești Lehliu Gară Cluj-Napoca Niedźwiedź, Limanowa County Zagrodno Islandia Czarny Dunajec Sułoszowa Țăndărei Fierbinți-Târg Căzănești Amara Urziceni Guanajuato Kalininskaya, Krasnodar Krai Chihuahua Radom Osiek, Oświęcim County Lewin Kłodzki Biała, Wieluń County Góra Świętej Małgorzaty Książ Wielki Charsznica Rogów, Brzeziny County Magdalena de Cao Shkurinskaya Kraków Gail Turda Żelechlinek Nucet Săcueni San José de Sisa Târgu Ocna Oradea Dărmănești Slănic-Moldova Salonta Siepraw Marghita Beiuș Łanięta Waalwijk Bydgoszcz Ruja, Lower Silesian Voivodeship Skierniewice Gnojno, Świętokrzyskie Voivodeship Avrig Agnita Łukowica Cisnădie Klucze, Lesser Poland Voivodeship Piatra Neamț Copșa Mică Bicaz Legnica Mexicali Klimontów, Sandomierz County Stare Bogaczowice Smyków, Gmina Smyków Jopiórskaya Gorzkowice Starotitarovskaya Słaboszów Lgota Wielka, Łódź Voivodeship Lublin Widawa, Łódź Voivodeship Hârlău Domaniów, Lower Silesian Voivodeship Solec-Zdrój Chąśno Severskaya Mariposa Czerniewice Llata Drăgășani Kammennobrodskaya Râmnicu Vâlcea Murgeni Carhuamayo District Fieni Adjud Moreni Târgoviște Întorsura Buzăului Focșani Aguascalientes Stafford Mărășești Găești Ruda Maleniecka Coya Uście Gorlickie Poznań Sobków Mentone Odobești Kletskaya Vidradne Andahuaylillas Pâncota Pogoanele Nowa Brzeźnica Oksa Stopnica Leningradskaya (rural locality) Mietków Panciu Gródek nad Dunajcem Leymebamba Aars Miękinia, Lower Silesian Voivodeship Złota, Pińczów County Shelkovskaya Lupeni Rokiciny-Kolonia Zorita Cristuru Secuiesc Borsec Łużna Deva Cape Pantoja Vlăhița Gromnik, Lesser Poland Voivodeship Starominskaya Arjeplog Łoniów Biały Dunajec Sulików, Lower Silesian Voivodeship Chosica Chalcatongo de Hidalgo Livadia Krościenko nad Dunajcem Stolberg Sulmierzyce, Łódź Voivodeship Łagów, Świętokrzyskie Voivodeship St. Pölten Pacanów Cielądz Alexeyevskaya, Volgograd Oblast Senftenberg Mazuko Moszczenica, Gorlice County Ringe Însurăței Boca Manu Ianca Brăila Făurei Zărnești Wodzierady Miłkowice, Lower Silesian Voivodeship Vyoshenskaya Pimentel Staroshcherbinovskaya Poronin Szerzyny Sadowie, Świętokrzyskie Voivodeship Orșova Baia de Aramă Vișeu de Sus Łopuszno Drobeta-Turnu Severin Ryazanskaya Strawczyn Zembrzyce Acarí Kościelisko Bautzen Galewice Obrazów Nagłowice Oaxaca de Juárez Lubochnia, Łódź Voivodeship Sankt Goarshausen Goes Dobroń Czernichów, Kraków County Dwikozy Dessau Wodzisław, Świętokrzyskie Voivodeship Żytno Sovetskaya, Krasnodar Krai Grigoropolisskaya Antioch Kalnibolotskaya Mihăilești Videle Bolintin-Vale Giurgiu Rudna, Lower Silesian Voivodeship Târgu Jiu Aguas Verdes Vicovu de Sus Długołęka Bumbești-Jiu Alexandria Roșiorii de Vede Turnu Măgurele Câmpina Breaza de Jos Azuga Boldești-Scăeni Băicoi Bușteni Jelenia Góra Masłowice, Radomsko County Nowa Słupia Tokarnia, Lesser Poland Voivodeship Moszczenica, Piotrków County Łyszkowice, Łowicz County Pawłów, Starachowice County Świnice Warckie Zielonki, Lesser Poland Voivodeship Sueca Lipnica Murowana Walim, Lower Silesian Voivodeship Temizhbekskaya 19th district of Budapest Vyshesteblievskaya Łapanów Băilești Karashina Paradyż, Opoczno County Vaslui Pößneck Măcin Sulina Budziszewice, Łódź Voivodeship Koszyce, Lesser Poland Voivodeship Lugoj Dobra, Lesser Poland Voivodeship Buziaș Krasocin Timișoara Pątnów, Łódź Voivodeship Osiedle-Nowiny Ciacova Łubnice, Świętokrzyskie Voivodeship Korzenna Nacka Kleszczów, Łódź Voivodeship Babice, Chrzanów County Iași Iwanowice, Kraków County Gręboszów, Lesser Poland Voivodeship Czarnocin, Świętokrzyskie Voivodeship Pavlovskaya, Krasnodar Krai Grytviken Drużbice Luborzyca Ostrówek, Wieluń County Sokolniki, Wieruszów County Towson Dej Câmpia Turzii Gherla Kodrąb, Łódź Voivodeship Bolesław, Olkusz County Yegorlykskaya Guadalajara Bălan Pașcani Secemin Podu Iloaiei Gaworzyce Turceni Przeciszów Miercurea Ciuc Țicleni Toplița Gheorgheni Băile Tușnad Odorheiu Secuiesc Gorzów Wielkopolski Satu Mare Skomlin Kanevskaya Kostromskaya Męcinka Radgoszcz, Lesser Poland Voivodeship Niechlów Karlstadt am Main Lockhart River Baia Mare Manu Gromadka Năsăud Beclean Højby Vașcău Antioquía Valea lui Mihai Ștei Borzęcin, Lesser Poland Voivodeship Krotoszyce Marciszów Zapolice
Hamburg Kraków Gdańsk
action less
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Vitry-en-Artois
relation capital of
type type of french administrative division
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?x ) WHERE { ?v property:capital_of ?r . ?v rdf:type ontology:human_settlement . ?r rdf:type ontology:type_of_french_administrative_division } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Vitry-en-Artois property:capital_of ?g . ?g rdf:type ontology:type_of_french_administrative_division } } . FILTER ( ?x < ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P190
Q486972 Q1048835
USER
How many political territories are sister town of atleast 1 human settlement ?
(c(Q1048835),P190,c(Q486972))
action count
action atleast
action find_tuple_counts
relation P190
type Q1048835
type Q486972
value 1
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?h ) WHERE { ?k property:P190 ?z . ?k rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q486972 } GROUP BY ?k } . FILTER ( ?h >= 1 ) }
action count
action atleast
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
value 1
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?h ) WHERE { ?k property:sister_city ?z . ?k rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:human_settlement } GROUP BY ?k } . FILTER ( ?h >= 1 ) }
[]
human settlement political territorial entity
SYSTEM
31
Q5963 Q1312654 Q496588 Q12339 Q11746 Q13521 Q4970 Q1769167 Q485129 Q15174 Q12587 Q10436 Q748078 Q8184 Q188905 Q42956 Q281272 Q436491 Q221749 Q639422 Q615722 Q465085 Q943431 Q695456 Q11720 Q353618 Q10445 Q984821 Q74881 Q5826 Q203040
(c(Q1048835),P190,c(Q486972))
action count
action atleast
action find_tuple_counts
relation P190
type Q1048835
type Q486972
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?h ) WHERE { ?k property:P190 ?z . ?k rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q486972 } GROUP BY ?k } . FILTER ( ?h >= 1 ) }
Hanover region Carlet Oñati Sant Joan de les Abadesses Wuhan Sant Feliu de Guíxols Hangzhou Cigales Burgo de Osma-Ciudad de Osma Shenzhen Santa Susanna Kulmbach Neath Port Talbot County Borough Enz Ouro Preto Harbin Linares Altea Torrevieja Pozuelo de Alarcón Santa Fe Almadén Granadilla de Abona Bailén Shenyang Adeje Forchheim Onda Dalian Xi'an El Puerto de Santa María
31
action count
action atleast
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
value 1
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?h ) WHERE { ?k property:sister_city ?z . ?k rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:human_settlement } GROUP BY ?k } . FILTER ( ?h >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P190
Q486972 Q515
USER
Which cities are partner town of min number of human settlements ?
(c(Q515),P190,c(Q486972))
action argmin
action find_tuple_counts
relation P190
type Q515
type Q486972
[{'concept': 'Q515'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?w ) WHERE { ?q rdf:type ontology:Q515 . ?b rdf:type ontology:Q486972 . ?q property:P190 ?b } GROUP BY ?q } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?o ) WHERE { ?n property:P190 ?d . ?n rdf:type ontology:Q515 . ?d rdf:type ontology:Q486972 } GROUP BY ?n } . FILTER ( ?o = ?g ) }
action argmin
action find_tuple_counts
relation sister city
type city
type human settlement
[{'concept': 'city'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?w ) WHERE { ?q rdf:type ontology:city . ?b rdf:type ontology:human_settlement . ?q property:sister_city ?b } GROUP BY ?q } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?o ) WHERE { ?n property:sister_city ?d . ?n rdf:type ontology:city . ?d rdf:type ontology:human_settlement } GROUP BY ?n } . FILTER ( ?o = ?g ) }
[]
human settlement city
Q1486 Q456 Q42622
SYSTEM
Buenos Aires, Lyon, Suzhou
Q41283 Q386691 Q23430 Q384403 Q373542 Q1021103 Q39738 Q3572 Q10127 Q823988 Q843001 Q1017045 Q843006 Q847602 Q830404 Q847607 Q235746 Q222242 Q841296 Q7253 Q1000086 Q3870 Q362865 Q197379 Q34412 Q849434 Q703158 Q72877 Q205914 Q259498 Q11736 Q83786 Q854913 Q944051 Q696925 Q696694 Q1000060 Q460835 Q278877 Q533157 Q217432 Q827041 Q2936 Q850969 Q819639 Q385375 Q304848 Q270814 Q57921 Q25282 Q10395 Q10397 Q664895 Q858008 Q496667 Q1000467 Q837968 Q27860 Q240504 Q854996 Q281371 Q58401 Q837960 Q3624 Q42651 Q209785 Q360326 Q612815 Q320950 Q58273 Q1088716 Q1407742 Q1015011 Q695892 Q191120 Q385982 Q766168 Q837173 Q383850 Q58650 Q214938 Q755686 Q770187 Q392692 Q823874 Q830394 Q850344 Q205607 Q320943 Q734416 Q193050 Q679428 Q985465 Q1009003 Q217646 Q846335 Q14499 Q789256 Q416669 Q7473516 Q71266 Q15720 Q946743 Q1321460 Q1001647 Q638312 Q502196 Q360069 Q602042 Q843039 Q5779 Q1009095 Q377834 Q8247 Q295367 Q283023 Q425996 Q166255 Q57953 Q917888 Q174091 Q59100 Q430864 Q1645575 Q57958 Q501891 Q349983 Q1010131 Q57818 Q349982 Q653372 Q653478 Q911517 Q38968 Q548097 Q783255 Q166282 Q59205 Q842961 Q41278 Q843035 Q246723 Q75978 Q198240 Q773312 Q696388 Q363166 Q193719 Q935846 Q1000029 Q1623 Q147738 Q835227 Q373023 Q1629 Q1008750 Q43196 Q74957 Q404529 Q954569 Q158423 Q851001 Q127026 Q912224 Q849439 Q210493 Q3926 Q851419 Q1008686 Q834567 Q714636 Q740800 Q384796 Q5690 Q505208 Q852018 Q1000336 Q937008 Q605256 Q841603 Q1018795 Q1236048 Q860674 Q5838 Q181276 Q819664 Q16520 Q220445 Q3692 Q847546 Q756593 Q368429 Q8131 Q192271 Q854956 Q235004 Q933641 Q1018700 Q325736 Q92297 Q375651 Q69060 Q71227 Q1632616 Q1019339 Q68534 Q19689 Q132997 Q3104 Q120103 Q389515 Q394453 Q278017 Q216077 Q2910 Q646847 Q68695 Q330409 Q221283 Q461020 Q207408 Q155975 Q57997 Q57996 Q913754 Q569639 Q958157 Q26600 Q507846 Q602976 Q793405 Q3846983 Q59144 Q386677 Q12062 Q72818 Q1818241 Q630358 Q178878 Q583910 Q203027 Q1486 Q1482 Q34217 Q144988 Q154540 Q1467 Q17042 Q1461 Q842984 Q855073 Q817965 Q843018 Q753731 Q623549 Q2865 Q379160 Q526335 Q737830 Q5540 Q200500 Q496072 Q645014 Q198370 Q10393 Q755691 Q854906 Q12245 Q427367 Q107401 Q791458 Q1019335 Q423371 Q16959 Q386635 Q317827 Q1844 Q837154 Q10389 Q650015 Q819629 Q1015409 Q1013843 Q385461 Q291745 Q755698 Q583620 Q1008983 Q324293 Q986070 Q946893 Q75150 Q515573 Q8854 Q1362 Q838669 Q736276 Q182378 Q858369 Q847577 Q235 Q117604 Q15379 Q588606 Q1019970 Q593157 Q1725 Q404873 Q79535 Q683165 Q1723 Q288413 Q167668 Q1519 Q8684 Q3838 Q167109 Q6582 Q851021 Q478038 Q911610 Q459787 Q386026 Q846345 Q837157 Q149097 Q393426 Q6602 Q898468 Q1025213 Q276132 Q58560 Q517407 Q126995 Q23661 Q817141 Q753864 Q3866 Q570884 Q325164 Q373101 Q137271 Q158435 Q1008595 Q740810 Q498545 Q502988 Q193724 Q734532 Q911667 Q820760 Q7568 Q842971 Q1475 Q3933 Q622594 Q978446 Q329775 Q657642 Q843028 Q341056 Q1017261 Q1000033 Q2100 Q76001 Q589880 Q3599 Q596486 Q851037 Q56759 Q3861 Q1410 Q71108 Q749283 Q642006 Q26837 Q57931 Q426130 Q7786 Q651742 Q606212 Q1852528 Q3919 Q19660 Q200267 Q2844 Q674311 Q242108 Q207881 Q3915 Q178382 Q937688 Q453502 Q75110 Q58324 Q31238 Q1017769 Q1676870 Q860669 Q533078 Q58570 Q151958 Q487439 Q665097 Q162880 Q174461 Q68614 Q1017806 Q857234 Q17182 Q124375 Q496681 Q854940 Q3806 Q653402 Q854949 Q416544 Q633983 Q604516 Q75203 Q404362 Q57756 Q320939 Q239597 Q158432 Q851007 Q335427 Q177149 Q327764 Q1471150 Q495821 Q42635 Q9005 Q208471 Q2337 Q633789 Q495802 Q1019844 Q373813 Q495809 Q3185 Q104036 Q368929 Q693237 Q252325 Q250733 Q592497 Q2773 Q781435 Q221214 Q722732 Q740915 Q488869 Q837161 Q71284 Q740853 Q205922 Q840595 Q877266 Q840591 Q632146 Q645567 Q207876 Q384926 Q842976 Q647508 Q1676863 Q1889017 Q941061 Q14440 Q34261 Q198266 Q349976 Q279642 Q756581 Q373564 Q203929 Q273880 Q855060 Q643929 Q1473 Q841129 Q679249 Q843021 Q14821 Q1020874 Q338616 Q954596 Q954611 Q57970 Q6343 Q933480 Q6829 Q260522 Q851042 Q844130 Q1575979 Q752838 Q426237 Q850395 Q92324 Q854977 Q1858 Q325555 Q496499 Q252061 Q819613 Q941032 Q1854 Q166829 Q890122 Q854987 Q394108 Q541550 Q855011 Q1258284 Q497341 Q4007 Q1013914 Q14169 Q7070 Q655417 Q930396 Q214948 Q271000 Q182852 Q111739 Q214942 Q549427 Q335506 Q694370 Q55597 Q374511 Q4174 Q847565 Q377929 Q386651 Q267708 Q317844 Q1822 Q200077 Q47916 Q846338 Q389495 Q667208 Q191097 Q75336 Q57885 Q680656 Q1508 Q385623 Q29003 Q853623 Q946769 Q3126 Q846351 Q739304 Q1729076 Q360374 Q157835 Q75230 Q1430746 Q594275 Q523489 Q499493 Q372791 Q237683 Q463171 Q369628 Q851048 Q857293 Q1019360 Q5753 Q2749 Q1394252 Q750587 Q523469 Q1013850 Q692745 Q158420 Q999916 Q211243 Q210661 Q532560 Q210667 Q911674 Q58178 Q158257 Q750573 Q736897 Q496080 Q656603 Q987487 Q217698 Q118213 Q629471 Q187861 Q207311 Q695911 Q11194 Q695917 Q485581 Q376233 Q1641829 Q206872 Q390796 Q271917 Q57936 Q719 Q5972 Q1720 Q83247 Q851029 Q1645 Q3904 Q790370 Q572231 Q7033 Q57906 Q44244 Q855052 Q215755 Q547479 Q75026 Q509923 Q3826 Q773203 Q2907 Q492366 Q843014 Q591823 Q11725 Q1789604 Q349973 Q3768 Q732300 Q789510 Q265555 Q470369 Q1863 Q1865 Q2209 Q727143 Q146363 Q532981 Q863739 Q2207 Q2203 Q851056 Q359990 Q851114 Q108037 Q180470 Q210365 Q696407 Q430207 Q76010 Q756273 Q387211 Q17176 Q42622 Q633996 Q188247 Q517783 Q571918 Q59095 Q72778 Q360235 Q1355 Q498060 Q3167 Q183584 Q3859 Q187136 Q5869 Q144663 Q508591 Q570427 Q59227 Q75379 Q789282 Q839796 Q502993 Q75091 Q427769 Q634022 Q837170 Q789261 Q189823 Q496837 Q55740 Q226000 Q3075 Q845857 Q146317 Q825166 Q851492 Q911634 Q494627 Q57941 Q855082 Q59223 Q187821 Q502205 Q203344 Q530634 Q230843 Q20921 Q71151 Q319729 Q71159 Q460812 Q57944 Q986082 Q189761 Q57947 Q390156 Q1761 Q349985 Q2795 Q236197 Q386250 Q750224 Q378225 Q653446 Q329790 Q804395 Q329797 Q2706 Q2061 Q207222 Q653364 Q184998 Q5217 Q890949 Q1017247 Q386988 Q269634 Q489147 Q456 Q755701 Q601254 Q161060 Q604385 Q679224 Q158523 Q843031 Q629849 Q843043 Q2833 Q990988 Q20073 Q36063 Q485176 Q924085 Q3931 Q146033 Q726993 Q248959 Q3751 Q3200 Q3616 Q42666 Q3612 Q844852 Q518360 Q742160 Q158272 Q171943 Q651322 Q17189 Q819672 Q847557 Q166183 Q25475 Q518203 Q523956 Q680743 Q169064 Q4060 Q652710 Q646766 Q71339 Q1013909 Q57948 Q950352 Q1530 Q1953 Q680963 Q66485 Q933374 Q649214 Q58422 Q40626 Q187812 Q582209 Q877935 Q3994 Q209983 Q432055 Q240891 Q240489 Q320964 Q23768 Q58584 Q2427155 Q696783 Q170525 Q1756960 Q936145 Q842929 Q30340 Q842925 Q92277 Q302526 Q243293 Q225100 Q59132 Q303478 Q304803 Q217681 Q263837 Q721163 Q275904 Q284480 Q496431 Q207309 Q1641781 Q104125 Q247387 Q213296 Q16666 Q1737652
(c(Q515),P190,c(Q486972))
action argmin
action find_tuple_counts
relation P190
type Q515
type Q486972
[ANSWERS] are partner town of min number of human settlements
[{'concept': 'Q515'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?w ) WHERE { ?q rdf:type ontology:Q515 . ?b rdf:type ontology:Q486972 . ?q property:P190 ?b } GROUP BY ?q } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?o ) WHERE { ?n property:P190 ?d . ?n rdf:type ontology:Q515 . ?d rdf:type ontology:Q486972 } GROUP BY ?n } . FILTER ( ?o = ?g ) }
Gwangju Niiza City Ulaanbaatar Litoměřice Szigetvár Meziboří Laoag Tunis Tangerang Kakegawa Csorna Protivín Nagykálló Nishinoomote Hajdúszoboszló Sanda Kesennuma Kisköre Příbram Padang Nový Bor Nairobi Pingxiang Zhangjiajie Foshan Fuefuki Velké Meziříčí Datong Lijiang Rafaela Tianjin Shimla Szikszó Horní Jiřetín Iruma Onomichi Humpolec Marugame Český Těšín Tianshui Port Harcourt Beroun Oldenburg Victoria Gero Ōmachi Daqing Ishinomaki Lößnitz Danang Cirebon Sukabumi Uherský Brod Murayama Muroran Hostinné Băile Tușnad Jayapura Makó Szerencs Jászberény Shijiazhuang Năvodari Addis Ababa Wuxi Ichikawa Tongling Garachico Trutnov Taizhou Lőrinci Horní Bříza Milevsko Nanao Jēkabpils Herend Nagykáta Cisnădie Litovel Zhangjiakou Gyula Nyírbátor Kaminoyama Šumperk Toda Nagykőrös Sakado Zirc Matsudo Tsuruoka Érd Tălmaciu Rakovník Staré Město Mudanjiang Kahoku Samarinda Balatonalmádi Yiyang Tokyo Yichang Satsumasendai Skalná Králíky Budyně nad Ohří Toride Tenri Bengbu Baktalórántháza Veresegyház Banda Aceh Otrokovice Szentes Biratnagar Nagyatád Maglód Deyang Horšovský Týn Schwarzenberg Vinaròs Changsha Shantou Nymburk Kostelec nad Orlicí Zhenjiang Tahara Heihe Frýdlant nad Ostravicí Huai'an Hegang Higashihiroshima Mishima Létavértes Liuzhou Visegrád Kapuvár Alghero Heyuan Mezőberény Ulsan Celldömölk Záhony Calamba Zhumadian Třeboň Toyooka Ganzhou Cheb Vlăhița Kraslice Valenzuela Saint Helier Ineu Weihai Zamboanga City Stříbro Cincinnati Anshan Xuchang Vyškov Buštěhrad Măcin Sakurai Techirghiol Kopřivnice Yantai Pretoria Turnov Ivančice Bonyhád Miyakojima Paks Ōda Sparta Ouarzazate Izumisano Tandil Tótkomlós Shimada Tiszakécske Bzenec Dolní Benešov Tosu Kabul Szolnok Sukagawa Busan Kuching Riyadh Saiki Târgu Neamț Felsőzsolca Palembang Guiyang Ibrány Vigan Martonvásár Bystřice nad Pernštejnem Ciacova Siping Valašské Meziříčí Xining Shiyan Počátky Město Albrechtice Nanping Tirana Florianópolis Koblenz Kaga Kariya Žďár nad Sázavou Tiszavasvári Jiujiang Ludwigshafen Sodegaura Quanzhou Ústí nad Orlicí Cape Coast Imabari Vác Kutná Hora Wolkenstein Thum Zalalövő Lahnstein Sezimovo Ústí Fukuoka Sebiș Klatovy Berettyóújfalu Șimleu Silvaniei Zhanjiang Kusatsu, Shiga Torgau Haiphong Rousínov Sedlčany Békéscsaba Aš Tsu Buenos Aires Cavite City Oxford Zalakaros Sásd Cebu City Oakland Manila Harkány Solt Ikeda Kunszentmiklós Masuda Puerto de la Cruz Kassel Kunszentmárton Keszthely Mizil Penza Takehara Fujinomiya Túrkeve Zibo Bogor Budaörs Gyömrő Stanley Guang'an Sivas Battonya Jílové u Prahy Ștei Ürümqi Hikone Hanamaki Vaduz Simeria Bandung Pannonhalma Toba Bílovec Dačice Ōmihachiman Ílhavo Svitavy Dévaványa Vodňany Anyang Chrudim Teiuș Yingkou Hanzhong Las Piñas Islamabad Yamatotakada Cernavodă Putrajaya Tōkamachi Susono Monaco Nago Kendari Fonyód Březnice Murfatlar Lipa Xinyang Fort Smith Poděbrady Batangas City Tapolca Liepāja Abu Dhabi Seoul Kinshasa Eger Carcassonne Pâncota Kiskunfélegyháza Lengyeltóti Iloilo City Orlová Suzu Covasna Jirkov Žatec Strasbourg Brandýs nad Labem-Stará Boleslav Rosice Pecica Qinhuangdao Sondershausen Weinan Wellington Benešov nad Ploučnicí Kurobe Dodoma Tongliao Kayes Rizhao Kota Kinabalu Vrbno pod Pradědem Vrchlabí Békés Meldorf Takaoka Slavkov u Brna Fukaya Elek Mihara Yogyakarta Sellye Quezon City Celle Takayama Trmice Kiskunhalas Villány Oroszlány Česká Třebová Rotava Lanškroun Duisburg San Pablo Pucioasa Bicske Fujioka Comarnic Olongapo Doha Gibraltar Frauenstein San Juan Kurayoshi Sorong Taizhou Mianyang Pekanbaru Minamiashigara City Fremantle Třebechovice pod Orebem Gaborone Bucharest Kamakura Brasília Kisvárda Otaru Ichihara Antananarivo Jūrmala Strmilov Amami Dandong Zhoushan Miki Mnichovo Hradiště Jablonné nad Orlicí Nichinan Baraolt Handan Yueyang Oral Minoh Dezhou Ranchi Sanming Nové Sedlo Shōbara Parañaque Hódmezővásárhely Ebetsu Dabas Tübingen Shimoda Nyergesújfalu Changde Kashiwazaki Szentgotthárd Liaoyang Xinxiang Lianyungang Mělník Neratovice Stochov Deta Kisarazu Obihiro Prachatice Fryšták Saku Wenzhou Brussels Kaifeng Smolensk Dombóvár Hekinan Přimda Albufeira Fujimi Hildesheim Ventspils Jindřichův Hradec Chitose Hajdúdorog Wa Vălenii de Munte Braunschweig Derecske Cugir Litomyšl Fulnek Benalmádena Sânnicolau Mare Xiangyang Szigetszentmiklós Qiqihar Kamisu Tainai Miyoshi Enying Törökbálint Yamaguchi Ōgaki Mátészalka Fujiyoshida Jablonec nad Jizerou Mandaue Bystřice pod Hostýnem Iquique Port-au-Prince Zhuzhou Yichun Myōkō Františkovy Lázně Liaocheng Zimnicea Beppu Encs Shūnan Davao City Iida Kalocsa Tolna Coburg Přeštice Čelákovice Havlíčkův Brod Jeseník Changzhou Carthage Luhačovice Speyer Bácsalmás Hârlău Nagahama Vratimov Aszód Guangyuan Gōtsu Tonghua Kerekegyháza Hanoi Recaș Kazuno Valea lui Mihai Uozu Kozármisleny Ho Chi Minh City Miercurea Nirajului Bolhrad Soltvadkert Žirovnice Tiszaföldvár Heves Raspenava Xianyang Rosenheim Polička Singkawang Eisenach Kenderes Nagakute Cegléd Bouaké Kunming Puerto Princesa Kazincbarcika Jánoshalma Salto Ayabe Muñoz Oyama Emden Hanyū City Hévíz Iwata Sovata Nishio Baguio Morioka Lucknow Suwa Toyokawa Fertőd Tachov Chaoyang Elterlein Sümeg Makati Ōmuta, Fukuoka Jiamusi Bátaszék Mórahalom Erlangen Miyazu Hajdúnánás Kardašova Řečice Anqing Zaporizhzhya Panjin Košťany General Santos Terezín Seto Jining Ōme Handa Sumoto Făget Kamo Dobřany Samarkand Augsburg Kosmonosy Shirakawa Mariánské Lázně Rýmařov Monbetsu Červený Kostelec Vysoké Mýto Yinchuan Musashino Jiayuguan City Chōfu Simontornya Jiaxing Hlučín Maizuru Hatsukaichi Kadoma Jičín Ostrov Weifang Yamatokōriyama Kiskunmajsa Wollongong Suzuka Kuji Sarajevo Kitakami Aveiro Săcueni Jiříkov Ajka Orosháza Kushiro Scheibenberg Saginaw Medan Mainz Braga Aleșd Cagayan de Oro Mbabane Barcs Chongzuo Nordhausen Yangzhou Santa Fe Mezőtúr Xiangtan Dunakeszi Fushun Mezőhegyes Muscat Százhalombatta Sucre Norden Szarvas Náchod Chongqing Krnov Shuangyashan Yamoussoukro Gyomaendrőd Balmazújváros Kitami Kolín Andorra la Vella Kuala Lumpur Roxas Örkény Most Baiyin Kasaoka Naga Arica Cristuru Secuiesc Wuhu Yasugi Valmiera Huangshan City Beihai Hakusan Komló Santa Rosa Karcag Kamogawa Muntinlupa Suzhou Kameoka Sarkad Pinamar Yulin Zhuhai Taiyuan Ma'anshan Bangalore Mooka Siegen Lanzhou Kigali Luoyang Lhasa Hengyang Police nad Metují Obernkirchen Chaozhou Huludao Balatonföldvár Borsec Uherské Hradiště Benxi Kisbér Kiryū Gura Humorului Balatonboglár Haikou Lincang San Fernando Jimbolia Fürth Uwajima Veszprém Izumo Shibukawa Kisújszállás Ruhla Schneeberg, Saxony Csenger Zhongshan Tatabánya Nemuro Baja Pilisvörösvár Zushi Daejeon Sayda Urayasu Brand-Erbisdorf Naruto Annaberg-Buchholz Litvínov Szekszárd Nantong Petrila Dublin Suihua Chemnitz Hino City Ōtake Strakonice Hagi Tsuchiura Kamaishi Blatná Iwakuni Bremerhaven Yellowknife Zlaté Hory Atami Kaposvár Bacolod Bohumín Podbořany Říčany Tachikawa City Schmalkalden Lyon Ráckeve Dubí Přibyslav Shizuishan Hajdúböszörmény Ehingen Vasvár Hatvan Sárvár Freiburg im Breisgau Broumov Hohenstein-Ernstthal Vecsés Pasadena Horní Slavkov Brandenburg an der Havel Zamárdi Cotabato City Zărnești Praia Salzgitter Tehran Shaoxing Antofagasta Ueda Bílina Shijōnawate Žamberk Nanchang Năsăud Pasay Kumano Nagai Nabari Batumi Iwanuma Auerbach in der Oberpfalz Balatonfüred Sângeorgiu de Pădure Hürth Letovice Tōno Xiaogan Slaný Aue Brtnice Baghdad Yerevan Mór Jaipur Nagybajom Csongrád Tangshan Tacloban Dunaújváros Tokaj Unnan Kempten Gyöngyös Hamada Higashiōmi Higashimurayama Yonago Las Vegas Baoding Náměšť nad Oslavou Yaizu Agadir Poběžovice Loket Nepomuk Zhengzhou Edelény Jilin City Tab Sekondi-Takoradi Bicaz Jiangmen Kravaře Mezőcsát Tai'an Ozamiz Itō Flămânzi Bóly Sakaiminato Tokushima Vítkov Lucena Kaba Sinaia Nanjing Kdyně
Buenos Aires, Lyon and Suzhou are partner town of min number of human settlements
Buenos Aires Lyon Suzhou
action argmin
action find_tuple_counts
relation sister city
type city
type human settlement
[{'concept': 'city'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?w ) WHERE { ?q rdf:type ontology:city . ?b rdf:type ontology:human_settlement . ?q property:sister_city ?b } GROUP BY ?q } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?o ) WHERE { ?n property:sister_city ?d . ?n rdf:type ontology:city . ?d rdf:type ontology:human_settlement } GROUP BY ?n } . FILTER ( ?o = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5268143
P206
Q337567 Q355304 Q486972
USER
How many human settlements are located next to approximately the same number of still waterss or watercourses as Dewees Island ?
(c(Q486972),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q486972
type Q337567
action find_tuple_counts
relation P206
type Q486972
type Q355304
action count
action filter_multi_types
action find
entity Q5268143
relation P206
type Q337567
type Q355304
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) ?k WHERE { { ?k rdf:type ontology:Q486972 . ?y rdf:type ontology:Q337567 . ?k property:P206 ?y } UNION { ?k property:P206 ?y . ?k rdf:type ontology:Q486972 . ?y rdf:type ontology:Q355304 } } GROUP BY ?k } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q5268143 property:P206 ?f . { { ?f rdf:type ontology:Q337567 } UNION { ?f rdf:type ontology:Q355304 } } } } }
Dewees Island
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type still waters
action find_tuple_counts
relation located next to body of water
type human settlement
type watercourse
action count
action filter_multi_types
action find
entity Dewees Island
relation located next to body of water
type still waters
type watercourse
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) ?k WHERE { { ?k rdf:type ontology:human_settlement . ?y rdf:type ontology:still_waters . ?k property:located_next_to_body_of_water ?y } UNION { ?k property:located_next_to_body_of_water ?y . ?k rdf:type ontology:human_settlement . ?y rdf:type ontology:watercourse } } GROUP BY ?k } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Dewees_Island property:located_next_to_body_of_water ?f . { { ?f rdf:type ontology:still_waters } UNION { ?f rdf:type ontology:watercourse } } } } }
[]
still waters watercourse human settlement
SYSTEM
50
Q17147002 Q889411 Q1792 Q18027409 Q15077848 Q1001134 Q81276 Q1658489 Q859187 Q2739592 Q3184100 Q1424949 Q1505272 Q1143140 Q6723261 Q1165679 Q201516 Q3177723 Q6412451 Q960161 Q2285390 Q477216 Q10602449 Q812085 Q325652 Q1980942 Q2392994 Q3175246 Q649957 Q214215 Q5268143 Q3289792 Q1263502 Q1418789 Q743908 Q2552730 Q17353524 Q773853 Q519717 Q1059628 Q384817 Q15071763 Q3182086 Q1554589 Q3303930 Q3593112 Q21279758 Q828955 Q1523372 Q60475
(c(Q486972),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q486972
type Q337567
action find_tuple_counts
relation P206
type Q486972
type Q355304
action count
action filter_multi_types
action find
entity Q5268143
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) ?k WHERE { { ?k rdf:type ontology:Q486972 . ?y rdf:type ontology:Q337567 . ?k property:P206 ?y } UNION { ?k property:P206 ?y . ?k rdf:type ontology:Q486972 . ?y rdf:type ontology:Q355304 } } GROUP BY ?k } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q5268143 property:P206 ?f . { { ?f rdf:type ontology:Q337567 } UNION { ?f rdf:type ontology:Q355304 } } } } }
Kemptville Bodega Bay Gdańsk Ritzmannshof Sissable Hilton Head Island Monnickendam Todos los Santos Big Pine Key Koivusaari Veere Ritsem Vashon Cudjoe Key Maces Bay Sunset Key Miami Beach Playa Vista Kingcome Inlet Fleming Key Sigsbee Park Bahía Kino Norra Hammarbyhamnen Bay Point Tinian Neumühlen-Dietrichsdorf Tannenhausen Jean de Baie, Newfoundland and Labrador Alicudi La Paz Dewees Island Tara Hills Duck Key Fire Island Filicudi Laajasalo Eppenreuth Venice Mazzorbo Terminal Island San Vicente de la Barquera Blacklead Island Kortgene Gundelsheim Medemblik Kekerten Island Gourmalon Laredo St. Simons Harlingen
50
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type still waters
action find_tuple_counts
relation located next to body of water
type human settlement
type watercourse
action count
action filter_multi_types
action find
entity Dewees Island
relation located next to body of water
type still waters
type watercourse
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) ?k WHERE { { ?k rdf:type ontology:human_settlement . ?y rdf:type ontology:still_waters . ?k property:located_next_to_body_of_water ?y } UNION { ?k property:located_next_to_body_of_water ?y . ?k rdf:type ontology:human_settlement . ?y rdf:type ontology:watercourse } } GROUP BY ?k } . FILTER ( ?h = ?o ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Dewees_Island property:located_next_to_body_of_water ?f . { { ?f rdf:type ontology:still_waters } UNION { ?f rdf:type ontology:watercourse } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1286686
P206
Q337567 Q355304 Q486972
USER
And how about Sunda Kelapa?
(c(Q486972),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q486972
type Q337567
action find_tuple_counts
relation P206
type Q486972
type Q355304
action count
action filter_multi_types
action find
entity Q1286686
relation P206
type Q337567
type Q355304
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?o WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q1286686 property:P206 ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } } } } . FILTER ( ?y = ?f ) }
Sunda Kelapa
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type still waters
action find_tuple_counts
relation located next to body of water
type human settlement
type watercourse
action count
action filter_multi_types
action find
entity Sunda Kelapa
relation located next to body of water
type still waters
type watercourse
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?o WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:still_waters ) ( ontology:watercourse ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Sunda_Kelapa property:located_next_to_body_of_water ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:still_waters ) ( ontology:watercourse ) } } } } . FILTER ( ?y = ?f ) }
[]
still waters watercourse human settlement
SYSTEM
148
Q1799 Q2743964 Q5730555 Q486341 Q2759508 Q5733111 Q7636289 Q399750 Q5743233 Q4776323 Q2567504 Q5740023 Q2326308 Q5745686 Q2303485 Q819176 Q749717 Q15123379 Q2538595 Q8067706 Q14524602 Q5103794 Q16083 Q171219 Q594339 Q7253200 Q5088733 Q61827 Q2682641 Q212257 Q4981726 Q5590579 Q652199 Q810328 Q2111250 Q2002693 Q5595988 Q5738311 Q3657716 Q10729538 Q973641 Q1286686 Q21039837 Q3593263 Q1223143 Q4787391 Q512874 Q1788598 Q2920812 Q3321002 Q15056333 Q5201956 Q1566490 Q1240897 Q152443 Q3593074 Q834490 Q936539 Q5745769 Q3593402 Q1939107 Q4859894 Q3270886 Q15110580 Q2765504 Q209932 Q5742519 Q993913 Q2911399 Q1511769 Q2398063 Q577150 Q2600062 Q5739370 Q464344 Q1514988 Q11710105 Q302205 Q2725842 Q5321242 Q1179003 Q21036953 Q146436 Q14805 Q2574197 Q1201569 Q10448563 Q5072194 Q6351669 Q5584067 Q5618822 Q810372 Q2408688 Q927604 Q1669687 Q15058274 Q11744903 Q15136209 Q896243 Q15266084 Q4340978 Q910356 Q681851 Q24879 Q5311044 Q5735200 Q3533 Q5738210 Q934815 Q26239886 Q1904081 Q5746607 Q1342149 Q387739 Q226870 Q5741748 Q1277568 Q28516 Q1661362 Q321792 Q1483934 Q8067489 Q661881 Q8082197 Q13571426 Q18026381 Q1014971 Q2351193 Q773029 Q1183074 Q2789932 Q7827075 Q2474873 Q6836102 Q2555365 Q2823875 Q13167040 Q16304198 Q5617577 Q2568008 Q317056 Q2500141 Q2230782 Q148114 Q1343060 Q104725 Q609660 Q5618298
(c(Q486972),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q486972
type Q337567
action find_tuple_counts
relation P206
type Q486972
type Q355304
action count
action filter_multi_types
action find
entity Q1286686
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q486972'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?o WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q1286686 property:P206 ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } } } } . FILTER ( ?y = ?f ) }
Wrocław Kryłów Mień Kufstein Liwcze Wyszków, Węgrów County Sulimów-Kolonia Aha Twarogi Ruskie Antonin, Podlaskie Voivodeship Krzyczew Pokaniewo Liw, Poland Trzaski, Wysokie Mazowieckie County Woudrichem Wola Uhruska Kunowice Odertaler Sägemühle Wackerstein Zbereże Styrum Chodów, Masovian Voivodeship Deggendorf Dornbirn Murawiec Pruszyn, Siedlce County Chańki Freudenberg am Main Kodeń Gnojno Serpelice Grabarka, Gmina Milejczyce Mielnik Schlungenhof Zuzela Rogacze Granne Niemirów Orchówek Gravedona Ontinyent Sunda Kelapa Markhof Île aux Basques Dietfurt in Mittelfranken Arciechów Gezira Island Kriegenbrunn Nur Monkey Bay Geyern Czeremcha-Wieś Haaren Donaufeld Carolinensiel île Feydeau Sławatycze Borowiki Pobikry Puget Island Hulcze Barchów Pratulin Eßlingen Chochłów Biała Podlaska Pełch Małkinia Górna Borzychy Säynätsalo Nurczyk Wyżłów Kuzawka Lewosze Caputh Gersdorf Horodyszcze, Hrubieszów County Brańszczyk Perlejewo Dłużniów Daxlanden Laubenthal Waterloo Kaufbeuren Myców Dettenheim Charlottendal Chanie Klimkowicze Goose Island Leszczka Mała Unterasbach Mokobody Bronkhorst Ursheim Oderhaus Kościukowicze Zimmern Boćki Petrovka settlement Czeremcha, Podlaskie Voivodeship Fort Ruychaver Żuki, Gmina Terespol Bremen Dubno, Podlaskie Voivodeship Kózki Rönneburg Miedwieżyki Horodło Hügelmühle Kamieńczyk Radziszewo-Króle Engelreuth Dorohusk Zosin Twarogi Lackie Würm Tarnobrzeg Salbke Travemünde Weiboldshausen Zawiszyn Speicherstadt Świerże, Chełm County De Vaart Niederpappenheim Burggrub Michalków Urle Dehrn Zaręby Kościelne Torresdale Dobrotvir Michałowice, Lesser Poland Voivodeship Weiherfeld-Dammerstock Ada Međica Angle Inlet Beaujoire Wojtkowice Stare Neple Friedrichshain Starawieś Schambach Zartwitz Enhofen Płock Kobiernice Leszczka Duża
148
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type human settlement
type still waters
action find_tuple_counts
relation located next to body of water
type human settlement
type watercourse
action count
action filter_multi_types
action find
entity Sunda Kelapa
relation located next to body of water
type still waters
type watercourse
[{'concept': 'human settlement'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?o WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:still_waters ) ( ontology:watercourse ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Sunda_Kelapa property:located_next_to_body_of_water ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:still_waters ) ( ontology:watercourse ) } } } } . FILTER ( ?y = ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q515 Q515
USER
Which cities have min number of cities as their county seat ?
(c(Q515),P1376,Q850992)
action argmin
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q850992']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?v ) WHERE { ?t rdf:type ontology:Q515 . ?g rdf:type ontology:Q515 . ?g property:P1376 ?t } GROUP BY ?t } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P1376 ?h . ?h rdf:type ontology:Q515 . ?s rdf:type ontology:Q515 } GROUP BY ?h } . FILTER ( ?b = ?x ) }
action argmin
action find_reverse_tuple_counts
relation capital of
type city
type city
[{'concept': 'city'}, 'capital of', 'Costești']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?v ) WHERE { ?t rdf:type ontology:city . ?g rdf:type ontology:city . ?g property:capital_of ?t } GROUP BY ?t } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:capital_of ?h . ?h rdf:type ontology:city . ?s rdf:type ontology:city } GROUP BY ?h } . FILTER ( ?b = ?x ) }
[]
city city
Q19660 Q587746 Q855187
SYSTEM
Bucharest, Siret, Câmpeni
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q235 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q148540 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q515),P1376,Q850992)
action argmin
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
[ANSWERS] have min number of cities as their county seat
[{'concept': 'Q515'}, 'P1376', 'Q850992']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?v ) WHERE { ?t rdf:type ontology:Q515 . ?g rdf:type ontology:Q515 . ?g property:P1376 ?t } GROUP BY ?t } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P1376 ?h . ?h rdf:type ontology:Q515 . ?s rdf:type ontology:Q515 } GROUP BY ?h } . FILTER ( ?b = ?x ) }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Monaco Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Republic of Florence Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
Bucharest, Siret and Câmpeni have min number of cities as their county seat
Bucharest Siret Câmpeni
action argmin
action find_reverse_tuple_counts
relation capital of
type city
type city
[{'concept': 'city'}, 'capital of', 'Costești']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?v ) WHERE { ?t rdf:type ontology:city . ?g rdf:type ontology:city . ?g property:capital_of ?t } GROUP BY ?t } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:capital_of ?h . ?h rdf:type ontology:city . ?s rdf:type ontology:city } GROUP BY ?h } . FILTER ( ?b = ?x ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19660 Q587746 Q855187
P17
Q15617994
USER
Which administrative territories are Bucharest, Siret and Câmpeni present in ?
(Q19660,P17,c(Q15617994)) (Q587746,P17,c(Q15617994)) (Q855187,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19660
relation P17
type Q15617994
action filter_type
action find
entity Q587746
relation P17
type Q15617994
action filter_type
action find
entity Q855187
relation P17
type Q15617994
['Q19660', 'P17', {'concept': 'Q15617994'}] ['Q587746', 'P17', {'concept': 'Q15617994'}] ['Q855187', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?w property:P17 ?x . VALUES ( ?w ) { ( resource:Q19660 ) ( resource:Q587746 ) } }
Bucharest Siret Câmpeni
action union
action filter_type
action find
entity Bucharest
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Siret
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Câmpeni
relation country
type designation for an administrative territorial entity
['Bucharest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Siret', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Câmpeni', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?w property:country ?x . VALUES ( ?w ) { ( resource:Bucharest ) ( resource:Siret ) } }
[]
designation for an administrative territorial entity
Q218 Q218 Q218
SYSTEM
Romania
Q389004 Q218 Q218 Q218
(Q19660,P17,c(Q15617994)) (Q587746,P17,c(Q15617994)) (Q855187,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19660
relation P17
type Q15617994
action filter_type
action find
entity Q587746
relation P17
type Q15617994
action filter_type
action find
entity Q855187
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Bucharest, Siret and Câmpeni present in
['Q19660', 'P17', {'concept': 'Q15617994'}] ['Q587746', 'P17', {'concept': 'Q15617994'}] ['Q855187', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?w property:P17 ?x . VALUES ( ?w ) { ( resource:Q19660 ) ( resource:Q587746 ) } }
Wallachia Romania Romania Romania
Romania, Romania and Romania are Bucharest, Siret and Câmpeni present in
Romania Romania Romania
action union
action filter_type
action find
entity Bucharest
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Siret
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Câmpeni
relation country
type designation for an administrative territorial entity
['Bucharest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Siret', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Câmpeni', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?w property:country ?x . VALUES ( ?w ) { ( resource:Bucharest ) ( resource:Siret ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19660
P6
Q502895
USER
Who are the heads of the government of Bucharest ?
(Q19660,P6,c(Q502895))
action filter_type
action find
entity Q19660
relation P6
type Q502895
['Q19660', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q19660 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Bucharest
action filter_type
action find
entity Bucharest
relation head of government
type common name
['Bucharest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Bucharest property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q57279 Q16593781 Q2016394
SYSTEM
Traian Băsescu, Gabriela Firea, Adriean Videanu
Q2016394 Q57279 Q16593781 Q980828
(Q19660,P6,c(Q502895))
action filter_type
action find
entity Q19660
relation P6
type Q502895
The heads of the government of Bucharest are President [ANSWERS]
['Q19660', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q19660 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Adriean Videanu Traian Băsescu Gabriela Firea Sorin Oprescu
The heads of the government of Bucharest are President Traian Băsescu, Gabriela Firea and Adriean Videanu
Traian Băsescu Gabriela Firea Adriean Videanu
action filter_type
action find
entity Bucharest
relation head of government
type common name
['Bucharest', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Bucharest property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1370152
Q502895
USER
And what about Alcóntar?
(Q1370152,P6,c(Q502895))
action filter_type
action find
entity Q1370152
relation P6
type Q502895
['Q1370152', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q1370152 property:P6 ?l }
Alcóntar
action filter_type
action find
entity Alcóntar
relation head of government
type common name
['Alcóntar', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Alcóntar property:head_of_government ?l }
[]
common name
Q14024237
SYSTEM
Antonio Ramon Salas Rodriguez
Q14024237
(Q1370152,P6,c(Q502895))
action filter_type
action find
entity Q1370152
relation P6
type Q502895
[ANSWER]
['Q1370152', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q1370152 property:P6 ?l }
Antonio Ramon Salas Rodriguez
Antonio Ramon Salas Rodriguez
action filter_type
action find
entity Alcóntar
relation head of government
type common name
['Alcóntar', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Alcóntar property:head_of_government ?l }
[]