Simple Question (Direct)
Simple Question
Q967038
P21
Q290
USER
What is the sex of Ryuji Sueoka ?
(Q967038,P21,c(Q290))
action filter_type
action find
entity Q967038
relation P21
type Q290
['Q967038', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q967038 property:P21 ?d . ?d rdf:type ontology:Q290 }
Ryuji Sueoka
action filter_type
action find
entity Ryuji Sueoka
relation gender
type sex
['Ryuji Sueoka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ryuji_Sueoka property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q967038,P21,c(Q290))
action filter_type
action find
entity Q967038
relation P21
type Q290
The sex of Ryuji Sueoka is a [ANSWER]
['Q967038', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q967038 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of Ryuji Sueoka is a male
male
action filter_type
action find
entity Ryuji Sueoka
relation gender
type sex
['Ryuji Sueoka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ryuji_Sueoka property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q967038
P641
Q349
USER
Which sport did Ryuji Sueoka participate in ?
(Q967038,P641,c(Q349))
action filter_type
action find
entity Q967038
relation P641
type Q349
['Q967038', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q967038 property:P641 ?z }
Ryuji Sueoka
action filter_type
action find
entity Ryuji Sueoka
relation sport
type sport
['Ryuji Sueoka', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Ryuji_Sueoka property:sport ?z }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q967038,P641,c(Q349))
action filter_type
action find
entity Q967038
relation P641
type Q349
Ryuji Sueoka participated in [ANSWER]
['Q967038', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q967038 property:P641 ?z }
association football
Ryuji Sueoka participated in association football
association football
action filter_type
action find
entity Ryuji Sueoka
relation sport
type sport
['Ryuji Sueoka', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Ryuji_Sueoka property:sport ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q967038
P19
Q515
USER
Which city is the birthplace of that person ?
(Q2736,P19,c(Q515))
action filter_type
action find
entity Q967038
relation P19
type Q515
['Q2736', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { resource:Q967038 property:P19 ?m . ?m rdf:type ontology:Q515 }
Ryuji Sueoka
action filter_type
action find
entity Ryuji Sueoka
relation place of birth
type city
['association football', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { resource:Ryuji_Sueoka property:place_of_birth ?m . ?m rdf:type ontology:city }
[]
city
Q823502
SYSTEM
Hikari
Q823502
(Q2736,P19,c(Q515))
action filter_type
action find
entity Q967038
relation P19
type Q515
[ANSWER] is the birthplace of that person
['Q2736', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { resource:Q967038 property:P19 ?m . ?m rdf:type ontology:Q515 }
Hikari
Hikari is the birthplace of that person
Hikari
action filter_type
action find
entity Ryuji Sueoka
relation place of birth
type city
['association football', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { resource:Ryuji_Sueoka property:place_of_birth ?m . ?m rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q355304 Q515
USER
How many cities are situated in the neighbourhood of atleast 1 waterways and watercourses ?
(c(Q515),P206,c(Q1267889)|c(Q355304))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q355304
value 1
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?e WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?e } . FILTER ( ?y >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type watercourse
value 1
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?e WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?e } . FILTER ( ?y >= 1 ) }
[]
waterway watercourse city
SYSTEM
77
Q3075 Q1794 Q1863 Q1865 Q496499 Q3974 Q19689 Q2966 Q34217 Q496479 Q3004 Q1461 Q827041 Q2865 Q4024 Q1711 Q2978 Q3806 Q2973 Q3014 Q1773 Q1844 Q14821 Q819587 Q3955 Q23430 Q633272 Q2773 Q320943 Q1858 Q320416 Q1761 Q4007 Q2706 Q7070 Q3826 Q653545 Q8684 Q270704 Q2749 Q4174 Q3838 Q2833 Q1209 Q23661 Q3931 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q3936 Q2936 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889)|c(Q355304))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q355304
value 1
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?e WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } } GROUP BY ?e } . FILTER ( ?y >= 1 ) }
Fürth Frankfurt Andorra la Vella Kuala Lumpur Kazuno Landshut Tirana Heidelberg Oxford Yokote Ingolstadt Manila Beroun Kassel Frankfurt (Oder) Potsdam Regensburg Tübingen Darmstadt Wolfsburg Riga Vaduz Coburg Noshiro Weimar Ulaanbaatar Yuzawa Braunschweig Matsudo Hanoi Tartessos Dublin Rosenheim Bremerhaven Eisenach Muscat Kita-Akita Seoul Třebíč Augsburg Emden Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Brandenburg an der Havel Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Bamberg Oldenburg Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Kyiv Würzburg Brasília
77
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type watercourse
value 1
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?e WHERE { ?m rdf:type ?b . VALUES ( ?b ) { ( ontology:waterway ) ( ontology:watercourse ) } } GROUP BY ?e } . FILTER ( ?y >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P1376
Q1048835 Q515
USER
Which political territories have approximately the same number of cities as their capital as Antigua and Barbuda ?
(c(Q515),P1376,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find
entity Q781
relation P1376
type Q1048835
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P1376 ?q . ?q rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q515 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ontology:Q1048835 . resource:Q781 property:P1376 ?s } } . FILTER ( ?d = ?m ) }
Antigua and Barbuda
action approx
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find
entity Antigua and Barbuda
relation capital of
type political territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:capital_of ?q . ?q rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:city } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Antigua_and_Barbuda property:capital_of ?s } } . FILTER ( ?d = ?m ) }
[]
political territorial entity city
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q7915647 Q7130037 Q132418 Q132410 Q13885 Q13887 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q13727 Q6317672 Q3321945 Q938891 Q10298683 Q849807 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13902 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q43448 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q3312902 Q173407 Q8517 Q2702993 Q165956 Q6949621 Q133083 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q13867 Q13866 Q13864 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10469 Q2485101 Q7290462 Q10462 Q1334322 Q10466 Q10465 Q628370 Q104891 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q13730 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q13861 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q34617 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q5455586 Q8566 Q6319759 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6318695 Q6308 Q632108 Q5096392 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q2917 Q7896 Q1399432 Q933179 Q5945 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13812 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q3826003 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q5096 Q3653113 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q13740 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q168856 Q178269 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q7414539 Q2379199 Q1769672 Q13845 Q13846 Q13841 Q13840 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2718510 Q18221 Q192184 Q13893 Q2875944 Q13895 Q5444794 Q593806 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q201697 Q505220 Q7827062 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q13807 Q170672 Q1230021 Q183 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q13751 Q13750 Q5657086 Q2697641 Q309460 Q571947 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q191091 Q10480 Q3321868 Q10483 Q10485 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13871 Q13873 Q13875 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q6013498 Q211795 Q6319125 Q3312431 Q10554 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q515),P1376,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find
entity Q781
relation P1376
type Q1048835
[ANSWERS] have approximately the same number of cities as their capital as Antigua and Barbuda
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P1376 ?q . ?q rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q515 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ontology:Q1048835 . resource:Q781 property:P1376 ?s } } . FILTER ( ?d = ?m ) }
Vargas Guerra District Panao District Northern Cape Mpumalanga Sultan Kudarat Sulu Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Antique Ayabaca District Acarí District San Miguel District Huacrachuco Western Highlands Province San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Coya District Ternopil Oblast Main-Tauber Haquira District North West Máncora District Gauteng Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Occidental Mindoro Nueva Vizcaya Northern Samar Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Main-Spessart County of Chiny Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Aurora Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Mountain Province Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Saint Pierre and Miquelon Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Fitzcarrald Alzey-Worms Sicaya District Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Pimentel Leipzig Lincoln Partido Chiclayo District Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Ifugao Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chucuito District Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence West Papua Kingdom of Syunik Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Batanes Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Chernivtsi Oblast Ivano-Frankivsk Oblast Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Värmland County Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District San José de Sisa District politics of Edinburgh La Sotonera Maguindanao Marinduque Lanao del Norte Laguna Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tawi-Tawi Omate District Zambales Fernando Lores District Llata District North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Leimebamba District Huancavelica Region Torres Causana District Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dinagat Islands Dnipropetrovsk Oblast Nieva District Germany Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Biliran Benguet Manú Pamparomas District County of Hainaut Bautzen Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Regen Deggendorf Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pangasinan Quirino Romblon Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Inambari Lima Region Pacasmayo District Cajamarca Upper Franconia Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
Germany, Australia and Denmark have approximately the same number of cities as their capital as Antigua and Barbuda
Germany Australia Denmark
action approx
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find
entity Antigua and Barbuda
relation capital of
type political territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:capital_of ?q . ?q rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:city } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Antigua_and_Barbuda property:capital_of ?s } } . FILTER ( ?d = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2071352
P1376
Q1048835 Q515
USER
And how about Callao Region?
(c(Q515),P1376,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find
entity Q2071352
relation P1376
type Q1048835
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?q ) WHERE { ?n rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q515 . ?w property:P1376 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q2071352 property:P1376 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?q = ?s ) }
Callao Region
action approx
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find
entity Callao Region
relation capital of
type political territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?q ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:city . ?w property:capital_of ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Callao_Region property:capital_of ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?q = ?s ) }
[]
political territorial entity city
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q7915647 Q7130037 Q132418 Q132410 Q13885 Q13887 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q13727 Q6317672 Q3321945 Q938891 Q10298683 Q849807 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13902 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q43448 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q3312902 Q173407 Q8517 Q2702993 Q165956 Q6949621 Q133083 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q13867 Q13866 Q13864 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10469 Q2485101 Q7290462 Q10462 Q1334322 Q10466 Q10465 Q628370 Q104891 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q13730 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q13861 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q34617 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q5455586 Q8566 Q6319759 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6318695 Q6308 Q632108 Q5096392 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q2917 Q7896 Q1399432 Q933179 Q5945 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13812 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q3826003 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q5096 Q3653113 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q13740 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q168856 Q178269 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q7414539 Q2379199 Q1769672 Q13845 Q13846 Q13841 Q13840 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2718510 Q18221 Q192184 Q13893 Q2875944 Q13895 Q5444794 Q593806 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q201697 Q505220 Q7827062 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q13807 Q170672 Q1230021 Q183 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q13751 Q13750 Q5657086 Q2697641 Q309460 Q571947 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q191091 Q10480 Q3321868 Q10483 Q10485 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13871 Q13873 Q13875 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q6013498 Q211795 Q6319125 Q3312431 Q10554 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q515),P1376,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_type
action find
entity Q2071352
relation P1376
type Q1048835
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?q ) WHERE { ?n rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q515 . ?w property:P1376 ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q2071352 property:P1376 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?q = ?s ) }
Vargas Guerra District Panao District Northern Cape Mpumalanga Sultan Kudarat Sulu Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Antique Ayabaca District Acarí District San Miguel District Huacrachuco Western Highlands Province San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Coya District Ternopil Oblast Main-Tauber Haquira District North West Máncora District Gauteng Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Occidental Mindoro Nueva Vizcaya Northern Samar Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Main-Spessart County of Chiny Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Aurora Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Mountain Province Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Saint Pierre and Miquelon Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Fitzcarrald Alzey-Worms Sicaya District Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Pimentel Leipzig Lincoln Partido Chiclayo District Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Ifugao Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chucuito District Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence West Papua Kingdom of Syunik Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Batanes Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Chernivtsi Oblast Ivano-Frankivsk Oblast Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Värmland County Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District San José de Sisa District politics of Edinburgh La Sotonera Maguindanao Marinduque Lanao del Norte Laguna Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tawi-Tawi Omate District Zambales Fernando Lores District Llata District North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Leimebamba District Huancavelica Region Torres Causana District Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dinagat Islands Dnipropetrovsk Oblast Nieva District Germany Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Biliran Benguet Manú Pamparomas District County of Hainaut Bautzen Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Regen Deggendorf Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pangasinan Quirino Romblon Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Inambari Lima Region Pacasmayo District Cajamarca Upper Franconia Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
Germany Australia Denmark
action approx
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_type
action find
entity Callao Region
relation capital of
type political territorial entity
[{'concept': 'city'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?q ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:city . ?w property:capital_of ?n } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Callao_Region property:capital_of ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?q = ?s ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q408 Q35
P6
Q502895
USER
What people are those political territories the head of goverment of ?
(Q183,P6,c(Q502895)) (Q408,P6,c(Q502895)) (Q35,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q183', 'P6', {'concept': 'Q502895'}] ['Q408', 'P6', {'concept': 'Q502895'}] ['Q35', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q7915647 ) ( resource:Q7130037 ) ( resource:Q132418 ) } . ?r property:P6 ?u }
Germany Australia Denmark
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}] ['Australia', 'head of government', {'concept': 'common name'}] ['Denmark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Vargas_Guerra_District ) ( resource:Panao_District ) ( resource:Northern_Cape ) } . ?r property:head_of_government ?u }
[]
common name
Q2492 Q2514 Q567
SYSTEM
Konrad Adenauer, Willy Brandt, Angela Merkel
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q567 Q51330 Q23386 Q152666 Q314016 Q23352 Q927550 Q23379 Q269372 Q23358 Q43135 Q23333 Q315979 Q41563 Q348577 Q242654 Q356411 Q356230 Q370926 Q313805 Q370966 Q312722 Q23369 Q23342 Q23347 Q23362 Q214438 Q356261 Q23375 Q459146 Q441330 Q1040851 Q1037599 Q966436 Q918287 Q57652 Q503087 Q725118 Q264340 Q727237 Q1634992 Q1274220 Q782403 Q351178 Q367557 Q1375737 Q1343866 Q491280 Q721358 Q1375094 Q1343877 Q312881 Q46052 Q1335084 Q1744787 Q1576188 Q182397 Q327190 Q348901 Q572189 Q664052 Q710950 Q311063 Q1874069 Q947789 Q591189 Q1375050 Q947911 Q694093 Q731504 Q982328
(Q183,P6,c(Q502895)) (Q408,P6,c(Q502895)) (Q35,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
Those political territories the head of goverment of are [ANSWERS]
['Q183', 'P6', {'concept': 'Q502895'}] ['Q408', 'P6', {'concept': 'Q502895'}] ['Q35', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q7915647 ) ( resource:Q7130037 ) ( resource:Q132418 ) } . ?r property:P6 ?u }
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Angela Merkel John Howard John McEwen Billy Hughes Andrew Fisher George Houstoun Reid Malcolm Turnbull Ben Chifley Bob Hawke Stanley Bruce Kevin Rudd Gough Whitlam Malcolm Fraser Julia Gillard Tony Abbott Paul Keating John Gorton Joseph Cook Earle Page Alfred Deakin Joseph Lyons Harold Holt Arthur Fadden Edmund Barton Chris Watson James Scullin Robert Menzies William McMahon John Curtin Frank Forde Jens Otto Krag Carl Theodor Zahle Carl Edvard Rotwitt Christen Andreas Fonnesbech Viggo Kampmann Helle Thorning-Schmidt Hans Hedtoft Carl Christian Hall Klaus Berntsen Hilmar Baunsgaard Hugo Egmont Hørring Jens Christian Christensen Christian Emil Krag-Juel-Vind-Frijs Adam Wilhelm Moltke Thorvald Stauning Michael Pedersen Friis Ludvig Holstein-Holsteinborg Anders Sandøe Ørsted H. C. Hansen Niels Neergaard Jacob Brønnum Scavenius Estrup Anker Jørgensen Anders Fogh Rasmussen Knud Kristensen Otto Liebe Hannibal Sehested Lars Løkke Rasmussen Poul Schlüter Poul Hartling Johan Henrik Deuntzer Vilhelm Buhl Erik Eriksen Poul Nyrup Rasmussen Ludvig Holstein-Ledreborg Carl Christoffer Georg Andræ Peter Georg Bang Tage Reedtz-Thott Christian Albrecht Bluhme Ditlev Gothard Monrad Erik Scavenius Thomas Madsen-Mygdal
Those political territories the head of goverment of are Konrad Adenauer, Willy Brandt and Angela Merkel
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}] ['Australia', 'head of government', {'concept': 'common name'}] ['Denmark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Vargas_Guerra_District ) ( resource:Panao_District ) ( resource:Northern_Cape ) } . ?r property:head_of_government ?u }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2492 Q2514 Q567
P488
Q7278
USER
Which political parties are those people a chairperson of ?
(c(Q7278),P488,Q2492) (c(Q7278),P488,Q2514) (c(Q7278),P488,Q567)
action filter_type
action find_reverse
entity prev_answer
relation P488
type Q7278
[{'concept': 'Q7278'}, 'P488', 'Q2492'] [{'concept': 'Q7278'}, 'P488', 'Q2514'] [{'concept': 'Q7278'}, 'P488', 'Q567']
SELECT DISTINCT ?r WHERE { ?r property:P488 ?v . VALUES ( ?v ) { ( resource:Q2492 ) ( resource:Q2518 ) ( resource:Q2530 ) } . ?r rdf:type ontology:Q7278 }
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find_reverse
entity prev_answer
relation chairperson
type political party
[{'concept': 'political party'}, 'chairperson', 'Konrad Adenauer'] [{'concept': 'political party'}, 'chairperson', 'Willy Brandt'] [{'concept': 'political party'}, 'chairperson', 'Angela Merkel']
SELECT DISTINCT ?r WHERE { ?r property:chairperson ?v . VALUES ( ?v ) { ( resource:Konrad_Adenauer ) ( resource:Helmut_Kohl ) ( resource:Gerhard_Schröder ) } . ?r rdf:type ontology:political_party }
[]
political party
Q49762 Q49768 Q49762
SYSTEM
Christian Democratic Union for 1st, 3rd, Social Democratic Party of Germany for 2nd
Q49762 Q49768 Q49762
(c(Q7278),P488,Q2492) (c(Q7278),P488,Q2514) (c(Q7278),P488,Q567)
action filter_type
action find_reverse
entity prev_answer
relation P488
type Q7278
[ANSWERS]
[{'concept': 'Q7278'}, 'P488', 'Q2492'] [{'concept': 'Q7278'}, 'P488', 'Q2514'] [{'concept': 'Q7278'}, 'P488', 'Q567']
SELECT DISTINCT ?r WHERE { ?r property:P488 ?v . VALUES ( ?v ) { ( resource:Q2492 ) ( resource:Q2518 ) ( resource:Q2530 ) } . ?r rdf:type ontology:Q7278 }
Christian Democratic Union Social Democratic Party of Germany Christian Democratic Union
Christian Democratic Union, Social Democratic Party of Germany and Christian Democratic Union are those people a chairperson of
Christian Democratic Union Social Democratic Party of Germany Christian Democratic Union
action filter_type
action find_reverse
entity prev_answer
relation chairperson
type political party
[{'concept': 'political party'}, 'chairperson', 'Konrad Adenauer'] [{'concept': 'political party'}, 'chairperson', 'Willy Brandt'] [{'concept': 'political party'}, 'chairperson', 'Angela Merkel']
SELECT DISTINCT ?r WHERE { ?r property:chairperson ?v . VALUES ( ?v ) { ( resource:Konrad_Adenauer ) ( resource:Helmut_Kohl ) ( resource:Gerhard_Schröder ) } . ?r rdf:type ontology:political_party }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2492
P463
Q163740
USER
What were that person a member of ?
(Q2492,P463,c(Q163740))
action filter_type
action find
entity Q2492
relation P463
type Q163740
['Q2492', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q2492 property:P463 ?k . ?k rdf:type ontology:Q163740 }
Konrad Adenauer
action filter_type
action find
entity Konrad Adenauer
relation member of
type nonprofit organization
['Konrad Adenauer', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Konrad_Adenauer property:member_of ?k . ?k rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Clarification for simple ques.
Q2492
SYSTEM
Did you mean Konrad Adenauer ?
Q49762 Q49768 Q49762
(Q49762,P463,c(Q163740)) (Q49768,P463,c(Q163740)) (Q49762,P463,c(Q163740))
[ANSWER]
['Q49762', 'P463', {'concept': 'Q163740'}] ['Q49768', 'P463', {'concept': 'Q163740'}] ['Q49762', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q2492 property:P463 ?k . ?k rdf:type ontology:Q163740 }
Christian Democratic Union Social Democratic Party of Germany Christian Democratic Union
Did you mean Konrad Adenauer ?
Konrad Adenauer
['Christian Democratic Union', 'member of', {'concept': 'nonprofit organization'}] ['Social Democratic Party of Germany', 'member of', {'concept': 'nonprofit organization'}] ['Christian Democratic Union', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Konrad_Adenauer property:member_of ?k . ?k rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2492,P463,c(Q163740))
['Q2492', 'P463', {'concept': 'Q163740'}]
['Konrad Adenauer', 'member of', {'concept': 'nonprofit organization'}]
[]
Q1718150 Q1718151 Q1718148
SYSTEM
Katholischer Studentenverein Askania-Burgundia Berlin, Brisgovia Freiburg, Katholischer Studentenverein Arminia Bonn
Q1718150 Q1718151 Q1718148
(Q2492,P463,c(Q163740))
action filter_type
action find
entity Q2492
relation P463
type Q163740
That person a member of were the [ANSWERS]
['Q2492', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q2492 property:P463 ?k . ?k rdf:type ontology:Q163740 }
Katholischer Studentenverein Askania-Burgundia Berlin Brisgovia Freiburg Katholischer Studentenverein Arminia Bonn
That person a member of were the Katholischer Studentenverein Askania-Burgundia Berlin, Brisgovia Freiburg and Katholischer Studentenverein Arminia Bonn
Katholischer Studentenverein Askania-Burgundia Berlin Brisgovia Freiburg Katholischer Studentenverein Arminia Bonn
action filter_type
action find
entity Konrad Adenauer
relation member of
type nonprofit organization
['Konrad Adenauer', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Konrad_Adenauer property:member_of ?k . ?k rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16188390 Q408
P530 P27
Q1048835
USER
Which political territories have diplomatic relations with Australia or are Noah Andersen David a civilian of ?
OR((Q408,P530,c(Q1048835)), (Q16188390,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q408
relation P530
action find
entity Q16188390
relation P27
type Q1048835
{'OR': [['Q408', 'P530', {'concept': 'Q1048835'}], ['Q16188390', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q408 property:P530 ?p } UNION { resource:Q16188390 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Noah Andersen David Australia
action filter_type
action union
action find
entity Australia
relation diplomatic relation
action find
entity Noah Andersen David
relation country of citizenship
type political territorial entity
{'OR': [['Australia', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Noah Andersen David', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Australia property:diplomatic_relation ?p } UNION { resource:Noah_Andersen_David property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q691 Q766 Q40 Q35 Q781 Q664 Q183 Q778 Q769 Q16
SYSTEM
Some of them are Papua New Guinea, Jamaica, Austria, Denmark, Antigua and Barbuda, New Zealand, Germany, The Bahamas, Grenada, Canada
Q40 Q781 Q183 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
OR((Q408,P530,c(Q1048835)), (Q16188390,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q408
relation P530
action find
entity Q16188390
relation P27
type Q1048835
[ANSWERS] have diplomatic relations with Australia or are Noah Andersen David a civilian of
{'OR': [['Q408', 'P530', {'concept': 'Q1048835'}], ['Q16188390', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q408 property:P530 ?p } UNION { resource:Q16188390 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Austria Antigua and Barbuda Germany The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Papua New Guinea, Jamaica, Austria, Denmark, Antigua and Barbuda, New Zealand, Germany, The Bahamas, Grenada and Canada have diplomatic relations with Australia or are Noah Andersen David a civilian of
Papua New Guinea Jamaica Austria Denmark Antigua and Barbuda New Zealand Germany The Bahamas Grenada Canada
action filter_type
action union
action find
entity Australia
relation diplomatic relation
action find
entity Noah Andersen David
relation country of citizenship
type political territorial entity
{'OR': [['Australia', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Noah Andersen David', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Australia property:diplomatic_relation ?p } UNION { resource:Noah_Andersen_David property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have ambassadorial relations with those ones ?
(Q408,P530,Q691) (Q408,P530,Q766) (Q408,P530,Q40) (Q408,P530,Q35) (Q408,P530,Q781) (Q408,P530,Q664) (Q408,P530,Q183) (Q408,P530,Q778) (Q408,P530,Q769) (Q408,P530,Q16)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q691'] ['Q408', 'P530', 'Q766'] ['Q408', 'P530', 'Q40'] ['Q408', 'P530', 'Q35'] ['Q408', 'P530', 'Q781'] ['Q408', 'P530', 'Q664'] ['Q408', 'P530', 'Q183'] ['Q408', 'P530', 'Q778'] ['Q408', 'P530', 'Q769'] ['Q408', 'P530', 'Q16']
ASK WHERE { resource:Q408 property:P530 ?t . VALUES ( ?t ) { ( resource:Q40 ) ( resource:Q781 ) ( resource:Q183 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Papua New Guinea'] ['Australia', 'diplomatic relation', 'Jamaica'] ['Australia', 'diplomatic relation', 'Austria'] ['Australia', 'diplomatic relation', 'Denmark'] ['Australia', 'diplomatic relation', 'Antigua and Barbuda'] ['Australia', 'diplomatic relation', 'New Zealand'] ['Australia', 'diplomatic relation', 'Germany'] ['Australia', 'diplomatic relation', 'The Bahamas'] ['Australia', 'diplomatic relation', 'Grenada'] ['Australia', 'diplomatic relation', 'Canada']
ASK WHERE { resource:Australia property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Austria ) ( resource:Antigua_and_Barbuda ) ( resource:Germany ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q691) (Q408,P530,Q766) (Q408,P530,Q40) (Q408,P530,Q35) (Q408,P530,Q781) (Q408,P530,Q664) (Q408,P530,Q183) (Q408,P530,Q778) (Q408,P530,Q769) (Q408,P530,Q16)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q691'] ['Q408', 'P530', 'Q766'] ['Q408', 'P530', 'Q40'] ['Q408', 'P530', 'Q35'] ['Q408', 'P530', 'Q781'] ['Q408', 'P530', 'Q664'] ['Q408', 'P530', 'Q183'] ['Q408', 'P530', 'Q778'] ['Q408', 'P530', 'Q769'] ['Q408', 'P530', 'Q16']
ASK WHERE { resource:Q408 property:P530 ?t . VALUES ( ?t ) { ( resource:Q40 ) ( resource:Q781 ) ( resource:Q183 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Papua New Guinea'] ['Australia', 'diplomatic relation', 'Jamaica'] ['Australia', 'diplomatic relation', 'Austria'] ['Australia', 'diplomatic relation', 'Denmark'] ['Australia', 'diplomatic relation', 'Antigua and Barbuda'] ['Australia', 'diplomatic relation', 'New Zealand'] ['Australia', 'diplomatic relation', 'Germany'] ['Australia', 'diplomatic relation', 'The Bahamas'] ['Australia', 'diplomatic relation', 'Grenada'] ['Australia', 'diplomatic relation', 'Canada']
ASK WHERE { resource:Australia property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Austria ) ( resource:Antigua_and_Barbuda ) ( resource:Germany ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q408
P530
Q1048835
USER
Does Australia hold diplomatic relationship with Canada ?
(Q16,P530,Q408)
action is_in
entity Q408
action find
entity Q16
relation P530
['Q16', 'P530', 'Q408']
ASK WHERE { resource:Q16 property:P530 resource:Q408 }
Canada Australia
action is_in
entity Australia
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q16,P530,Q408)
action is_in
entity Q408
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q408']
ASK WHERE { resource:Q16 property:P530 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Australia }
[]