Simple Question (Direct)
Simple Question
Q4229009
P19
Q56061
USER
Which administrative territory is the birthplace of Mykola Koltsov ?
(Q4229009,P19,c(Q56061))
action filter_type
action find
entity Q4229009
relation P19
type Q56061
['Q4229009', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4229009 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Mykola Koltsov
action filter_type
action find
entity Mykola Koltsov
relation place of birth
type administrative territorial entity
['Mykola Koltsov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mykola_Koltsov property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3426
SYSTEM
Voronezh
Q3426
(Q4229009,P19,c(Q56061))
action filter_type
action find
entity Q4229009
relation P19
type Q56061
[ANSWER] is the birthplace of Mykola Koltsov
['Q4229009', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4229009 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Voronezh
Voronezh is the birthplace of Mykola Koltsov
Voronezh
action filter_type
action find
entity Mykola Koltsov
relation place of birth
type administrative territorial entity
['Mykola Koltsov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mykola_Koltsov property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4229009
P106
Q12737077
USER
What does that person do for a living ?
(Q3426,P106,c(Q12737077))
action filter_type
action find
entity Q4229009
relation P106
type Q12737077
['Q3426', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q4229009 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Mykola Koltsov
action filter_type
action find
entity Mykola Koltsov
relation occupation
type occupation
['Voronezh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Mykola_Koltsov property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3426,P106,c(Q12737077))
action filter_type
action find
entity Q4229009
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q3426', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q4229009 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Mykola Koltsov
relation occupation
type occupation
['Voronezh', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Mykola_Koltsov property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P361
Q847017
USER
Which sports club is that occupation a component of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?t WHERE { resource:Q937857 property:P361 ?t . ?t rdf:type ontology:Q847017 }
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 ?t WHERE { resource:association_football_player property:part_of ?t . ?t rdf:type ontology:sports_club }
[]
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 that occupation a component of
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?t WHERE { resource:Q937857 property:P361 ?t . ?t rdf:type ontology:Q847017 }
association football club
Club association football club is that occupation a component 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 ?t WHERE { resource:association_football_player property:part_of ?t . ?t rdf:type ontology:sports_club }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q476028 Q2736
P641
Q349
USER
Did that sports club participate in association football ?
(Q476028,P641,Q2736)
action is_in
entity Q2736
action find
entity Q476028
relation P641
['Q476028', 'P641', 'Q2736']
ASK WHERE { resource:Q476028 property:P641 resource:Q2736 }
association football club association football
action is_in
entity association football
action find
entity association football club
relation sport
['association football club', 'sport', 'association football']
ASK WHERE { resource:association_football_club property:sport resource:association_football }
[]
sport
SYSTEM
YES
(Q476028,P641,Q2736)
action is_in
entity Q2736
action find
entity Q476028
relation P641
[ANSWER]
['Q476028', 'P641', 'Q2736']
ASK WHERE { resource:Q476028 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity association football club
relation sport
['association football club', 'sport', 'association football']
ASK WHERE { resource:association_football_club property:sport resource:association_football }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3777749
P748
Q502895 Q1307214 Q12737077
USER
How many occupations are appointed by less number of people or forms of government than Attorney General of Ireland ?
(c(Q12737077),P748,c(Q502895)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q3777749
relation P748
type Q502895
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?t WHERE { VALUES ( ?e ) { ( ontology:Q1307214 ) ( ontology:Q502895 ) } . ?j rdf:type ?e } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1307214 ) ( ontology:Q502895 ) } } . resource:Q3777749 property:P748 ?g } } . FILTER ( ?k < ?q ) }
Attorney General of Ireland
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Attorney General of Ireland
relation appointed by
type common name
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?t WHERE { VALUES ( ?e ) { ( ontology:form_of_government ) ( ontology:common_name ) } . ?j rdf:type ?e } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:form_of_government ) ( ontology:common_name ) } } . resource:Attorney_General_of_Ireland property:appointed_by ?g } } . FILTER ( ?k < ?q ) }
[]
common name form of government occupation
SYSTEM
265
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q11793630 Q1072417 Q27650822 Q21371106 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q642859 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q967762 Q15305714 Q20872382 Q1749063 Q20872273 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q274948 Q2305968 Q21384866 Q596123 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1591470 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q1195270 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q502895)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q3777749
relation P748
type Q502895
type Q1307214
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?t WHERE { VALUES ( ?e ) { ( ontology:Q1307214 ) ( ontology:Q502895 ) } . ?j rdf:type ?e } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1307214 ) ( ontology:Q502895 ) } } . resource:Q3777749 property:P748 ?g } } . FILTER ( ?k < ?q ) }
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 governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Prime Minister of Pakistan United States Secretary of the Interior 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 President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach United States Secretary of Agriculture European Commissioner for the Environment Prime Minister of South Korea United States Secretary of Homeland Security 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 United States Secretary of Education Prime Minister of Libya municipal executive of Coevorden Minister for Foreign Affairs of Sweden municipal executive of Boxmeer President of the People's Republic of China bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Thailand President of Botswana State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta 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 Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh 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 President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands 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 Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade 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 Prime Minister of Greece Premier of Prince Edward Island 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 Prime Minister of Vietnam 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 Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Mayor of Mierlo United States Secretary of Labor 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 Prime Minister of Sweden Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland President of Vietnam 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 Chief of Naval Operations President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico President of Israel 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 United States Secretary of the Army Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications 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 Prime Minister of Croatia 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 Premier of the People's Republic of China 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 President of Cuba 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 Prime Minister of Poland 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 Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia 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 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 President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Prime Minister of Spain White House Chief of Staff 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
265
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Attorney General of Ireland
relation appointed by
type common name
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) ?t WHERE { VALUES ( ?e ) { ( ontology:form_of_government ) ( ontology:common_name ) } . ?j rdf:type ?e } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:form_of_government ) ( ontology:common_name ) } } . resource:Attorney_General_of_Ireland property:appointed_by ?g } } . FILTER ( ?k < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7240368
P748
Q502895 Q1307214 Q12737077
USER
And how about Premier of the Northwest Territories?
(c(Q12737077),P748,c(Q502895)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q7240368
relation P748
type Q502895
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?j WHERE { { ?j rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q1307214 . ?j property:P748 ?p } UNION { ?j property:P748 ?p . ?j rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q7240368 property:P748 ?h . { { ?h rdf:type ontology:Q1307214 } UNION { ?h rdf:type ontology:Q502895 } } } } . FILTER ( ?c < ?l ) }
Premier of the Northwest Territories
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Premier of the Northwest Territories
relation appointed by
type common name
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?j WHERE { { ?j rdf:type ontology:occupation . ?p rdf:type ontology:form_of_government . ?j property:appointed_by ?p } UNION { ?j property:appointed_by ?p . ?j rdf:type ontology:occupation . ?p rdf:type ontology:common_name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Premier_of_the_Northwest_Territories property:appointed_by ?h . { { ?h rdf:type ontology:form_of_government } UNION { ?h rdf:type ontology:common_name } } } } . FILTER ( ?c < ?l ) }
[]
common name form of government occupation
SYSTEM
265
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q11793630 Q1072417 Q27650822 Q21371106 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q642859 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q967762 Q15305714 Q20872382 Q1749063 Q20872273 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q274948 Q2305968 Q21384866 Q596123 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1591470 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q1195270 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q502895)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q7240368
relation P748
type Q502895
type Q1307214
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?j WHERE { { ?j rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q1307214 . ?j property:P748 ?p } UNION { ?j property:P748 ?p . ?j rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q7240368 property:P748 ?h . { { ?h rdf:type ontology:Q1307214 } UNION { ?h rdf:type ontology:Q502895 } } } } . FILTER ( ?c < ?l ) }
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 governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Prime Minister of Pakistan United States Secretary of the Interior 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 President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach United States Secretary of Agriculture European Commissioner for the Environment Prime Minister of South Korea United States Secretary of Homeland Security 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 United States Secretary of Education Prime Minister of Libya municipal executive of Coevorden Minister for Foreign Affairs of Sweden municipal executive of Boxmeer President of the People's Republic of China bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Thailand President of Botswana State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta 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 Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh 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 President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands 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 Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade 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 Prime Minister of Greece Premier of Prince Edward Island 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 Prime Minister of Vietnam 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 Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Mayor of Mierlo United States Secretary of Labor 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 Prime Minister of Sweden Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland President of Vietnam 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 Chief of Naval Operations President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico President of Israel 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 United States Secretary of the Army Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications 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 Prime Minister of Croatia 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 Premier of the People's Republic of China 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 President of Cuba 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 Prime Minister of Poland 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 Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia 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 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 President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Prime Minister of Spain White House Chief of Staff 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
265
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Premier of the Northwest Territories
relation appointed by
type common name
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?j WHERE { { ?j rdf:type ontology:occupation . ?p rdf:type ontology:form_of_government . ?j property:appointed_by ?p } UNION { ?j property:appointed_by ?p . ?j rdf:type ontology:occupation . ?p rdf:type ontology:common_name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Premier_of_the_Northwest_Territories property:appointed_by ?h . { { ?h rdf:type ontology:form_of_government } UNION { ?h rdf:type ontology:common_name } } } } . FILTER ( ?c < ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q3356245
P425
Q874405
USER
How many social groups are associated with the field of occupation association football player or Civilekonom ?
(Q937857,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q937857
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q937857', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ontology:Q874405 . resource:Q937857 property:P425 ?n } UNION { resource:Q3356245 property:P425 ?n . ?n rdf:type ontology:Q874405 } }
association football player Civilekonom
action count
action union
action filter_type
action find
entity association football player
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['association football player', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ontology:social_group . resource:association_football_player property:field_of_this_occupation ?n } UNION { resource:Civilekonom property:field_of_this_occupation ?n . ?n rdf:type ontology:social_group } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q937857,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q937857
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q937857', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ontology:Q874405 . resource:Q937857 property:P425 ?n } UNION { resource:Q3356245 property:P425 ?n . ?n rdf:type ontology:Q874405 } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity association football player
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['association football player', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { ?n rdf:type ontology:social_group . resource:association_football_player property:field_of_this_occupation ?n } UNION { resource:Civilekonom property:field_of_this_occupation ?n . ?n rdf:type ontology:social_group } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Which person works in the domain of that occupation ?
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
SELECT DISTINCT ?q WHERE { ?q property:P101 resource:Q937857 . ?q rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
SELECT DISTINCT ?q WHERE { ?q property:field_of_work resource:association_football_player . ?q rdf:type ontology:common_name }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] works in the domain of that occupation
SELECT DISTINCT ?q WHERE { ?q property:P101 resource:Q937857 . ?q rdf:type ontology:Q502895 }
Akaki Devadze
Akaki Devadze works in the domain of that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
SELECT DISTINCT ?q WHERE { ?q property:field_of_work resource:association_football_player . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P800
Q502895
USER
Which person is accredited with being the author of the notable work that occupation ?
(c(Q502895),P800,Q2089026)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q2089026']
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q937857 . ?n rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Akaki Devadze']
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:association_football_player . ?n rdf:type ontology:common_name }
[]
common name
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q2089026)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work that occupation
[{'concept': 'Q502895'}, 'P800', 'Q2089026']
SELECT DISTINCT ?n WHERE { ?n property:P800 resource:Q937857 . ?n rdf:type ontology:Q502895 }
Hugh Morgan-Owen
Hugh Morgan-Owen is accredited with being the author of the notable work that occupation
Hugh Morgan-Owen
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Akaki Devadze']
SELECT DISTINCT ?n WHERE { ?n property:notable_work resource:association_football_player . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23047441
P69
Q3918
USER
Where was that person educated ?
(Q23047441,P69,c(Q3918))
action filter_type
action find
entity Q23047441
relation P69
type Q3918
['Q23047441', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q23047441 property:P69 ?c . ?c rdf:type ontology:Q3918 }
Hugh Morgan-Owen
action filter_type
action find
entity Hugh Morgan-Owen
relation educated at
type university
['Hugh Morgan-Owen', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Hugh_Morgan-Owen property:educated_at ?c . ?c rdf:type ontology:university }
[]
university
Q34433
SYSTEM
University of Oxford
Q34433
(Q23047441,P69,c(Q3918))
action filter_type
action find
entity Q23047441
relation P69
type Q3918
Educated that person was the [ANSWER]
['Q23047441', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q23047441 property:P69 ?c . ?c rdf:type ontology:Q3918 }
University of Oxford
Educated that person was the University of Oxford
University of Oxford
action filter_type
action find
entity Hugh Morgan-Owen
relation educated at
type university
['Hugh Morgan-Owen', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Hugh_Morgan-Owen property:educated_at ?c . ?c rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34433
P159
Q515
USER
Which city is the head office of that university ?
(Q34433,P159,c(Q515))
action filter_type
action find
entity Q34433
relation P159
type Q515
['Q34433', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q34433 property:P159 ?p }
University of Oxford
action filter_type
action find
entity University of Oxford
relation headquarters location
type city
['University of Oxford', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:University_of_Oxford property:headquarters_location ?p }
[]
city
Q34217
SYSTEM
Oxford
Q34217
(Q34433,P159,c(Q515))
action filter_type
action find
entity Q34433
relation P159
type Q515
[ANSWER] is the head office of that university
['Q34433', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q34433 property:P159 ?p }
Oxford
Oxford is the head office of that university
Oxford
action filter_type
action find
entity University of Oxford
relation headquarters location
type city
['University of Oxford', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:University_of_Oxford property:headquarters_location ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26989
Q515
USER
And also tell me about Infosys?
(Q26989,P159,c(Q515))
action filter_type
action find
entity Q26989
relation P159
type Q515
['Q26989', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q26989 property:P159 ?o . ?o rdf:type ontology:Q515 }
Infosys
action filter_type
action find
entity Infosys
relation headquarters location
type city
['Infosys', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Infosys property:headquarters_location ?o . ?o rdf:type ontology:city }
[]
city
Q1355
SYSTEM
Bangalore
Q1355
(Q26989,P159,c(Q515))
action filter_type
action find
entity Q26989
relation P159
type Q515
[ANSWER]
['Q26989', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q26989 property:P159 ?o . ?o rdf:type ontology:Q515 }
Bangalore
Bangalore
action filter_type
action find
entity Infosys
relation headquarters location
type city
['Infosys', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Infosys property:headquarters_location ?o . ?o rdf:type ontology:city }
[]