Simple Question (Direct)
Simple Question
Q4119945
P641
Q349
USER
Which sport was Walid Mhadeb El Khatroushi a part of ?
(Q4119945,P641,c(Q349))
action filter_type
action find
entity Q4119945
relation P641
type Q349
['Q4119945', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q4119945 property:P641 ?p . ?p rdf:type ontology:Q349 }
Walid Mhadeb El Khatroushi
action filter_type
action find
entity Walid Mhadeb El Khatroushi
relation sport
type sport
['Walid Mhadeb El Khatroushi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Walid_Mhadeb_El_Khatroushi property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4119945,P641,c(Q349))
action filter_type
action find
entity Q4119945
relation P641
type Q349
Walid Mhadeb El Khatroushi was of the [ANSWER]
['Q4119945', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q4119945 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
Walid Mhadeb El Khatroushi was of the association football
association football
action filter_type
action find
entity Walid Mhadeb El Khatroushi
relation sport
type sport
['Walid Mhadeb El Khatroushi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Walid_Mhadeb_El_Khatroushi property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4119945
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4119945
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4119945 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Walid Mhadeb El Khatroushi
action filter_type
action find
entity Walid Mhadeb El Khatroushi
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Walid_Mhadeb_El_Khatroushi property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1016
SYSTEM
Libya
Q1016
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4119945
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4119945 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Libya
Libya is the country of citizenship of that person
Libya
action filter_type
action find
entity Walid Mhadeb El Khatroushi
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Walid_Mhadeb_El_Khatroushi property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4119945
P54
Q1194951
USER
Which national sports team is Walid Mhadeb El Khatroushi a member of ?
(Q4119945,P54,c(Q1194951))
action filter_type
action find
entity Q4119945
relation P54
type Q1194951
['Q4119945', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q4119945 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Walid Mhadeb El Khatroushi
action filter_type
action find
entity Walid Mhadeb El Khatroushi
relation member of sports team
type national sports team
['Walid Mhadeb El Khatroushi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:Walid_Mhadeb_El_Khatroushi property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
national sports team
Q276089
SYSTEM
Libya national football team
Q276089
(Q4119945,P54,c(Q1194951))
action filter_type
action find
entity Q4119945
relation P54
type Q1194951
[ANSWER] is Walid Mhadeb El Khatroushi a member of
['Q4119945', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q4119945 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Libya national football team
Libya national football team is Walid Mhadeb El Khatroushi a member of
Libya national football team
action filter_type
action find
entity Walid Mhadeb El Khatroushi
relation member of sports team
type national sports team
['Walid Mhadeb El Khatroushi', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:Walid_Mhadeb_El_Khatroushi property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q276089
P466
Q483110
USER
Which stadium is inhabited by that national sports team ?
(c(Q483110),P466,Q276089)
action filter_type
action find_reverse
entity Q276089
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q276089']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q276089 . ?v rdf:type ontology:Q483110 }
Libya national football team
action filter_type
action find_reverse
entity Libya national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Libya national football team']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Libya_national_football_team . ?v rdf:type ontology:stadium }
[]
stadium
Q1511121
SYSTEM
June 11 Stadium
Q1511121
(c(Q483110),P466,Q276089)
action filter_type
action find_reverse
entity Q276089
relation P466
type Q483110
[ANSWER] is inhabited by that national sports team
[{'concept': 'Q483110'}, 'P466', 'Q276089']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q276089 . ?v rdf:type ontology:Q483110 }
June 11 Stadium
June 11 Stadium is inhabited by that national sports team
June 11 Stadium
action filter_type
action find_reverse
entity Libya national football team
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Libya national football team']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:Libya_national_football_team . ?v rdf:type ontology:stadium }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P127
Q56061 Q483110
USER
How many administrative territories are the owners of atmost 1 stadium ?
(c(Q483110),P127,c(Q56061))
action count
action atmost
action find_reverse_tuple_counts
relation P127
type Q56061
type Q483110
value 1
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { FILTER ( ?j <= 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?j ) WHERE { ?g rdf:type ontology:Q56061 . ?t rdf:type ontology:Q483110 . ?t property:P127 ?g } GROUP BY ?g } }
action count
action atmost
action find_reverse_tuple_counts
relation owned by
type administrative territorial entity
type stadium
value 1
[{'concept': 'stadium'}, 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { FILTER ( ?j <= 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?j ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:stadium . ?t property:owned_by ?g } GROUP BY ?g } }
[]
administrative territorial entity stadium
SYSTEM
674
Q26525 Q49162 Q171882 Q186702 Q319787 Q491102 Q147607 Q190583 Q639408 Q34804 Q3871 Q672458 Q16064 Q258481 Q864106 Q891 Q38733 Q12273 Q1183 Q3711 Q6580 Q208893 Q33486 Q185289 Q506775 Q773432 Q2272 Q393 Q1022488 Q201613 Q243863 Q170903 Q3376 Q134494 Q79393 Q49233 Q3150 Q181966 Q181962 Q211059 Q484678 Q42157 Q216990 Q6509 Q4656 Q13377 Q6506 Q13375 Q36378 Q506451 Q1308 Q201051 Q4093 Q16568 Q170313 Q589279 Q10305 Q16563 Q16562 Q8692 Q188179 Q9300267 Q590205 Q2656 Q1289 Q1190698 Q7275 Q162548 Q428459 Q1650462 Q322126 Q9920 Q19313 Q12155 Q383434 Q15682 Q496567 Q79875 Q500481 Q128334 Q985264 Q219656 Q68136 Q43453 Q466190 Q36989 Q11935 Q1022 Q913153 Q15865 Q1761996 Q973974 Q59101 Q182049 Q9365 Q156752 Q478207 Q993149 Q490643 Q182299 Q41843 Q101625 Q545707 Q48329 Q48320 Q990621 Q8378 Q31805 Q15916 Q1021 Q525588 Q39709 Q2132 Q7880 Q1930 Q3840 Q491239 Q991464 Q81046 Q983859 Q121157 Q956690 Q3437 Q626247 Q49273 Q12892 Q365 Q42056 Q6157 Q79728 Q2444921 Q885991 Q16559 Q12411 Q271730 Q192235 Q34404 Q912253 Q33935 Q5408 Q211867 Q201442 Q180131 Q597 Q1999172 Q11125 Q8810 Q172438 Q191805 Q484706 Q12443 Q932981 Q15092 Q327413 Q1336 Q1897 Q1891 Q2683 Q103717 Q317865 Q48274 Q28260 Q28911 Q226 Q283064 Q129259 Q28206 Q52471 Q42308 Q1191401 Q40236 Q210296 Q864024 Q186237 Q477232 Q5083 Q326312 Q1524 Q79902 Q1520 Q1489 Q47716 Q983604 Q178405 Q133073 Q3561 Q29364 Q28218 Q51690 Q51691 Q8356 Q51694 Q212991 Q193802 Q2868 Q730430 Q8678 Q15468 Q5468 Q6346 Q169134 Q2044 Q48370 Q2082 Q5465 Q36036 Q2155798 Q694545 Q12246 Q1017735 Q2141 Q34106 Q34109 Q1842 Q776965 Q54212 Q199797 Q9908 Q43301 Q1297 Q1679567 Q3818 Q2280 Q4115712 Q20714 Q395863 Q3630 Q538210 Q770571 Q8851 Q13464 Q6285 Q79941 Q2462661 Q6221 Q486282 Q720087 Q190774 Q6046 Q474651 Q239 Q673089 Q16558 Q12995 Q486472 Q462161 Q994280 Q171639 Q115788 Q16553 Q16554 Q16555 Q16556 Q16557 Q622 Q8686 Q628 Q837097 Q844908 Q3138 Q162279 Q488379 Q985351 Q185134 Q181314 Q42108 Q6761 Q128321 Q191652 Q23197 Q6869 Q45412 Q26887 Q13678 Q187346 Q190828 Q173277 Q844008 Q34739 Q79860 Q207321 Q13127 Q525618 Q42148 Q49184 Q472675 Q49188 Q728965 Q35493 Q47034 Q7024 Q64044 Q37320 Q25395 Q679169 Q11592 Q2423 Q78 Q178385 Q780944 Q34863 Q72 Q71 Q470273 Q212773 Q200036 Q178168 Q16868 Q220121 Q216820 Q38022 Q1136771 Q988136 Q279 Q174 Q172 Q25263 Q60 Q486439 Q25409 Q23564 Q79724 Q991400 Q47048 Q84 Q8802 Q486877 Q189650 Q209801 Q184587 Q582121 Q6526 Q6640 Q45779 Q984863 Q495365 Q49247 Q49240 Q49241 Q49242 Q683512 Q844033 Q135744 Q14910 Q139179 Q207748 Q715 Q985409 Q167659 Q134712 Q42136 Q180233 Q3001 Q41819 Q486913 Q173699 Q1861 Q6737 Q14318 Q2538717 Q14314 Q5092 Q159457 Q171357 Q15090 Q134620 Q956 Q1555 Q15095 Q1490 Q47430 Q1492 Q23337 Q2028 Q2971 Q210885 Q496442 Q34183 Q3551 Q2415 Q8745 Q577802 Q45347 Q204382 Q983790 Q913915 Q51682 Q51685 Q405120 Q2559651 Q13629 Q17943 Q18793 Q488125 Q1780 Q41211 Q15890 Q319740 Q739664 Q816137 Q12258 Q13386 Q743218 Q59473 Q160884 Q2090 Q461773 Q12910 Q83285 Q2807 Q3828 Q280557 Q3415 Q1023393 Q49218 Q170244 Q101254 Q852598 Q13498 Q320792 Q13496 Q42074 Q737660 Q42071 Q486545 Q1650620 Q494721 Q340 Q3266850 Q165972 Q181557 Q8471 Q786770 Q208262 Q167839 Q244025 Q310350 Q580182 Q1019496 Q6880 Q328846 Q24639 Q79950 Q491540 Q14323 Q3992 Q334577 Q652551 Q609871 Q1218 Q578137 Q524233 Q755566 Q193241 Q864688 Q339527 Q8621 Q126805 Q40706 Q761 Q44989 Q9580 Q18459 Q199609 Q1568232 Q44016 Q79457 Q7550 Q6252 Q2634 Q863058 Q202907 Q1265347 Q128269 Q331141 Q948102 Q546 Q735583 Q2610570 Q2290 Q49172 Q152462 Q184116 Q44840 Q184345 Q131335 Q1023359 Q3869 Q7038 Q220843 Q214164 Q8717 Q198989 Q65 Q207891 Q925598 Q61 Q62 Q1757 Q180103 Q994452 Q3764 Q201125 Q18125 Q42137 Q9125 Q42135 Q5818 Q79743 Q1867 Q384 Q385 Q12439 Q25270 Q12191 Q26268 Q44564 Q406 Q200733 Q200731 Q126148 Q42140 Q392599 Q221921 Q23556 Q49227 Q49550 Q49229 Q15867 Q33405 Q79990 Q42147 Q852313 Q493794 Q13360 Q13362 Q13364 Q6537 Q13369 Q244146 Q231765 Q6106 Q495373 Q10313 Q45114 Q49256 Q194338 Q10566 Q494711 Q486459 Q1155 Q647 Q641 Q80053 Q25804 Q727 Q648 Q212289 Q43668 Q185632 Q599694 Q10704 Q12164 Q15699 Q3646 Q485329 Q15696 Q28848 Q15088 Q42810 Q1988986 Q3519142 Q643215 Q20927 Q134762 Q200166 Q580 Q3640 Q586 Q585 Q959304 Q639452 Q205526 Q755559 Q8757 Q1449 Q213242 Q1764 Q28237 Q784496 Q485496 Q941870 Q2704 Q384544 Q1040 Q616562 Q6441 Q125080 Q968392 Q12303 Q152491 Q90 Q1903 Q8826 Q354110 Q122563 Q515 Q597842 Q458 Q459 Q37013 Q26793 Q3543 Q36307 Q133116 Q49268 Q126084 Q181854 Q47837 Q49261 Q1583523 Q847538 Q984834 Q39450 Q487786 Q115998 Q13486 Q42061 Q13329 Q12233 Q425057 Q4100 Q274584 Q50816 Q168162 Q189502 Q486306 Q33147 Q168330 Q80985 Q975 Q36600 Q204561 Q47887 Q80517 Q808535 Q2002161 Q657126 Q2003303 Q851838 Q1030568 Q206933 Q193250 Q41621 Q26175 Q1015 Q1010 Q2751 Q192155 Q189602 Q833016 Q1642364 Q223422 Q2802947 Q83813 Q128849 Q163852 Q52465 Q34647 Q548790 Q1083 Q192225 Q845866 Q1085
(c(Q483110),P127,c(Q56061))
action count
action atmost
action find_reverse_tuple_counts
relation P127
type Q56061
type Q483110
value 1
[ANSWER]
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { FILTER ( ?j <= 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?j ) WHERE { ?g rdf:type ontology:Q56061 . ?t rdf:type ontology:Q483110 . ?t property:P127 ?g } GROUP BY ?g } }
Drammen Lowell Larnaca Chattanooga Považská Bystrica Taldykorgan Jablonec nad Nisou Mikkeli Waterloo Albuquerque Coquimbo San Miguel Fürstenwalde Púchov Lake Charles Nizhny Novgorod Helena Gijón Puerto Rico Belgrade Rome Bourgoin-Jallieu Hartford Pernik Rožaje St. Charles Skien Szczecin Brighton and Hove Maebashi Higashiōsaka Guimarães Trento Győr Soldotna Orlando Jena Naha Augusta Jõhvi Berkeley Pohang Blida Burgas Pula Prato Varna Pisa Fribourg Fort Myers Como Rishon LeZion Glasgow Jacksonville Nelspruit Auburndale Zaragoza Memphis El Paso Bilbao Kuressaare Aspropyrgos Municipality Prince George Palermo Grenoble Golubovci state Oskemen Figueira da Foz Municipality Brookings Valkeakoski Haarlem Barysaw Soria Greater Sudbury Cádiz Eibar Mobile Overland Park Round Rock Sebastopol Macon Sion Plzeň Great Falls Pardubice Locarno Stuttgart Houlton Domžale Frederiksværk Prague 1 Narvik Rustenburg Dushanbe Sumy Kenitra Otjiwarongo Kokshetau Chania Beersheba Marrakesh Mascara Mariehamn Kōbe Hoquiam Palencia Invercargill Sežana Kranj Eastlake Des Moines Victoria Toulouse Ottawa Velbert Canton Kenner Charleroi El Segundo Mashhad Cornwall Perugia Araraquara Lubbock Antwerp Cologne Gangneung Seinäjoki Auburn Prague 10 Bluefield Austin Pontevedra Abbotsford Ciudad del Este New Orleans North Bay Tel Aviv Zaprešić Oshawa Kruševac Gabrovo Lisbon Williston Lugo Granada Peterborough Mladá Boleslav Karaganda Marquette Muncie Castelló de la Plana Kiryat Shmona Rimouski Cagliari Bologna Parma Rovaniemi Joplin Nashua Lincoln Lahti Nuuk Truro Niš Augusta Ogden Kharkiv Rosemont Manaus Xanthi Ponce Joensuu Aktobe Seattle Sevlievo Athens North Little Rock Astana Mexico City Charleston Mammoth Lakes Larissa Dunedin Algiers Montgomery Baton Rouge Irving Amarillo Valladolid Grand Prairie Santa Rosa Oujda Lima Bemidji Rio de Janeiro Badalona Durban Indianapolis Nara Florence Manchester St. John's Cape Town Lviv Palmetto Bowling Green Huelva Owen Sound Halifax Sarnia Fargo Luxembourg Klaipėda Barnsley Tacoma Bloemendaal Fresno Chicago Jakobstad Malabo Minsk Kaunas Suwon Desouk Jakarta Alexandria Johnson City Málaga Foggia Varese Selma Alfreton Brescia Pavlodar Petaluma Smederevo Novara Gjakova Brussels Puerto Cortés Fort Worth Kortrijk Kansas City Kenosha Bruntál Ashdod Langford San Jose Denver Houston Phoenix Dallas Ludwigsburg Shanghai Bergamo Gilroy Crawley Trier Kuopio Petropavl Alexandria Tlemcen Wavre Seongnam Livorno Midland Santo André Nashville Heidenheim an der Brenz Coimbra Davenport Agrigento Constantine Petah Tikva Blagoevgrad Kent Dayton Huntsville Matsue Sint-Niklaas Presidente Prudente Chuncheon Pittsfield Frederick Lynn Lučenec Almaty Espoo Lugano Bellinzona Cleveland Newark Comayagua Sonoma Yaroslavl Basel Sliven Austin Oklahoma City Zürich Geneva Ames Antigua Guatemala Volos Mitrovica Laredo Montana Youngstown St. Louis Frankston Taylor Modena São Paulo Toronto Azores New York City Cedar Rapids Košice Podgorica Springdale Puerto Barrios Oulu London Getafe South Bend Razgrad Himeji Grand Rapids Bradenton Bolzano Pokhara Pécs Huehuetenango Rancho Cucamonga Anaheim Stockton Lexington Corpus Christi Savonlinna Kennewick Galveston Schwäbisch Hall Zacapa Sillamäe Heilbronn Jackson Nazareth Illit Šiauliai Icheon Pori Paramaribo Kansas City Atyrau Setúbal Bangkok Castellammare di Stabia Vitoria-Gasteiz Peyia Santiago de Compostela Baltimore Faro Kecskemét Lleida Jyväskylä Beijing Guatemala City Albacete Tokyo Green Bay Barcelona Salt Lake City Verona Paderborn Bandar-e Anzali Ekibastuz Barrie Rabat Kristiansand Vigo Bloomington Eppstein Kouvola West Wendover Bridgeview Glendale Tempe Kavarna Woodstock Sassari Arlington Ersekë Salinas Bratislava San Juan Lendava Kawagoe Santa Ana Beloit Sabadell Lecce Jonava Užice Keetmanshoop Nuremberg Barueri Lokeren Durrës Madrid Dessau-Roßlau Homestead Ancona Retalhuleu Rochester Berat Newport Healdsburg Taranto Bata Brindisi Gunsan Marília Guri Taraz Salina city of Japan Montreal comune Fort Lauderdale Kaohsiung City Reggio Calabria Sanford Eastbourne Čakovec Burnaby Al Hoceima Burlington Moose Jaw Neunkirchen Nuevo Laredo Vancouver Hoover Sarasota Mérida Liège Quetzaltenango Fyli Guelma Jerusalem Loves Park Muskogee Salisbury Nesebar Yarmouth Launceston Terni St. Catharines Paulínia Białystok Tulsa Burgos Yongin Ōita Tavros Markham Goodyear Lutsk Monza Naples Summerside Ōtsu Duncan Frisco Velika Gorica Lake Elsinore Trieste Ylivieska Montpelier Porsgrunn New Britain Afula Gary Viljandi Viña del Mar Sioux Falls Jalapa Marburg Girona Walvis Bay Bellevue Seville Aktau Los Angeles Kokkola San Angelo Washington, D.C. San Francisco Helsinki Ardabil Commerce City Witten Zrenjanin Manchester Iksan Winterthur Uijeongbu Córdoba Florence Taipei Skopje Gdynia Detroit Prishtina Nantes Luleå Charleston Istanbul Nikšić Tottori Tangier Jeonju Everett Comodoro Rivadavia Atlanta Winston-Salem Maó-Mahón Durham Dravograd Little Rock Christchurch Cheongju Veľký Šariš Dubuque Reggio Emilia Ferrara Ravenna Vicenza Rimini Clearwater Geelong Portland Visalia Donostia/San Sebastián Paide Bakersfield São Carlos Saskatoon Lancaster Evansville Busto Arsizio Rennes Venice Tabriz Trondheim Amsterdam Lille Palmerston North Louisville Limassol East Chicago Tórshavn Ponferrada León Krasnodar Ferrol Zamora Saint Paul Tarragona Le Havre Mitchell Teteringen Coquitlam Daegu Eilat Kitchener Łódź Ankara Bonn Oslo Ralston Lakeland Yamagata Hagerstown A Coruña Genoa Barcelos Municipality Reykjavík Lansing Victoria Shymkent Columbus Pescara Karlovy Vary Karlsruhe Tulare Montpellier Vaasa Milwaukie Jerez de la Frontera Herzliya Paris Catania Palma Adelanto Eau Claire city Florence European Union Plovdiv Rauma Bergen Potenza Salta Hamilton Fort Wayne Acre Lappeenranta El Aaiún Mesa Emporia North Charleston Sheboygan Anchorage Orihuela Gorna Oryahovitsa Andria Goyang Piacenza Santander Milton Baden-Baden San Pedro Sula Mississauga Ness Ziona Vratsa Pensacola Allen Sakhnin Fes San Antonio The Hague Modesto Nijmegen Shreveport Barnstable Huntingburg Kogarah West Springfield Delta, British Columbia Campbellton Leiria Bulawayo Haifa Trnava Koper Maribor Siena Kotka Missoula Tacuarembó Woodstock Anápolis Dawson Springs Savannah Nagano Kópavogur West Valley City Johannesburg Niles Salerno Netanya Ramat HaSharon Prague
674
action count
action atmost
action find_reverse_tuple_counts
relation owned by
type administrative territorial entity
type stadium
value 1
[{'concept': 'stadium'}, 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { FILTER ( ?j <= 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?j ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:stadium . ?t property:owned_by ?g } GROUP BY ?g } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7571407
P127
Q163740 Q483110
USER
Which nonprofit organizations are the owners of more number of stadia than Southwestern College ?
(c(Q483110),P127,c(Q163740))
action greater
action find_reverse_tuple_counts
relation P127
type Q163740
type Q483110
action count
action filter_type
action find
entity Q7571407
relation P127
type Q163740
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Q7571407 property:P127 ?y . ?y rdf:type ontology:Q163740 } } . FILTER ( ?o > ?j ) . { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P127 ?x . ?x rdf:type ontology:Q163740 . ?e rdf:type ontology:Q483110 } GROUP BY ?x } }
Southwestern College
action greater
action find_reverse_tuple_counts
relation owned by
type nonprofit organization
type stadium
action count
action filter_type
action find
entity Southwestern College
relation owned by
type nonprofit organization
[{'concept': 'stadium'}, 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Southwestern_College property:owned_by ?y . ?y rdf:type ontology:nonprofit_organization } } . FILTER ( ?o > ?j ) . { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:owned_by ?x . ?x rdf:type ontology:nonprofit_organization . ?e rdf:type ontology:stadium } GROUP BY ?x } }
[]
nonprofit organization stadium
Q1191335 Q2164222
SYSTEM
Colgate University, Rollins College
Q1191335 Q2164222
(c(Q483110),P127,c(Q163740))
action greater
action find_reverse_tuple_counts
relation P127
type Q163740
type Q483110
action count
action filter_type
action find
entity Q7571407
relation P127
type Q163740
[ANSWERS] are the owners of more number of stadia than Southwestern College
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Q7571407 property:P127 ?y . ?y rdf:type ontology:Q163740 } } . FILTER ( ?o > ?j ) . { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P127 ?x . ?x rdf:type ontology:Q163740 . ?e rdf:type ontology:Q483110 } GROUP BY ?x } }
Colgate University Rollins College
Colgate University and Rollins College are the owners of more number of stadia than Southwestern College
Colgate University Rollins College
action greater
action find_reverse_tuple_counts
relation owned by
type nonprofit organization
type stadium
action count
action filter_type
action find
entity Southwestern College
relation owned by
type nonprofit organization
[{'concept': 'stadium'}, 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Southwestern_College property:owned_by ?y . ?y rdf:type ontology:nonprofit_organization } } . FILTER ( ?o > ?j ) . { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:owned_by ?x . ?x rdf:type ontology:nonprofit_organization . ?e rdf:type ontology:stadium } GROUP BY ?x } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1016
P276
Q198 Q350604
USER
How many wars and armed conflicts have their location as Libya ?
(c(Q198),P276,Q1016) (c(Q350604),P276,Q1016)
action count
action union
action filter_type
action find_reverse
entity Q1016
relation P276
type Q198
action filter_type
action find_reverse
entity Q1016
relation P276
type Q350604
[{'concept': 'Q198'}, 'P276', 'Q1016'] [{'concept': 'Q350604'}, 'P276', 'Q1016']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:Q198 ) ( ontology:Q350604 ) } }
Libya
action count
action union
action filter_type
action find_reverse
entity Libya
relation location
type war
action filter_type
action find_reverse
entity Libya
relation location
type armed conflict
[{'concept': 'war'}, 'location', 'Libya'] [{'concept': 'armed conflict'}, 'location', 'Libya']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:war ) ( ontology:armed_conflict ) } }
[]
war armed conflict
SYSTEM
2 wars and 1 armed conflicts
Q17507684 Q81545 Q16911838
(c(Q198),P276,Q1016) (c(Q350604),P276,Q1016)
action count
action union
action filter_type
action find_reverse
entity Q1016
relation P276
type Q198
action filter_type
action find_reverse
entity Q1016
relation P276
type Q350604
[ANSWER]
[{'concept': 'Q198'}, 'P276', 'Q1016'] [{'concept': 'Q350604'}, 'P276', 'Q1016']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:Q198 ) ( ontology:Q350604 ) } }
military intervention against ISIL 2011 Libyan Civil War Libyan civil war
2 wars and 1 armed conflicts
action count
action union
action filter_type
action find_reverse
entity Libya
relation location
type war
action filter_type
action find_reverse
entity Libya
relation location
type armed conflict
[{'concept': 'war'}, 'location', 'Libya'] [{'concept': 'armed conflict'}, 'location', 'Libya']
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ?u . VALUES ( ?u ) { ( ontology:war ) ( ontology:armed_conflict ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1899910 Q276089
P17
Q15617994
USER
Which administrative territories are Libya national football team or São Francisco do Piauí located in ?
OR((Q276089,P17,c(Q15617994)), (Q1899910,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q276089
relation P17
action find
entity Q1899910
relation P17
type Q15617994
{'OR': [['Q276089', 'P17', {'concept': 'Q15617994'}], ['Q1899910', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?a property:P17 ?i . VALUES ( ?a ) { ( resource:Q276089 ) ( resource:Q1899910 ) } } . ?i rdf:type ontology:Q15617994 }
São Francisco do Piauí Libya national football team
action filter_type
action union
action find
entity Libya national football team
relation country
action find
entity São Francisco do Piauí
relation country
type designation for an administrative territorial entity
{'OR': [['Libya national football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['São Francisco do Piauí', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?a property:country ?i . VALUES ( ?a ) { ( resource:Libya_national_football_team ) ( resource:São_Francisco_do_Piauí ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q1016
SYSTEM
Brazil, Libya
Q155 Q1016
OR((Q276089,P17,c(Q15617994)), (Q1899910,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q276089
relation P17
action find
entity Q1899910
relation P17
type Q15617994
Libya national football team or São Francisco do Piauí are located in [ANSWERS]
{'OR': [['Q276089', 'P17', {'concept': 'Q15617994'}], ['Q1899910', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?a property:P17 ?i . VALUES ( ?a ) { ( resource:Q276089 ) ( resource:Q1899910 ) } } . ?i rdf:type ontology:Q15617994 }
Brazil Libya
Libya national football team or São Francisco do Piauí are located in Brazil and Libya
Brazil Libya
action filter_type
action union
action find
entity Libya national football team
relation country
action find
entity São Francisco do Piauí
relation country
type designation for an administrative territorial entity
{'OR': [['Libya national football team', 'country', {'concept': 'designation for an administrative territorial entity'}], ['São Francisco do Piauí', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?a property:country ?i . VALUES ( ?a ) { ( resource:Libya_national_football_team ) ( resource:São_Francisco_do_Piauí ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic relations with those administrative territories ?
(Q183,P530,Q155) (Q183,P530,Q1016)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q155'] ['Q183', 'P530', 'Q1016']
ASK WHERE { resource:Q183 property:P530 ?e . VALUES ( ?e ) { ( resource:Q155 ) ( resource:Q1016 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Brazil'] ['Germany', 'diplomatic relation', 'Libya']
ASK WHERE { resource:Germany property:diplomatic_relation ?e . VALUES ( ?e ) { ( resource:Brazil ) ( resource:Libya ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q155) (Q183,P530,Q1016)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q155'] ['Q183', 'P530', 'Q1016']
ASK WHERE { resource:Q183 property:P530 ?e . VALUES ( ?e ) { ( resource:Q155 ) ( resource:Q1016 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Brazil'] ['Germany', 'diplomatic relation', 'Libya']
ASK WHERE { resource:Germany property:diplomatic_relation ?e . VALUES ( ?e ) { ( resource:Brazil ) ( resource:Libya ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2164222 Q7161911
P17
Q15617994
USER
Is Rollins College present in Pembina Hills Regional Division No. 7 ?
(Q2164222,P17,Q7161911)
action is_in
entity Q7161911
action find
entity Q2164222
relation P17
['Q2164222', 'P17', 'Q7161911']
ASK WHERE { resource:Q2164222 property:P17 resource:Q7161911 }
Rollins College Pembina Hills Regional Division No. 7
action is_in
entity Pembina Hills Regional Division No. 7
action find
entity Rollins College
relation country
['Rollins College', 'country', 'Pembina Hills Regional Division No. 7']
ASK WHERE { resource:Rollins_College property:country resource:Pembina_Hills_Regional_Division_No._7 }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2164222,P17,Q7161911)
action is_in
entity Q7161911
action find
entity Q2164222
relation P17
[ANSWER]
['Q2164222', 'P17', 'Q7161911']
ASK WHERE { resource:Q2164222 property:P17 resource:Q7161911 }
No
action is_in
entity Pembina Hills Regional Division No. 7
action find
entity Rollins College
relation country
['Rollins College', 'country', 'Pembina Hills Regional Division No. 7']
ASK WHERE { resource:Rollins_College property:country resource:Pembina_Hills_Regional_Division_No._7 }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q276089 Q1016
P17
Q15617994
USER
Is that national sports team located in Libya ?
(Q276089,P17,Q1016)
action is_in
entity Q1016
action find
entity Q276089
relation P17
['Q276089', 'P17', 'Q1016']
ASK WHERE { resource:Q276089 property:P17 resource:Q1016 }
Libya national football team Libya
action is_in
entity Libya
action find
entity Libya national football team
relation country
['Libya national football team', 'country', 'Libya']
ASK WHERE { resource:Libya_national_football_team property:country resource:Libya }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q276089,P17,Q1016)
action is_in
entity Q1016
action find
entity Q276089
relation P17
[ANSWER]
['Q276089', 'P17', 'Q1016']
ASK WHERE { resource:Q276089 property:P17 resource:Q1016 }
Yes
action is_in
entity Libya
action find
entity Libya national football team
relation country
['Libya national football team', 'country', 'Libya']
ASK WHERE { resource:Libya_national_football_team property:country resource:Libya }
[]