Simple Question (Direct)
Simple Question
Q4965021
P106
Q12737077
USER
What is the profession of Brian Pederson ?
(Q4965021,P106,c(Q12737077))
action filter_type
action find
entity Q4965021
relation P106
type Q12737077
['Q4965021', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4965021 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Brian Pederson
action filter_type
action find
entity Brian Pederson
relation occupation
type occupation
['Brian Pederson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Brian_Pederson property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4965021,P106,c(Q12737077))
action filter_type
action find
entity Q4965021
relation P106
type Q12737077
The profession of Brian Pederson is an [ANSWER]
['Q4965021', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4965021 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
The profession of Brian Pederson is an association football player
association football player
action filter_type
action find
entity Brian Pederson
relation occupation
type occupation
['Brian Pederson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Brian_Pederson property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Which sport has that one as thier associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q937857 property:P425 ?r . ?r rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:association_football_player property:field_of_this_occupation ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
Football [ANSWER] has that one as thier associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q937857 property:P425 ?r . ?r rdf:type ontology:Q349 }
association football
Football association football has that one as thier associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:association_football_player property:field_of_this_occupation ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P361
Q847017
USER
Which sports club is association football player a part of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q847017 . resource:Q937857 property:P361 ?p }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_club . resource:association_football_player property:part_of ?p }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
Club [ANSWER] is association football player a part of
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q847017 . resource:Q937857 property:P361 ?p }
association football club
Club association football club is association football player a part of
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_club . resource:association_football_player property:part_of ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4965021
P19
Q56061
USER
Which administrative territory is the place of birth of Brian Pederson ?
(Q4965021,P19,c(Q56061))
action filter_type
action find
entity Q4965021
relation P19
type Q56061
['Q4965021', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4965021 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Brian Pederson
action filter_type
action find
entity Brian Pederson
relation place of birth
type administrative territorial entity
['Brian Pederson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Brian_Pederson property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q131335
SYSTEM
Sioux Falls
Q131335
(Q4965021,P19,c(Q56061))
action filter_type
action find
entity Q4965021
relation P19
type Q56061
[ANSWER] is the place of birth of Brian Pederson
['Q4965021', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4965021 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Sioux Falls
Sioux Falls is the place of birth of Brian Pederson
Sioux Falls
action filter_type
action find
entity Brian Pederson
relation place of birth
type administrative territorial entity
['Brian Pederson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Brian_Pederson property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1585515
Q56061
USER
And what about Harley Orrin Staggers?
(Q1585515,P19,c(Q56061))
action filter_type
action find
entity Q1585515
relation P19
type Q56061
['Q1585515', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1585515 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Harley Orrin Staggers
action filter_type
action find
entity Harley Orrin Staggers
relation place of birth
type administrative territorial entity
['Harley Orrin Staggers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Harley_Orrin_Staggers property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2348931
SYSTEM
Keyser
Q2348931
(Q1585515,P19,c(Q56061))
action filter_type
action find
entity Q1585515
relation P19
type Q56061
[ANSWER]
['Q1585515', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1585515 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Keyser
Keyser
action filter_type
action find
entity Harley Orrin Staggers
relation place of birth
type administrative territorial entity
['Harley Orrin Staggers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Harley_Orrin_Staggers property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have exactly 1 holidays and people as their patron saint ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?t ) WHERE { { ?u property:P417 ?v . ?u rdf:type ontology:Q56061 . ?v rdf:type ontology:Q502895 } UNION { ?u property:P417 ?v . ?u rdf:type ontology:Q56061 . ?v rdf:type ontology:Q1445650 } } GROUP BY ?u } . FILTER ( ?t = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?t ) WHERE { { ?u property:patron_saint ?v . ?u rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:common_name } UNION { ?u property:patron_saint ?v . ?u rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:holiday } } GROUP BY ?u } . FILTER ( ?t = 1 ) }
[]
holiday common name administrative territorial entity
SYSTEM
95
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?t ) WHERE { { ?u property:P417 ?v . ?u rdf:type ontology:Q56061 . ?v rdf:type ontology:Q502895 } UNION { ?u property:P417 ?v . ?u rdf:type ontology:Q56061 . ?v rdf:type ontology:Q1445650 } } GROUP BY ?u } . FILTER ( ?t = 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
95
action count
action equal
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?t ) WHERE { { ?u property:patron_saint ?v . ?u rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:common_name } UNION { ?u property:patron_saint ?v . ?u rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:holiday } } GROUP BY ?u } . FILTER ( ?t = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3409203
P748
Q11204 Q1752346 Q12737077
USER
How many occupations did less number of legislatures and assemblies appoint than President of Greece ?
(c(Q12737077),P748,c(Q11204)|c(Q1752346))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q3409203
relation P748
type Q11204
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?k WHERE { VALUES ( ?r ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?a rdf:type ?r } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q3409203 property:P748 ?j . { VALUES ( ?u ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?j rdf:type ?u } } } . FILTER ( ?i < ?n ) }
President of Greece
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity President of Greece
relation appointed by
type legislature
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?k WHERE { VALUES ( ?r ) { ( ontology:legislature ) ( ontology:assembly ) } . ?a rdf:type ?r } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:President_of_Greece property:appointed_by ?j . { VALUES ( ?u ) { ( ontology:assembly ) ( ontology:legislature ) } . ?j rdf:type ?u } } } . FILTER ( ?i < ?n ) }
[]
legislature assembly occupation
SYSTEM
301
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q835586 Q12376089 Q4970706 Q27516521 Q1161813 Q20891385 Q6572133 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q21384866 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q11204)|c(Q1752346))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q3409203
relation P748
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?k WHERE { VALUES ( ?r ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?a rdf:type ?r } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q3409203 property:P748 ?j . { VALUES ( ?u ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?j rdf:type ?u } } } . FILTER ( ?i < ?n ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland President of Fiji Prime Minister of Serbia Prime Minister of Thailand Federal Chancellor of Germany member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam Secretary of State for Dominion Affairs Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Chief of Naval Operations Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
301
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity President of Greece
relation appointed by
type legislature
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?k WHERE { VALUES ( ?r ) { ( ontology:legislature ) ( ontology:assembly ) } . ?a rdf:type ?r } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:President_of_Greece property:appointed_by ?j . { VALUES ( ?u ) { ( ontology:assembly ) ( ontology:legislature ) } . ?j rdf:type ?u } } } . FILTER ( ?i < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1370482
P748
Q11204 Q1752346 Q12737077
USER
And also tell me about President of Cuba?
(c(Q12737077),P748,c(Q11204)|c(Q1752346))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q1370482
relation P748
type Q11204
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { { ?y property:P748 ?l . ?y rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q11204 } UNION { ?y property:P748 ?l . ?y rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q1752346 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q1370482 property:P748 ?c . { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?d < ?j ) }
President of Cuba
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity President of Cuba
relation appointed by
type legislature
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { { ?y property:appointed_by ?l . ?y rdf:type ontology:occupation . ?l rdf:type ontology:legislature } UNION { ?y property:appointed_by ?l . ?y rdf:type ontology:occupation . ?l rdf:type ontology:assembly } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:President_of_Cuba property:appointed_by ?c . { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:legislature ) ( ontology:assembly ) } } } } . FILTER ( ?d < ?j ) }
[]
legislature assembly occupation
SYSTEM
301
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q835586 Q12376089 Q4970706 Q27516521 Q1161813 Q20891385 Q6572133 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q21384866 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q11204)|c(Q1752346))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q1370482
relation P748
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { { ?y property:P748 ?l . ?y rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q11204 } UNION { ?y property:P748 ?l . ?y rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q1752346 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q1370482 property:P748 ?c . { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?d < ?j ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland President of Fiji Prime Minister of Serbia Prime Minister of Thailand Federal Chancellor of Germany member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam Secretary of State for Dominion Affairs Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Chief of Naval Operations Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
301
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity President of Cuba
relation appointed by
type legislature
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?d ) WHERE { { ?y property:appointed_by ?l . ?y rdf:type ontology:occupation . ?l rdf:type ontology:legislature } UNION { ?y property:appointed_by ?l . ?y rdf:type ontology:occupation . ?l rdf:type ontology:assembly } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:President_of_Cuba property:appointed_by ?c . { ?c rdf:type ?i . VALUES ( ?i ) { ( ontology:legislature ) ( ontology:assembly ) } } } } . FILTER ( ?d < ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q131335
P740
Q43229 Q2088357
USER
How many organizations and musical ensembles were formed at Sioux Falls ?
(c(Q43229),P740,Q131335) (c(Q2088357),P740,Q131335)
action count
action union
action filter_type
action find_reverse
entity Q131335
relation P740
type Q43229
action filter_type
action find_reverse
entity Q131335
relation P740
type Q2088357
[{'concept': 'Q43229'}, 'P740', 'Q131335'] [{'concept': 'Q2088357'}, 'P740', 'Q131335']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2088357 ) ( ontology:Q43229 ) } }
Sioux Falls
action count
action union
action filter_type
action find_reverse
entity Sioux Falls
relation location of formation
type organization
action filter_type
action find_reverse
entity Sioux Falls
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Sioux Falls'] [{'concept': 'musical ensemble'}, 'location of formation', 'Sioux Falls']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:musical_ensemble ) ( ontology:organization ) } }
[]
organization musical ensemble
SYSTEM
1 organizations and 2 musical ensembles
Q7417625 Q1788282 Q1995280
(c(Q43229),P740,Q131335) (c(Q2088357),P740,Q131335)
action count
action union
action filter_type
action find_reverse
entity Q131335
relation P740
type Q43229
action filter_type
action find_reverse
entity Q131335
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q131335'] [{'concept': 'Q2088357'}, 'P740', 'Q131335']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2088357 ) ( ontology:Q43229 ) } }
Sanford Health The Spill Canvas Nodes of Ranvier
1 organizations and 2 musical ensembles
action count
action union
action filter_type
action find_reverse
entity Sioux Falls
relation location of formation
type organization
action filter_type
action find_reverse
entity Sioux Falls
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Sioux Falls'] [{'concept': 'musical ensemble'}, 'location of formation', 'Sioux Falls']
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v rdf:type ?c . VALUES ( ?c ) { ( ontology:musical_ensemble ) ( ontology:organization ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131335
P47
Q56061
USER
Which administrative territory is bordered by Sioux Falls ?
(Q131335,P47,c(Q56061))
action filter_type
action find
entity Q131335
relation P47
type Q56061
['Q131335', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q131335 property:P47 ?p . ?p rdf:type ontology:Q56061 }
Sioux Falls
action filter_type
action find
entity Sioux Falls
relation shares border with
type administrative territorial entity
['Sioux Falls', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Sioux_Falls property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1650462
SYSTEM
Brookings
Q1650462
(Q131335,P47,c(Q56061))
action filter_type
action find
entity Q131335
relation P47
type Q56061
Montgomery [ANSWER] is bordered by Sioux Falls
['Q131335', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q131335 property:P47 ?p . ?p rdf:type ontology:Q56061 }
Brookings
Montgomery Brookings is bordered by Sioux Falls
Brookings
action filter_type
action find
entity Sioux Falls
relation shares border with
type administrative territorial entity
['Sioux Falls', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Sioux_Falls property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1650462
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q1650462,P17,c(Q15617994))
action filter_type
action find
entity Q1650462
relation P17
type Q15617994
['Q1650462', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1650462 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Brookings
action filter_type
action find
entity Brookings
relation country
type designation for an administrative territorial entity
['Brookings', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Brookings property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1650462,P17,c(Q15617994))
action filter_type
action find
entity Q1650462
relation P17
type Q15617994
That administrative territory is situated the [ANSWER]
['Q1650462', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1650462 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
That administrative territory is situated the United States of America
United States of America
action filter_type
action find
entity Brookings
relation country
type designation for an administrative territorial entity
['Brookings', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Brookings property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P6
Q502895
USER
Which people have that administrative territory as their heads of government ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P6 ?t . ?t rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWERS] have that administrative territory as their heads of government
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q30 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
Barack Obama, Dwight D. Eisenhower and Donald Trump have that administrative territory as their heads of government
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:United_States_of_America property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q76
P737
Q502895
USER
Which people influenced that one ?
(Q76,P737,c(Q502895))
action filter_type
action find
entity Q76
relation P737
type Q502895
['Q76', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q76 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Barack Obama
action filter_type
action find
entity Barack Obama
relation influenced by
type common name
['Barack Obama', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Barack_Obama property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q9916
SYSTEM
Did you mean Dwight D. Eisenhower ?
Q76 Q9916 Q22686
(Q76,P737,c(Q502895)) (Q9916,P737,c(Q502895)) (Q22686,P737,c(Q502895))
[ANSWER]
['Q76', 'P737', {'concept': 'Q502895'}] ['Q9916', 'P737', {'concept': 'Q502895'}] ['Q22686', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q76 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Barack Obama Dwight D. Eisenhower Donald Trump
Did you mean Dwight D. Eisenhower ?
Dwight D. Eisenhower
['Barack Obama', 'influenced by', {'concept': 'common name'}] ['Dwight D. Eisenhower', 'influenced by', {'concept': 'common name'}] ['Donald Trump', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Barack_Obama property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Barack Obama. Could you tell me the answer for that?
(Q76,P737,c(Q502895))
Q76
['Q76', 'P737', {'concept': 'Q502895'}]
['Barack Obama', 'influenced by', {'concept': 'common name'}]
[]
Q358561 Q708172 Q25649
SYSTEM
Reinhold Niebuhr, Nipsey Russell, Saul Alinsky
Q358561 Q708172 Q25649
(Q76,P737,c(Q502895))
action filter_type
action find
entity Q76
relation P737
type Q502895
[ANSWERS] influenced that one
['Q76', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q76 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Reinhold Niebuhr Nipsey Russell Saul Alinsky
Reinhold Niebuhr, Nipsey Russell and Saul Alinsky influenced that one
Reinhold Niebuhr Nipsey Russell Saul Alinsky
action filter_type
action find
entity Barack Obama
relation influenced by
type common name
['Barack Obama', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Barack_Obama property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]