Simple Question (Direct)
Simple Question
Q6035350
P54
Q618123
USER
What sports team is Ayhan Akbin a member of ?
(Q6035350,P54,c(Q618123))
action filter_type
action find
entity Q6035350
relation P54
type Q618123
['Q6035350', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?h WHERE { resource:Q6035350 property:P54 ?h . ?h rdf:type ontology:Q618123 }
Ayhan Akbin
action filter_type
action find
entity Ayhan Akbin
relation member of sports team
type geographical object
['Ayhan Akbin', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?h WHERE { resource:Ayhan_Akbin property:member_of_sports_team ?h . ?h rdf:type ontology:geographical_object }
[]
geographical object
Q492826
SYSTEM
MKE Ankaragücü
Q492826
(Q6035350,P54,c(Q618123))
action filter_type
action find
entity Q6035350
relation P54
type Q618123
[ANSWER] is Ayhan Akbin a member of
['Q6035350', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?h WHERE { resource:Q6035350 property:P54 ?h . ?h rdf:type ontology:Q618123 }
MKE Ankaragücü
MKE Ankaragücü is Ayhan Akbin a member of
MKE Ankaragücü
action filter_type
action find
entity Ayhan Akbin
relation member of sports team
type geographical object
['Ayhan Akbin', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?h WHERE { resource:Ayhan_Akbin property:member_of_sports_team ?h . ?h rdf:type ontology:geographical_object }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6035350
P106
Q12737077
USER
What is the profession of that person ?
(Q492826,P106,c(Q12737077))
action filter_type
action find
entity Q6035350
relation P106
type Q12737077
['Q492826', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q6035350 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Ayhan Akbin
action filter_type
action find
entity Ayhan Akbin
relation occupation
type occupation
['MKE Ankaragücü', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Ayhan_Akbin property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q492826,P106,c(Q12737077))
action filter_type
action find
entity Q6035350
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q492826', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q6035350 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Ayhan Akbin
relation occupation
type occupation
['MKE Ankaragücü', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Ayhan_Akbin property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6035350
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6035350
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q6035350 property:P641 ?i . ?i rdf:type ontology:Q349 }
Ayhan Akbin
action filter_type
action find
entity Ayhan Akbin
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Ayhan_Akbin property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6035350
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q6035350 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Ayhan Akbin
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Ayhan_Akbin property:sport ?i . ?i rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3251837
P748
Q12737077 Q178706 Q12737077
USER
Which occupations were appointed by lesser number of occupations and institutions than Minister of Canadian Heritage ?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q3251837
relation P748
type Q12737077
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?t ) WHERE { { ?a property:P748 ?y . ?a rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q12737077 } UNION { ?a property:P748 ?y . ?a rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q178706 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } } . resource:Q3251837 property:P748 ?q } } . FILTER ( ?t < ?z ) }
Minister of Canadian Heritage
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Minister of Canadian Heritage
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?t ) WHERE { { ?a property:appointed_by ?y . ?a rdf:type ontology:occupation . ?y rdf:type ontology:occupation } UNION { ?a property:appointed_by ?y . ?a rdf:type ontology:occupation . ?y rdf:type ontology:institution } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:occupation ) ( ontology:institution ) } } . resource:Minister_of_Canadian_Heritage property:appointed_by ?q } } . FILTER ( ?t < ?z ) }
[]
occupation institution occupation
Q655407 Q22955080 Q4970706
SYSTEM
President of the People's Republic of China, president of FIFA, Federal Chancellor of Germany
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q2666591 Q191954 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q5333410 Q376006 Q21013169 Q26209348 Q39021 Q261746 Q20867494 Q21013163 Q14984399 Q7241304 Q910308 Q1029955 Q1753754 Q2484309 Q642859 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q20891385 Q796593 Q6865833 Q2660943 Q940135 Q20172329 Q531471 Q2305968 Q21384866 Q596123 Q7444340 Q20194364 Q1476165 Q2914452 Q2636053 Q464103 Q3058109 Q3858507 Q2419581 Q1124265 Q273884 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2747647 Q2390270 Q13527933 Q583809 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q13645132 Q636207 Q475658 Q7574264 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q783785 Q5096847 Q4818607 Q152814 Q1072415 Q26000995 Q3409203 Q213107 Q195965 Q327948 Q1763459 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q2741486 Q3315112 Q1123764 Q735015 Q2708520 Q22955080 Q7240368 Q3297079 Q6865995 Q319145 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q967737 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q3315134 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q20748654 Q19328451 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q592866 Q1281611 Q26721218 Q1658460 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q786242 Q25860233 Q1434880 Q1072341
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q3251837
relation P748
type Q12737077
type Q178706
[ANSWERS] were appointed by lesser number of occupations and institutions than Minister of Canadian Heritage
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?t ) WHERE { { ?a property:P748 ?y . ?a rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q12737077 } UNION { ?a property:P748 ?y . ?a rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q178706 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } } . resource:Q3251837 property:P748 ?q } } . FILTER ( ?t < ?z ) }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Secretary of State for Wales 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 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 Economic Secretary to the Treasury Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore United States Secretary of the Air Force Mayor of Gorinchem Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Lord Privy Seal United States Secretary of Agriculture Master of the Rolls Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven President pro tempore of the United States Senate 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 Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Leader of the House of Commons Speaker of the House of Commons Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy United States Secretary of Housing and Urban Development List of Presidents of the Basque Autonomous Community President of South Africa 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 Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of the Bahamas Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Prime Minister of Malaysia Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco municipal executive of Gorinchem Paymaster General Secretary of State for Health Cathaoirleach King's or Queen's Commissioner King's Commissioner of North Holland Governor of the Virgin Islands President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere President of Iran Chief of Staff of the United States Army Chief Minister Attorney-General of Australia Prime Minister of Malta Chief of Naval Operations President of the Parliament of Catalonia President of Greece Prime Minister of Belgium Governor of Gibraltar President of Israel Chairman of the Joint Chiefs of Staff President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Chief Executive of Hong Kong Minister for Defence Prime Minister of Armenia United States Secretary of Defense Chairman of the Communist Party of China president of FIFA Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia 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 United States Secretary of Transportation Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities 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 Mayor of Zoetermeer Mayor of Haarlem Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Prime Minister of Papua New Guinea Prime Minister of Tuvalu Lieutenant Governor of Jersey municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales White House Chief of Staff Secretary of State for Exiting the European Union Surgeon General of the United States Chief Minister of the Northern Territory
President of the People's Republic of China, president of FIFA and Federal Chancellor of Germany were appointed by lesser number of occupations and institutions than Minister of Canadian Heritage
President of the People's Republic of China president of FIFA Federal Chancellor of Germany
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Minister of Canadian Heritage
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?t ) WHERE { { ?a property:appointed_by ?y . ?a rdf:type ontology:occupation . ?y rdf:type ontology:occupation } UNION { ?a property:appointed_by ?y . ?a rdf:type ontology:occupation . ?y rdf:type ontology:institution } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:occupation ) ( ontology:institution ) } } . resource:Minister_of_Canadian_Heritage property:appointed_by ?q } } . FILTER ( ?t < ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q81066
P748
Q12737077 Q178706 Q12737077
USER
And how about United Nations Secretary-General?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q81066
relation P748
type Q12737077
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?w WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q81066 property:P748 ?j . { { ?j rdf:type ontology:Q12737077 } UNION { ?j rdf:type ontology:Q178706 } } } } . FILTER ( ?a < ?d ) }
United Nations Secretary-General
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity United Nations Secretary-General
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?w WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:occupation ) ( ontology:institution ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:United_Nations_Secretary-General property:appointed_by ?j . { { ?j rdf:type ontology:occupation } UNION { ?j rdf:type ontology:institution } } } } . FILTER ( ?a < ?d ) }
[]
occupation institution occupation
Q655407 Q22955080 Q4970706
SYSTEM
President of the People's Republic of China, president of FIFA, Federal Chancellor of Germany
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q2666591 Q191954 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q5333410 Q376006 Q21013169 Q26209348 Q39021 Q261746 Q20867494 Q21013163 Q14984399 Q7241304 Q910308 Q1029955 Q1753754 Q2484309 Q642859 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q20891385 Q796593 Q6865833 Q2660943 Q940135 Q20172329 Q531471 Q2305968 Q21384866 Q596123 Q7444340 Q20194364 Q1476165 Q2914452 Q2636053 Q464103 Q3058109 Q3858507 Q2419581 Q1124265 Q273884 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2747647 Q2390270 Q13527933 Q583809 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q13645132 Q636207 Q475658 Q7574264 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q783785 Q5096847 Q4818607 Q152814 Q1072415 Q26000995 Q3409203 Q213107 Q195965 Q327948 Q1763459 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q2741486 Q3315112 Q1123764 Q735015 Q2708520 Q22955080 Q7240368 Q3297079 Q6865995 Q319145 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q967737 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q3315134 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q20748654 Q19328451 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q592866 Q1281611 Q26721218 Q1658460 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q786242 Q25860233 Q1434880 Q1072341
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q81066
relation P748
type Q12737077
type Q178706
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?w WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q81066 property:P748 ?j . { { ?j rdf:type ontology:Q12737077 } UNION { ?j rdf:type ontology:Q178706 } } } } . FILTER ( ?a < ?d ) }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Secretary of State for Wales 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 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 Economic Secretary to the Treasury Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore United States Secretary of the Air Force Mayor of Gorinchem Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Lord Privy Seal United States Secretary of Agriculture Master of the Rolls Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven President pro tempore of the United States Senate 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 Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Leader of the House of Commons Speaker of the House of Commons Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy United States Secretary of Housing and Urban Development List of Presidents of the Basque Autonomous Community President of South Africa 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 Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of the Bahamas Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Prime Minister of Malaysia Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco municipal executive of Gorinchem Paymaster General Secretary of State for Health Cathaoirleach King's or Queen's Commissioner King's Commissioner of North Holland Governor of the Virgin Islands President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere President of Iran Chief of Staff of the United States Army Chief Minister Attorney-General of Australia Prime Minister of Malta Chief of Naval Operations President of the Parliament of Catalonia President of Greece Prime Minister of Belgium Governor of Gibraltar President of Israel Chairman of the Joint Chiefs of Staff President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Chief Executive of Hong Kong Minister for Defence Prime Minister of Armenia United States Secretary of Defense Chairman of the Communist Party of China president of FIFA Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia 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 United States Secretary of Transportation Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities 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 Mayor of Zoetermeer Mayor of Haarlem Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Prime Minister of Papua New Guinea Prime Minister of Tuvalu Lieutenant Governor of Jersey municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales White House Chief of Staff Secretary of State for Exiting the European Union Surgeon General of the United States Chief Minister of the Northern Territory
President of the People's Republic of China president of FIFA Federal Chancellor of Germany
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity United Nations Secretary-General
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?w WHERE { ?p rdf:type ?c . VALUES ( ?c ) { ( ontology:occupation ) ( ontology:institution ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:United_Nations_Secretary-General property:appointed_by ?j . { { ?j rdf:type ontology:occupation } UNION { ?j rdf:type ontology:institution } } } } . FILTER ( ?a < ?d ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22955080
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q22955080)
action filter_type
action find_reverse
entity Q22955080
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q22955080']
SELECT DISTINCT ?w WHERE { ?w property:P39 resource:Q22955080 . ?w rdf:type ontology:Q502895 }
president of FIFA
action filter_type
action find_reverse
entity president of FIFA
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'president of FIFA']
SELECT DISTINCT ?w WHERE { ?w property:position_held resource:president_of_FIFA . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4970706
SYSTEM
Did you mean Federal Chancellor of Germany ?
Q655407 Q22955080 Q4970706
(c(Q502895),P39,Q655407) (c(Q502895),P39,Q22955080) (c(Q502895),P39,Q4970706)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q655407'] [{'concept': 'Q502895'}, 'P39', 'Q22955080'] [{'concept': 'Q502895'}, 'P39', 'Q4970706']
SELECT DISTINCT ?w WHERE { ?w property:P39 resource:Q22955080 . ?w rdf:type ontology:Q502895 }
President of the People's Republic of China president of FIFA Federal Chancellor of Germany
Did you mean Federal Chancellor of Germany ?
Federal Chancellor of Germany
[{'concept': 'common name'}, 'position held', "President of the People's Republic of China"] [{'concept': 'common name'}, 'position held', 'president of FIFA'] [{'concept': 'common name'}, 'position held', 'Federal Chancellor of Germany']
SELECT DISTINCT ?w WHERE { ?w property:position_held resource:president_of_FIFA . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant president of FIFA. Could you tell me the answer for that?
(c(Q502895),P39,Q22955080)
Q22955080
[{'concept': 'Q502895'}, 'P39', 'Q22955080']
[{'concept': 'common name'}, 'position held', 'president of FIFA']
[]
Q483437 Q207358 Q124138
SYSTEM
Sepp Blatter, João Havelange, Gianni Infantino
Q207358 Q124138 Q312664 Q218270 Q311250 Q312662 Q483437 Q116277 Q199642
(c(Q502895),P39,Q22955080)
action filter_type
action find_reverse
entity Q22955080
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q22955080']
SELECT DISTINCT ?w WHERE { ?w property:P39 resource:Q22955080 . ?w rdf:type ontology:Q502895 }
João Havelange Gianni Infantino Arthur Drewry Stanley Rous Daniel Burley Woolfall Rodolphe Seeldrayers Sepp Blatter Robert Guérin Jules Rimet
Sepp Blatter, João Havelange and Gianni Infantino were responsible for occupying the position of that occupation
Sepp Blatter João Havelange Gianni Infantino
action filter_type
action find_reverse
entity president of FIFA
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'president of FIFA']
SELECT DISTINCT ?w WHERE { ?w property:position_held resource:president_of_FIFA . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q688489
P488
Q1346006
USER
Do United World Wrestling have those people as their chairperson ?
(Q688489,P488,Q483437) (Q688489,P488,Q207358) (Q688489,P488,Q124138)
action is_in
entity prev_answer
action find
entity Q688489
relation P488
['Q688489', 'P488', 'Q483437'] ['Q688489', 'P488', 'Q207358'] ['Q688489', 'P488', 'Q124138']
ASK WHERE { resource:Q688489 property:P488 ?b . VALUES ( ?b ) { ( resource:Q207358 ) ( resource:Q124138 ) ( resource:Q312664 ) } }
United World Wrestling
action is_in
entity prev_answer
action find
entity United World Wrestling
relation chairperson
['United World Wrestling', 'chairperson', 'Sepp Blatter'] ['United World Wrestling', 'chairperson', 'João Havelange'] ['United World Wrestling', 'chairperson', 'Gianni Infantino']
ASK WHERE { resource:United_World_Wrestling property:chairperson ?b . VALUES ( ?b ) { ( resource:João_Havelange ) ( resource:Gianni_Infantino ) ( resource:Arthur_Drewry ) } }
[]
international sport governing body
SYSTEM
NO
(Q688489,P488,Q483437) (Q688489,P488,Q207358) (Q688489,P488,Q124138)
action is_in
entity prev_answer
action find
entity Q688489
relation P488
[ANSWER]
['Q688489', 'P488', 'Q483437'] ['Q688489', 'P488', 'Q207358'] ['Q688489', 'P488', 'Q124138']
ASK WHERE { resource:Q688489 property:P488 ?b . VALUES ( ?b ) { ( resource:Q207358 ) ( resource:Q124138 ) ( resource:Q312664 ) } }
No
action is_in
entity prev_answer
action find
entity United World Wrestling
relation chairperson
['United World Wrestling', 'chairperson', 'Sepp Blatter'] ['United World Wrestling', 'chairperson', 'João Havelange'] ['United World Wrestling', 'chairperson', 'Gianni Infantino']
ASK WHERE { resource:United_World_Wrestling property:chairperson ?b . VALUES ( ?b ) { ( resource:João_Havelange ) ( resource:Gianni_Infantino ) ( resource:Arthur_Drewry ) } }
[]