Simple Question (Direct)
Simple Question
Q3672606
P20
Q56061
USER
Where did the demise of Frank Barnett occur ?
(Q3672606,P20,c(Q56061))
action filter_type
action find
entity Q3672606
relation P20
type Q56061
['Q3672606', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3672606 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Frank Barnett
action filter_type
action find
entity Frank Barnett
relation place of death
type administrative territorial entity
['Frank Barnett', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Frank_Barnett property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q185582
SYSTEM
Knoxville
Q185582
(Q3672606,P20,c(Q56061))
action filter_type
action find
entity Q3672606
relation P20
type Q56061
The demise of Frank Barnett occurred in [ANSWER]
['Q3672606', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3672606 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Knoxville
The demise of Frank Barnett occurred in Knoxville
Knoxville
action filter_type
action find
entity Frank Barnett
relation place of death
type administrative territorial entity
['Frank Barnett', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Frank_Barnett property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3672606
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q185582,P102,c(Q7210356))
action filter_type
action find
entity Q3672606
relation P102
type Q7210356
['Q185582', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q3672606 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Frank Barnett
action filter_type
action find
entity Frank Barnett
relation member of political party
type political organization
['Knoxville', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Frank_Barnett property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q185582,P102,c(Q7210356))
action filter_type
action find
entity Q3672606
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q185582', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q3672606 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Republican Party
That person is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Frank Barnett
relation member of political party
type political organization
['Knoxville', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Frank_Barnett property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3672606
P19
Q56061
USER
Which administrative territory was Frank Barnett born in ?
(Q3672606,P19,c(Q56061))
action filter_type
action find
entity Q3672606
relation P19
type Q56061
['Q3672606', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3672606 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Frank Barnett
action filter_type
action find
entity Frank Barnett
relation place of birth
type administrative territorial entity
['Frank Barnett', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Frank_Barnett property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23556
SYSTEM
Atlanta
Q23556
(Q3672606,P19,c(Q56061))
action filter_type
action find
entity Q3672606
relation P19
type Q56061
Frank Barnett was born in [ANSWER]
['Q3672606', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3672606 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Atlanta
Frank Barnett was born in Atlanta
Atlanta
action filter_type
action find
entity Frank Barnett
relation place of birth
type administrative territorial entity
['Frank Barnett', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Frank_Barnett property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P6
Q502895 Q56061
USER
How many administrative territories have approximately the same number of people as their head of government as that administrative territory ?
(c(Q56061),P6,c(Q502895))
action count
action approx
action find_tuple_counts
relation P6
type Q56061
type Q502895
action count
action filter_type
action find
entity Q23556
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?n ) WHERE { ?m property:P6 ?z . ?m rdf:type ontology:Q56061 . ?z rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:Q56061 . resource:Q23556 property:P6 ?o } } . FILTER ( ?n = ?y ) }
action count
action approx
action find_tuple_counts
relation head of government
type administrative territorial entity
type common name
action count
action filter_type
action find
entity Atlanta
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?n ) WHERE { ?m property:head_of_government ?z . ?m rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Atlanta property:head_of_government ?o } } . FILTER ( ?n = ?y ) }
[]
common name administrative territorial entity
SYSTEM
773
Q807 Q1613421 Q49169 Q802 Q6931 Q26525 Q664550 Q244747 Q1715 Q13127 Q10084 Q803 Q1443790 Q190583 Q27918 Q2814 Q1240735 Q9248 Q172657 Q200122 Q2948 Q898 Q894 Q1632675 Q891 Q3718 Q12273 Q1642988 Q38511 Q1183 Q3711 Q2174 Q233467 Q1874 Q83178 Q2272 Q25923 Q6025 Q1643620 Q39420 Q15679 Q25287 Q80985 Q11967 Q29042 Q68883 Q3376 Q47513 Q133026 Q1630737 Q7059 Q49233 Q3150 Q34021 Q14893 Q837464 Q49238 Q3100518 Q940738 Q13471 Q622030 Q63092 Q58780 Q220843 Q13274 Q3630 Q13379 Q4656 Q548441 Q15487 Q13375 Q11974 Q1442461 Q16568 Q1645052 Q10305 Q608985 Q16563 Q23337 Q33959 Q322437 Q8692 Q14938 Q1631896 Q134679 Q193180 Q2656 Q1289 Q17151 Q1630552 Q1632687 Q1643030 Q585 Q846440 Q9920 Q1643848 Q134699 Q12155 Q15681 Q1643840 Q496567 Q659351 Q46940 Q6610 Q931188 Q162857 Q1769733 Q1757 Q156858 Q1754 Q36989 Q1628832 Q1613503 Q1022 Q13153 Q2881786 Q202776 Q749 Q59101 Q3561641 Q6477 Q847118 Q9361 Q47048 Q16635 Q976610 Q197582 Q1646345 Q588290 Q8378 Q10509 Q2881848 Q49272 Q62140 Q501090 Q102762 Q168782 Q1613475 Q302099 Q324489 Q7880 Q13122 Q13121 Q494521 Q157032 Q495428 Q516485 Q961325 Q7019 Q121157 Q25416 Q1646370 Q7010 Q1646374 Q598 Q1646377 Q13939 Q14328 Q80021 Q917173 Q12892 Q3894 Q5836 Q6014 Q490960 Q1297 Q820476 Q4113 Q756598 Q170513 Q1613482 Q12995 Q820224 Q1629837 Q12411 Q925925 Q162615 Q1750981 Q1626858 Q4051 Q11994 Q54140 Q15760 Q578081 Q332730 Q542606 Q43631 Q1445232 Q496968 Q146342 Q1767902 Q303366 Q8810 Q191805 Q6555 Q1635681 Q27001 Q27168 Q1897 Q1891 Q920677 Q131290 Q280243 Q249995 Q28911 Q12303 Q44013 Q1614556 Q992 Q170433 Q156080 Q1630130 Q40236 Q140075 Q14323 Q181056 Q14325 Q477232 Q484799 Q393 Q5083 Q1524 Q4454 Q1632489 Q1489 Q181359 Q1481 Q178405 Q26393 Q615676 Q1130 Q79519 Q28218 Q490457 Q139564 Q144983 Q8356 Q1156 Q798 Q11703 Q2868 Q8678 Q1632660 Q865586 Q2044 Q887 Q1645489 Q883 Q95041 Q681893 Q485716 Q12246 Q921291 Q26087 Q2143 Q695425 Q2141 Q1613446 Q2144 Q37133 Q3490 Q1842 Q776965 Q4019 Q520119 Q10313 Q1611575 Q15092 Q3138 Q983805 Q15093 Q7067 Q986075 Q171617 Q80836 Q197386 Q8851 Q1645238 Q1726 Q68124 Q1310 Q6285 Q26430 Q134121 Q26432 Q486282 Q1632524 Q6049 Q334 Q239 Q25410 Q1645047 Q1611807 Q4083 Q339527 Q16553 Q16555 Q16557 Q728412 Q622 Q621 Q127041 Q8686 Q994 Q1637534 Q628 Q904768 Q1628461 Q11125 Q1296 Q1646388 Q155993 Q1295 Q5168 Q490732 Q181314 Q1372614 Q11088190 Q600693 Q1632442 Q1643832 Q273779 Q908 Q12059984 Q1563 Q626763 Q900 Q23197 Q104400 Q16048 Q817204 Q25409 Q614400 Q7032 Q1223508 Q690 Q1261509 Q88 Q808812 Q163973 Q586018 Q1630535 Q15420 Q232842 Q1630122 Q53139 Q647543 Q129259 Q178310 Q1613360 Q1613406 Q175161 Q12292 Q472 Q1643692 Q1733 Q93910 Q11959 Q35493 Q1645791 Q329984 Q47034 Q214173 Q7022 Q37320 Q214178 Q208006 Q785888 Q25395 Q25396 Q2423 Q1442470 Q210093 Q1646361 Q47483 Q71 Q1646364 Q80053 Q3771 Q1631182 Q49145 Q1957 Q5426 Q12191 Q3674 Q37100 Q83407 Q2214 Q1613493 Q6509 Q927541 Q2028 Q842011 Q82838 Q156658 Q1626867 Q470380 Q6506 Q23564 Q1648608 Q152578 Q192225 Q1764584 Q84 Q8802 Q1901661 Q524407 Q1441219 Q8818 Q15678 Q1626889 Q488052 Q18419 Q9997 Q1648589 Q27007 Q15674 Q839805 Q1764579 Q1308 Q754768 Q1613382 Q4936662 Q2142215 Q253672 Q57110 Q9832 Q740351 Q54452 Q715 Q41604 Q33935 Q48273 Q919652 Q21197 Q41819 Q736906 Q537853 Q16644 Q1630474 Q14318 Q16641 Q26569 Q14314 Q389205 Q15090 Q134620 Q956 Q15095 Q15098 Q47430 Q6221 Q959 Q437 Q16017 Q16010 Q586498 Q975013 Q3551 Q2415 Q1048762 Q42308 Q8745 Q1729 Q1479 Q5384 Q773420 Q2766547 Q659823 Q3951 Q927510 Q1647880 Q1011890 Q1780 Q1781 Q695380 Q16082 Q12258 Q13386 Q41329 Q505920 Q749842 Q743218 Q269 Q640211 Q1153945 Q695550 Q1851 Q26339 Q12460 Q1157971 Q202158 Q608752 Q1630093 Q3786 Q43070 Q193293 Q11568 Q157058 Q156974 Q3828 Q159273 Q44206 Q1903 Q1645193 Q1353 Q1352 Q332989 Q1354 Q179830 Q946208 Q179833 Q58337 Q183104 Q12225 Q132754 Q27119 Q5239 Q1829 Q162022 Q220 Q340 Q10282 Q47265 Q26421 Q1626839 Q1645770 Q930686 Q98967 Q25331 Q837062 Q1520 Q25230 Q1637525 Q61942 Q61944 Q105444 Q631186 Q5831 Q492744 Q1015681 Q65362 Q842228 Q3043 Q10400 Q24639 Q1632435 Q1643824 Q465078 Q919 Q1615595 Q6576 Q528530 Q915 Q914 Q1737 Q726538 Q118958 Q371790 Q11953 Q48292 Q16050 Q2746 Q15684 Q768 Q24861 Q105538 Q616877 Q761 Q44989 Q9580 Q1630506 Q910973 Q521148 Q1028279 Q69290 Q504451 Q2630 Q37776 Q1615953 Q600671 Q331141 Q2112 Q309164 Q3584 Q2290 Q136023 Q782513 Q393925 Q1724 Q13896 Q695504 Q234053 Q321074 Q2873545 Q7030 Q2593371 Q103789 Q9536 Q2592 Q211760 Q7038 Q1642209 Q34404 Q8717 Q65 Q1628817 Q736131 Q40340 Q3764 Q5818 Q1065474 Q1658755 Q216939 Q83062 Q385 Q5813 Q12439 Q83065 Q10006 Q1643637 Q875 Q7040 Q12994 Q23556 Q17175 Q49550 Q1444329 Q837478 Q43713 Q486991 Q48814 Q79990 Q135394 Q8385 Q166065 Q34863 Q13364 Q1757659 Q6106 Q68160 Q793 Q69354 Q49256 Q3640 Q1658553 Q70 Q154897 Q487981 Q28441 Q25804 Q727 Q649 Q648 Q3646 Q230368 Q1641394 Q9306 Q54119 Q927149 Q44059 Q40623 Q9934 Q3992 Q13934 Q485329 Q15696 Q15695 Q487679 Q28848 Q15088 Q4361 Q273413 Q384303 Q193443 Q572041 Q588 Q6842 Q1613517 Q582 Q200166 Q1867 Q43919 Q8757 Q34370 Q1763 Q986089 Q99151 Q1764 Q970482 Q3949 Q1630518 Q5465 Q495380 Q241767 Q6441 Q1019965 Q2066 Q33613 Q3058634 Q102346 Q4178 Q581478 Q1613467 Q100 Q103565 Q81137 Q40840 Q6354269 Q651766 Q225375 Q3840 Q198047 Q26793 Q54898 Q49266 Q2235 Q190021 Q494693 Q487786 Q14336 Q473914 Q958637 Q47571 Q12233 Q4100 Q216 Q646620 Q1642754 Q623175 Q4068 Q13972 Q1645666 Q190499 Q1628569 Q1613373 Q975 Q241125 Q82030 Q222702 Q146351 Q1643605 Q186254 Q47887 Q8826 Q462840 Q502249 Q1643765 Q505862 Q965529 Q1341 Q1884 Q4615 Q171018 Q41621 Q225729 Q907241 Q612 Q244289 Q41876 Q15699 Q190235 Q1646296 Q83813 Q521090 Q6487 Q198748 Q41970 Q34647 Q1641785 Q221447 Q1632497 Q743236
(c(Q56061),P6,c(Q502895))
action count
action approx
action find_tuple_counts
relation P6
type Q56061
type Q502895
action count
action filter_type
action find
entity Q23556
relation P6
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?n ) WHERE { ?m property:P6 ?z . ?m rdf:type ontology:Q56061 . ?z rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:Q56061 . resource:Q23556 property:P6 ?o } } . FILTER ( ?n = ?y ) }
Lausanne Valencia de Alcántara Stamford Nowy Sącz Böblingen Drammen Maradi Tudela Hanover Sint-Niklaas Vlissingen Utrecht Hornachuelos Mikkeli Bad Rappenau Halle (Saale) Fort Simpson Baku Nizhnekamsk Linnich Neuss Omsk Samara Campo Lugar Nizhny Novgorod Dakar Gijón Pescueza Turku Puerto Rico Belgrade Naryan-Mar Gisborne, New Zealand Odessa Almere Skien Longyearbyen Gorno-Altaysk Peraleda de la Mata Sochi Badajoz Gothenburg Fes Huesca Akureyri Villars-Sainte-Croix Trento Sant'Ambrogio di Valpolicella Kolomna Madrigal de la Vera Bruchsal Orlando Jena Bastogne Ettlingen Malacky Greensboro Guinguinéo Campillo de Deleitosa Jafre Palos de la Frontera Carmona Hasselt Walvis Bay Krk Jakarta Kurgan Pula Portugalete Berga Pisa Las Palmas de Gran Canaria Talayuela Jacksonville Bohonal de Ibor Zaragoza Elda Memphis Salt Lake City Nice Ablitas Bilbao Bernburg Almodóvar del Campo Gubkin Kajaani Palermo Grenoble Thessaloniki Almoharín Ceclavín Portaje Oslo Moldava nad Bodvou Haarlem Aldea del Cano Gukovo Soria Jaén La Aldea del Obispo Eibar Ettelbruck Alcalá de Henares Yakutsk Arroyomolinos, Cáceres Kourfeye Centre Benquerencia Helsinki Struga Stockholm Pardubice Serradilla Madroñera Stuttgart Ronda Bambey Ziguinchor Groningen Narvik Pelendri Pirna Lipany Bishkek Oulu Guam Santa Cruz de Paniagua Khimki Holguera Valdastillas Palencia Elche Bana, Cameroon Chandler Harstad Castro Urdiales Azov Tobolsk Cilleros Requena Trujillo Toulouse Dendermonde Aalst Emmendingen Prilep Bretten Friedberg Holešov Albstadt Mashhad Stavanger Albalá Leonberg Aldehuela de Jerte Rzeszów Hinojal Terrassa Santa Cruz de Tenerife Daugavpils Jumilla Antwerp Kampala Toledo Barnaul Arendsee (Altmark) Chicago Ciudad Rodrigo Pulheim Lipova Taganrog Caminomorisco Kortrijk Tafalla Villanueva de la Vera Pontevedra Pacifica Cartagena Tejeda de Tiétar Tornavacas Friedrichshafen Miranda de Ebro Salem Novorossiysk Casar de Cáceres Lisse Kraichtal Leiden Purchena Mojácar Teplice Livadia Goizueta Granada Mladá Boleslav Narbonne Alsasua – Altsasu Martin Randers Cagliari Bologna Conquista de la Sierra Ganja Louga Chiayi City Lahti Jerez de la Frontera Vaughan Socuéllamos Amersfoort Passaic City, New Jersey Opava Guijo de Galisteo Manaus Gold Coast Mérida Boa Vista Logroño Aktobe Marbella Szczecin Seattle Athens Khabarovsk Alía Mexico City Talavera de la Reina Felsberg Larissa Poprad Torrejón el Rubio Iserlohn Dothan Baton Rouge Rendsburg Atlantic City Banská Bystrica Valladolid Mumbai Assen United States Virgin Islands Lima Rio de Janeiro Jarandilla de la Vera Galkayo Florence Yekaterinburg Casas de Miravete Novosibirsk Naberezhnye Chelny Errenteria Glendale Huelva Mamer Tromsø Syktyvkar Martos Halifax Piornal Cherepovets Mariupol Lipetsk Luxembourg Klaipėda Sindelfingen Gernsbach Donostia/San Sebastián Pinofranqueado Castelló de la Plana Trier Lake Oswego Ciudad Real Bietigheim-Bissingen Nové Město na Moravě Campinas Geislingen an der Steige Fryazino Málaga Gata Munich La Chaux-de-Fonds Arnhem Varese Tilburg Namur Zoetermeer Pavlodar Almaraz Kyzyl Singapore Brussels Aalborg Aldeanueva del Camino Terque Eschweiler Launceston San Jose Houston Dallas Sabaneta Ludwigsburg Versailles Mangalore Shanghai Tbilisi Collado Bergamo Garrovillas de Alconétar Sierra de Fuentes Lugo Ghent Carrascalejo Kladno Dortmund Makhachkala Fort Collins Wavre Huércal-Overa Vicariate of  Ústí nad Labem Thiès Logrosán Belvís de Monroy Saint-Louis Rostov-on-Don Vicariate of Turnov Havana Arnaia Kazan Nashville Hamar Crailsheim Ejea de los Caballeros Košice Armañanzas Filderstadt Ohrid Delft Druskininkai Alexandria Barrado Ellwangen (Jagst) Osuna Aldeanueva de la Vera Granollers Puno Alcuéscar Chita Arrecife Niš Petergof Casares de las Hurdes El Torno Novomoskovsk Villarreal Sofia Malpartida de Plasencia Magdeburg Novokuznetsk Alicante Almaty Areso Úbeda Espoo Trujillo Fellbach Cleveland Nablus Bilecik Moguer Newark Bonaire Yaroslavl Santoña Motril Calzadilla Sagunto Geneva Cedillo Tabriz Gütersloh Losar de la Vera New Haven Vologda Izhevsk Nantes Niamey Auckland Mons Pskov Riolobos Burgas Hořice Verona Handlová Freudenstadt Nakhodka Cañaveral Přerov Varna Podgorica Gargüera de la Vera Beitar Illit Netanya Mirabel, Spain London Getafe La Mata de Morella Heppenheim Valverde del Fresno Valencia Cáceres Jerte Olivenza Brooklyn Borne Casas de Don Antonio Bardejov Kagoshima Myrtle Beach Rebollar Como Partizánske Casatejada Colón Agoitz Garganta la Olla Corsier-sur-Vevey Eindhoven Nové Mesto, Bratislava Kumanovo Heilbronn Amiens Tel Aviv Adamstown Paredes de nava Chișinău Kansas City Almonte Carmel Northern Mariana Islands Arroyo de la Luz Vitoria-Gasteiz American Samoa Zahlé Santiago de Compostela Alcántara Lleida Jyväskylä Beijing Albacete Cuenca Green Bay Brescia Vladivostok Ljubljana Zweibrücken Esch-sur-Alzette Kédougou Casillas de Coria Rabat Kristiansand Cuevas del Almanzora Kharkiv Vigo Erfurt Bordeaux Kirov Zarza la Mayor 's-Hertogenbosch Conway Aalen Milpitas Cerezo Kolda Bratislava Budapest Villanueva de la Serena Bad Vilbel Sabadell Lecce Linz Erbach an der Donau Torreorgaz Jonava Tashkent Cachorrilla Jerez de los Caballeros Huécija Arkhangelsk Jersey City Lier Vera Hämeenlinna Lieksa Casar de Palomero Esslingen am Neckar Donetsk Reutov Darwin Gostivar Ústí nad Labem Dessau-Roßlau Arequipa Resistencia Catania Guijo de Santa Bárbara Delhi Chennai Loja Dhaka Jelgava Malpartida de Cáceres Sumqayit Banff Feldkirch Murcia Erbil Kolding Vladikavkaz Kaliningrad Mechelen Rome Montreal Pamplona Palo Alto Dordrecht Abertura Azuelo Ahigal Nizhny Tagil Odense Olite Astana Guernsey Aldeacentenera Bad Mergentheim Semey Kamensk-Uralsky Thomasville Melilla Mijas Lower Hutt SAO Eastern Slavonia, Baranja and Western Syrmia Sangüesa Belmopan Almería Vancouver Navaconcejo Pasarón de la Vera Astorga Krasnoyarsk Cuacos de Yuste Irkutsk Andújar Perm Volgograd Bregenz Cabezuela del Valle Leuven Miajadas Guadalajara Arles Diekirch Ryazan Segovia Supetar Albany Uryupinsk Louny Białystok Tulsa Burgos Brozas Diourbel Boppard Cambridge Genolier Gaggenau Ivanovo Besançon Galapagar Villava – Atarrabia Velika Gorica Bielefeld Ra'anana Nový Jičín Porsgrunn Zheleznodorozhny Talaveruela de la Vera Žiar nad Hronom Saarbrücken Markgröningen Guadalupe Vancouver Piešťany Rurzyca, West Pomeranian Voivodeship Wismar Doxato Arzamas Bad Doberan Kostroma Culiacán Girona Valverde de la Vera New Orleans Seville Los Angeles Hervás Alblasserdam Racine Witten Córdoba Chipping Norton Casas de Millán Essaouira Donaueschingen Gdynia Canary Islands Detroit Leicester Hengelo Cabañas del Castillo Abakan Homburg Bruges Atlanta Marikina Maó-Mahón Moraleja Sabinov Montehermoso Aschersleben Strumica Christchurch Dolgoprudny Ostrava Lelystad Oklahoma City Ravenna Cadalso Portland Vevey Zwolle Montreux Bakersfield Ankara Berrocalejo Bern Aabenraa Benidorm São Luís Trondheim Amsterdam Moscow Lille Krasnodar Caravaca de la Cruz Torremenga Eberswalde San Pedro Pedroso de Acim La Plata Quedlinburg Hilversum Liège Rubí Ferrol Zamora Salamanca Alcobendas Saint Paul Tarragona Curitiba Écija Carbajo Salavat Antequera Katowice Kleve Acehúche Villeurbanne Kitchener Taipei Salem A Coruña Rotterdam Murmansk Cascante Ourense Reykjavík Nacogdoches Unna Castañar de Ibor Cape Town Aranda de Duero Plasencia Montpellier Iférouane Essen Kramatorsk Esquipulas Yelets Wetzlar Břeclav Carcaboso Boston Angarsk Olomouc Tampere Kalopanagiotis Portezuelo, Cáceres Verl Velbert Chernogolovka Bergen San Cristóbal de La Laguna Wichita Veliky Novgorod Townsville Torrelavega Orihuela Teruel Ibiza Town Alcollarín Lorca Santander Baden-Baden Vilnius Estella-Lizarra Robledillo de la Vera Viandar de la Vera Stolberg Tartu Berzocana Severodvinsk Zorita Galisteo San Antonio Sobrance Villarrobledo Tarifa Liberec Casas del Monte Haskovo Nijmegen Palma Spišská Nová Ves Villena Madrigalejo Heitersheim Navalmoral de la Mata Tolyatti Düren Elsdorf Zlín Haifa Harsewinkel Viana Dubai Athis-Mons Reims León Horsens Baños de Montemayor Savannah Torrejoncillo Antalya Engels Pyatigorsk Johannesburg Huarte/Uharte Ramla Cañamero Diest
773
action count
action approx
action find_tuple_counts
relation head of government
type administrative territorial entity
type common name
action count
action filter_type
action find
entity Atlanta
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?n ) WHERE { ?m property:head_of_government ?z . ?m rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Atlanta property:head_of_government ?o } } . FILTER ( ?n = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q23556 Q154741
P194
Q1752346
USER
How many assemblies are the legislative bodies for Atlanta or Confederation of the Rhine ?
(Q23556,P194,c(Q1752346)) (Q154741,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q23556
relation P194
type Q1752346
action filter_type
action find
entity Q154741
relation P194
type Q1752346
['Q23556', 'P194', {'concept': 'Q1752346'}] ['Q154741', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { resource:Q23556 property:P194 ?y . ?y rdf:type ontology:Q1752346 } UNION { ?y rdf:type ontology:Q1752346 . resource:Q154741 property:P194 ?y } }
Atlanta Confederation of the Rhine
action count
action union
action filter_type
action find
entity Atlanta
relation legislative body
type assembly
action filter_type
action find
entity Confederation of the Rhine
relation legislative body
type assembly
['Atlanta', 'legislative body', {'concept': 'assembly'}] ['Confederation of the Rhine', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { resource:Atlanta property:legislative_body ?y . ?y rdf:type ontology:assembly } UNION { ?y rdf:type ontology:assembly . resource:Confederation_of_the_Rhine property:legislative_body ?y } }
[]
assembly
SYSTEM
2
Q4816040 Q2282872
(Q23556,P194,c(Q1752346)) (Q154741,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q23556
relation P194
type Q1752346
action filter_type
action find
entity Q154741
relation P194
type Q1752346
[ANSWER]
['Q23556', 'P194', {'concept': 'Q1752346'}] ['Q154741', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { resource:Q23556 property:P194 ?y . ?y rdf:type ontology:Q1752346 } UNION { ?y rdf:type ontology:Q1752346 . resource:Q154741 property:P194 ?y } }
Atlanta City Council diet
2
action count
action union
action filter_type
action find
entity Atlanta
relation legislative body
type assembly
action filter_type
action find
entity Confederation of the Rhine
relation legislative body
type assembly
['Atlanta', 'legislative body', {'concept': 'assembly'}] ['Confederation of the Rhine', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { resource:Atlanta property:legislative_body ?y . ?y rdf:type ontology:assembly } UNION { ?y rdf:type ontology:assembly . resource:Confederation_of_the_Rhine property:legislative_body ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q769631
P206
Q355304 Q337567 Q56061
USER
How many administrative territories are located in the neighbourhood of lesser number of watercourses and still waterss than Drohiczyn ?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q769631
relation P206
type Q355304
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?o WHERE { { ?o property:P206 ?q . ?o rdf:type ontology:Q56061 . ?q rdf:type ontology:Q355304 } UNION { ?o property:P206 ?q . ?o rdf:type ontology:Q56061 . ?q rdf:type ontology:Q337567 } } GROUP BY ?o } . FILTER ( ?m < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q769631 property:P206 ?c . { VALUES ( ?y ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?c rdf:type ?y } } } }
Drohiczyn
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Drohiczyn
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?o WHERE { { ?o property:located_next_to_body_of_water ?q . ?o rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:watercourse } UNION { ?o property:located_next_to_body_of_water ?q . ?o rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:still_waters } } GROUP BY ?o } . FILTER ( ?m < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Drohiczyn property:located_next_to_body_of_water ?c . { VALUES ( ?y ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?c rdf:type ?y } } } }
[]
watercourse still waters administrative territorial entity
SYSTEM
269
Q3579 Q9248 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q2088134 Q5350973 Q156325 Q985587 Q7673494 Q501090 Q73049 Q1113813 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q36433 Q2060910 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q484799 Q14328 Q9911 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q334 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q1748 Q210093 Q2677934 Q991274 Q3299785 Q849441 Q15068816 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q3398922 Q614919 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q2021057 Q831527 Q200036 Q651997 Q517053 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q941967 Q2684898 Q14947347 Q301415 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q239496 Q791602 Q959 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q18419 Q3688 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q25230 Q7230655 Q810092 Q492744 Q3854 Q4072448 Q10400 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q1160017 Q2928585 Q49550 Q37806 Q770518 Q79716 Q930204 Q2713838 Q10313 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q2413248 Q34692 Q913649 Q8757 Q1764 Q3940 Q2236639 Q2729387 Q602314 Q176749 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q683125 Q230406 Q1867127 Q502398 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q991400 Q1758944
(c(Q56061),P206,c(Q355304)|c(Q337567))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q769631
relation P206
type Q355304
type Q337567
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?o WHERE { { ?o property:P206 ?q . ?o rdf:type ontology:Q56061 . ?q rdf:type ontology:Q355304 } UNION { ?o property:P206 ?q . ?o rdf:type ontology:Q56061 . ?q rdf:type ontology:Q337567 } } GROUP BY ?o } . FILTER ( ?m < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q769631 property:P206 ?c . { VALUES ( ?y ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?c rdf:type ?y } } } }
Tripoli Baku Makkum Den Oever Dakar Gijón Malabo El Pescadero Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa San José del Cabo El Centenario Juan Fernández Islands Lee-on-the-Solent Taboiaki Castro Urdiales Hindeloopen Come By Chance, Newfoundland and Labrador Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Porto Fuvahmulah Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Marbella Santa Cruz de Tenerife Den Helder Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Singapore Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Copenhagen Motril Puttershoek Kalamos Halat Nuaim Saint John Norris Arm San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Y Felinheli Atokos Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Hindersön Djurgården Volos Alcobaça, Portugal De Koog Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Peniche Ter Heijde Beetz Marken Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Sheringham Awala-Yalimapo Vladivostok Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Brooklyn Nouakchott Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Guernsey Port Greville Unterwurmbach Mijas Bujumbura Aurovka Almería Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Perim Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Wells-next-the-Sea Vaghena Island Donostia/San Sebastián Funafala Vestmannaeyjar Huizen Ydrefors Spetses Cayo Romano Kingston Wijk aan Zee A Coruña Reykjavík Victoria Oosterdijk, Enkhuizen Huisduinen Ruo Villingili Easter Island Palma Beirut Apia St. John's Palmyra Atoll Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Puerto Barrios Rottumeroog
269
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Drohiczyn
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) ?o WHERE { { ?o property:located_next_to_body_of_water ?q . ?o rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:watercourse } UNION { ?o property:located_next_to_body_of_water ?q . ?o rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:still_waters } } GROUP BY ?o } . FILTER ( ?m < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Drohiczyn property:located_next_to_body_of_water ?c . { VALUES ( ?y ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?c rdf:type ?y } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2351343
P206
Q355304 Q337567 Q56061
USER
And also tell me about Benson, Oxfordshire?
(c(Q56061),P206,c(Q355304)|c(Q337567))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q2351343
relation P206
type Q355304
type Q337567
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { FILTER ( ?w < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q2351343 property:P206 ?l . { VALUES ( ?a ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?l rdf:type ?a } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?s WHERE { { ?s property:P206 ?n . ?n rdf:type ontology:Q355304 . ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q56061 . ?n rdf:type ontology:Q337567 . ?s property:P206 ?n } } GROUP BY ?s } }
Benson, Oxfordshire
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Benson, Oxfordshire
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { FILTER ( ?w < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Benson,_Oxfordshire property:located_next_to_body_of_water ?l . { VALUES ( ?a ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?l rdf:type ?a } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?s WHERE { { ?s property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:still_waters . ?s property:located_next_to_body_of_water ?n } } GROUP BY ?s } }
[]
watercourse still waters administrative territorial entity
SYSTEM
269
Q3579 Q9248 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q2088134 Q5350973 Q156325 Q985587 Q7673494 Q501090 Q73049 Q1113813 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q36433 Q2060910 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q484799 Q14328 Q9911 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q334 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q1748 Q210093 Q2677934 Q991274 Q3299785 Q849441 Q15068816 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q3398922 Q614919 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q2021057 Q831527 Q200036 Q651997 Q517053 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q941967 Q2684898 Q14947347 Q301415 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q239496 Q791602 Q959 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q18419 Q3688 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q25230 Q7230655 Q810092 Q492744 Q3854 Q4072448 Q10400 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q1160017 Q2928585 Q49550 Q37806 Q770518 Q79716 Q930204 Q2713838 Q10313 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q2413248 Q34692 Q913649 Q8757 Q1764 Q3940 Q2236639 Q2729387 Q602314 Q176749 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q683125 Q230406 Q1867127 Q502398 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q991400 Q1758944
(c(Q56061),P206,c(Q355304)|c(Q337567))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q337567
action count
action filter_multi_types
action find
entity Q2351343
relation P206
type Q355304
type Q337567
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { FILTER ( ?w < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q2351343 property:P206 ?l . { VALUES ( ?a ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?l rdf:type ?a } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?s WHERE { { ?s property:P206 ?n . ?n rdf:type ontology:Q355304 . ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q56061 . ?n rdf:type ontology:Q337567 . ?s property:P206 ?n } } GROUP BY ?s } }
Tripoli Baku Makkum Den Oever Dakar Gijón Malabo El Pescadero Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa San José del Cabo El Centenario Juan Fernández Islands Lee-on-the-Solent Taboiaki Castro Urdiales Hindeloopen Come By Chance, Newfoundland and Labrador Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Porto Fuvahmulah Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Marbella Santa Cruz de Tenerife Den Helder Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Singapore Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Copenhagen Motril Puttershoek Kalamos Halat Nuaim Saint John Norris Arm San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Y Felinheli Atokos Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Hindersön Djurgården Volos Alcobaça, Portugal De Koog Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Peniche Ter Heijde Beetz Marken Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Sheringham Awala-Yalimapo Vladivostok Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Brooklyn Nouakchott Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Guernsey Port Greville Unterwurmbach Mijas Bujumbura Aurovka Almería Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Perim Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Wells-next-the-Sea Vaghena Island Donostia/San Sebastián Funafala Vestmannaeyjar Huizen Ydrefors Spetses Cayo Romano Kingston Wijk aan Zee A Coruña Reykjavík Victoria Oosterdijk, Enkhuizen Huisduinen Ruo Villingili Easter Island Palma Beirut Apia St. John's Palmyra Atoll Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Puerto Barrios Rottumeroog
269
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Benson, Oxfordshire
relation located next to body of water
type watercourse
type still waters
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { FILTER ( ?w < ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Benson,_Oxfordshire property:located_next_to_body_of_water ?l . { VALUES ( ?a ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?l rdf:type ?a } } } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?s WHERE { { ?s property:located_next_to_body_of_water ?n . ?n rdf:type ontology:watercourse . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:still_waters . ?s property:located_next_to_body_of_water ?n } } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q310493 Q23556
P19 P190
Q56061
USER
Which administrative territories are the sister cities of Atlanta or were Robert Wagner born in ?
OR((Q23556,P190,c(Q56061)), (Q310493,P19,c(Q56061)))
action filter_type
action union
action find
entity Q23556
relation P190
action find
entity Q310493
relation P19
type Q56061
{'OR': [['Q23556', 'P190', {'concept': 'Q56061'}], ['Q310493', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . { { resource:Q310493 property:P19 ?z } UNION { resource:Q23556 property:P190 ?z } } }
Robert Wagner Atlanta
action filter_type
action union
action find
entity Atlanta
relation sister city
action find
entity Robert Wagner
relation place of birth
type administrative territorial entity
{'OR': [['Atlanta', 'sister city', {'concept': 'administrative territorial entity'}], ['Robert Wagner', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . { { resource:Robert_Wagner property:place_of_birth ?z } UNION { resource:Atlanta property:sister_city ?z } } }
[]
administrative territorial entity
Q182059 Q167582 Q637555 Q2090 Q3642 Q34713 Q39178 Q239 Q12439 Q1867
SYSTEM
Some of them are Kumasi, Yokneam, Montego Bay, Nuremberg, Asmara, Salzburg, Port of Spain, Brussels, Detroit, Taipei
Q8673 Q8678 Q994 Q309164 Q239 Q1425428 Q1524 Q637555 Q2090 Q1867 Q182059 Q7880 Q39178 Q632542 Q3642 Q167582 Q12439 Q34713
OR((Q23556,P190,c(Q56061)), (Q310493,P19,c(Q56061)))
action filter_type
action union
action find
entity Q23556
relation P190
action find
entity Q310493
relation P19
type Q56061
[ANSWERS] are the sister cities of Atlanta or were Robert Wagner born in
{'OR': [['Q23556', 'P190', {'concept': 'Q56061'}], ['Q310493', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . { { resource:Q310493 property:P19 ?z } UNION { resource:Q23556 property:P190 ?z } } }
Lagos Rio de Janeiro Tbilisi Ra'anana Brussels Newcastle upon Tyne Athens Montego Bay Nuremberg Taipei Kumasi Toulouse Port of Spain Archaia Olympia Asmara Yokneam Detroit Salzburg
Kumasi, Yokneam, Montego Bay, Nuremberg, Asmara, Salzburg, Port of Spain, Brussels, Detroit and Taipei are the sister cities of Atlanta or were Robert Wagner born in
Kumasi Yokneam Montego Bay Nuremberg Asmara Salzburg Port of Spain Brussels Detroit Taipei
action filter_type
action union
action find
entity Atlanta
relation sister city
action find
entity Robert Wagner
relation place of birth
type administrative territorial entity
{'OR': [['Atlanta', 'sister city', {'concept': 'administrative territorial entity'}], ['Robert Wagner', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . { { resource:Robert_Wagner property:place_of_birth ?z } UNION { resource:Atlanta property:sister_city ?z } } }
[]