Simple Question (Direct)
Simple Question
Q1240583
P20
Q13220204
USER
Where did the demise of Donat Golaz occur ?
(Q1240583,P20,c(Q13220204))
action filter_type
action find
entity Q1240583
relation P20
type Q13220204
['Q1240583', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q13220204 . resource:Q1240583 property:P20 ?b }
Donat Golaz
action filter_type
action find
entity Donat Golaz
relation place of death
type second-level administrative country subdivision
['Donat Golaz', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:second-level_administrative_country_subdivision . resource:Donat_Golaz property:place_of_death ?b }
[]
second-level administrative country subdivision
Q68213
SYSTEM
Orbe
Q68213
(Q1240583,P20,c(Q13220204))
action filter_type
action find
entity Q1240583
relation P20
type Q13220204
The demise of Donat Golaz occurred in [ANSWER]
['Q1240583', 'P20', {'concept': 'Q13220204'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q13220204 . resource:Q1240583 property:P20 ?b }
Orbe
The demise of Donat Golaz occurred in Orbe
Orbe
action filter_type
action find
entity Donat Golaz
relation place of death
type second-level administrative country subdivision
['Donat Golaz', 'place of death', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:second-level_administrative_country_subdivision . resource:Donat_Golaz property:place_of_death ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q68213
P1313
Q12737077
USER
Which occupation is fulfilled by that administrative country subdivision ?
(Q68213,P1313,c(Q12737077))
action filter_type
action find
entity Q68213
relation P1313
type Q12737077
['Q68213', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q68213 property:P1313 ?f . ?f rdf:type ontology:Q12737077 }
Orbe
action filter_type
action find
entity Orbe
relation office held by head of government
type occupation
['Orbe', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Orbe property:office_held_by_head_of_government ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q24701425
SYSTEM
mayor of Orbe
Q24701425
(Q68213,P1313,c(Q12737077))
action filter_type
action find
entity Q68213
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that administrative country subdivision
['Q68213', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q68213 property:P1313 ?f . ?f rdf:type ontology:Q12737077 }
mayor of Orbe
The mayor of Orbe is fulfilled by that administrative country subdivision
mayor of Orbe
action filter_type
action find
entity Orbe
relation office held by head of government
type occupation
['Orbe', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Orbe property:office_held_by_head_of_government ?f . ?f rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q24701425 Q39
P17
Q15617994
USER
Is that occupation situated in Switzerland ?
(Q24701425,P17,Q39)
action is_in
entity Q39
action find
entity Q24701425
relation P17
['Q24701425', 'P17', 'Q39']
ASK WHERE { resource:Q24701425 property:P17 resource:Q39 }
mayor of Orbe Switzerland
action is_in
entity Switzerland
action find
entity mayor of Orbe
relation country
['mayor of Orbe', 'country', 'Switzerland']
ASK WHERE { resource:mayor_of_Orbe property:country resource:Switzerland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q24701425,P17,Q39)
action is_in
entity Q39
action find
entity Q24701425
relation P17
[ANSWER]
['Q24701425', 'P17', 'Q39']
ASK WHERE { resource:Q24701425 property:P17 resource:Q39 }
Yes
action is_in
entity Switzerland
action find
entity mayor of Orbe
relation country
['mayor of Orbe', 'country', 'Switzerland']
ASK WHERE { resource:mayor_of_Orbe property:country resource:Switzerland }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q609884
P748
Q701632 Q502895 Q12737077
USER
Which occupations did less number of municipal councils and people appoint than First Lord of the Treasury ?
(c(Q12737077),P748,c(Q701632)|c(Q502895))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q609884
relation P748
type Q701632
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?m < ?a ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q609884 property:P748 ?l . { { ?l rdf:type ontology:Q701632 } UNION { ?l rdf:type ontology:Q502895 } } } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?t WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q701632 ) } } GROUP BY ?t } }
First Lord of the Treasury
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity First Lord of the Treasury
relation appointed by
type municipal council
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'common name'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?m < ?a ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:First_Lord_of_the_Treasury property:appointed_by ?l . { { ?l rdf:type ontology:municipal_council } UNION { ?l rdf:type ontology:common_name } } } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?t WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:municipal_council ) } } GROUP BY ?t } }
[]
municipal council common name occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q11793630 Q1072417 Q27650822 Q1355456 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q642859 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q967762 Q943379 Q15305714 Q1749063 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q274948 Q2305968 Q596123 Q7444340 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q20130623 Q1054799 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 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 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 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 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q502895))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q609884
relation P748
type Q701632
type Q502895
The [ANSWERS] less number of municipal councils and people appointed than First Lord of the Treasury
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?m < ?a ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q609884 property:P748 ?l . { { ?l rdf:type ontology:Q701632 } UNION { ?l rdf:type ontology:Q502895 } } } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?t WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q502895 ) ( ontology:Q701632 ) } } GROUP BY ?t } }
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 Minister for Education and Skills 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 Lord Chamberlain 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 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 Lord Privy Seal United States Secretary of Agriculture Master of the Rolls 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 Lord President of the Council Prime Minister of Libya Minister for Foreign Affairs of Sweden 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 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 president of Bangladesh Secretary of State for Dominion Affairs Prime Minister of Portugal 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 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 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 Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria 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 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 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 Prime Minister of Belgium 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 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 Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives 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 Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy 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 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 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 Lord Lieutenant of Ireland Lord Chief Justice of England and Wales 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
The Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and President of the People's Republic of China less number of municipal councils and people appointed than First Lord of the Treasury
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity First Lord of the Treasury
relation appointed by
type municipal council
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'common name'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?m < ?a ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:First_Lord_of_the_Treasury property:appointed_by ?l . { { ?l rdf:type ontology:municipal_council } UNION { ?l rdf:type ontology:common_name } } } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?t WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:common_name ) ( ontology:municipal_council ) } } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1362216
P748
Q701632 Q502895 Q12737077
USER
And what about First Minister of Scotland?
(c(Q12737077),P748,c(Q701632)|c(Q502895))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q1362216
relation P748
type Q701632
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q1362216 property:P748 ?d . { VALUES ( ?j ) { ( ontology:Q701632 ) ( ontology:Q502895 ) } . ?d rdf:type ?j } } } . FILTER ( ?w < ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?o WHERE { { ?o property:P748 ?a . ?o rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q701632 } UNION { ?o property:P748 ?a . ?o rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q502895 } } GROUP BY ?o } }
First Minister of Scotland
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity First Minister of Scotland
relation appointed by
type municipal council
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'common name'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:First_Minister_of_Scotland property:appointed_by ?d . { VALUES ( ?j ) { ( ontology:municipal_council ) ( ontology:common_name ) } . ?d rdf:type ?j } } } . FILTER ( ?w < ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?o WHERE { { ?o property:appointed_by ?a . ?o rdf:type ontology:occupation . ?a rdf:type ontology:municipal_council } UNION { ?o property:appointed_by ?a . ?o rdf:type ontology:occupation . ?a rdf:type ontology:common_name } } GROUP BY ?o } }
[]
municipal council common name occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q11793630 Q1072417 Q27650822 Q1355456 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q642859 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q967762 Q943379 Q15305714 Q1749063 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q274948 Q2305968 Q596123 Q7444340 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q20130623 Q1054799 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 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 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 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 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q502895))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q1362216
relation P748
type Q701632
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q1362216 property:P748 ?d . { VALUES ( ?j ) { ( ontology:Q701632 ) ( ontology:Q502895 ) } . ?d rdf:type ?j } } } . FILTER ( ?w < ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?o WHERE { { ?o property:P748 ?a . ?o rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q701632 } UNION { ?o property:P748 ?a . ?o rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q502895 } } GROUP BY ?o } }
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 Minister for Education and Skills 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 Lord Chamberlain 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 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 Lord Privy Seal United States Secretary of Agriculture Master of the Rolls 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 Lord President of the Council Prime Minister of Libya Minister for Foreign Affairs of Sweden 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 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 president of Bangladesh Secretary of State for Dominion Affairs Prime Minister of Portugal 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 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 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 Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria 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 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 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 Prime Minister of Belgium 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 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 Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives 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 Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy 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 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 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 Lord Lieutenant of Ireland Lord Chief Justice of England and Wales 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
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity First Minister of Scotland
relation appointed by
type municipal council
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'common name'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:First_Minister_of_Scotland property:appointed_by ?d . { VALUES ( ?j ) { ( ontology:municipal_council ) ( ontology:common_name ) } . ?d rdf:type ?j } } } . FILTER ( ?w < ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?o WHERE { { ?o property:appointed_by ?a . ?o rdf:type ontology:occupation . ?a rdf:type ontology:municipal_council } UNION { ?o property:appointed_by ?a . ?o rdf:type ontology:occupation . ?a rdf:type ontology:common_name } } GROUP BY ?o } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q687075
P1001
Q15617994
USER
How many administrative territories apply to jurisdiction of Prime Minister of Sweden ?
(Q687075,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q687075
relation P1001
type Q15617994
['Q687075', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q687075 property:P1001 ?q . ?q rdf:type ontology:Q15617994 }
Prime Minister of Sweden
action count
action filter_type
action find
entity Prime Minister of Sweden
relation applies to jurisdiction
type designation for an administrative territorial entity
['Prime Minister of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Prime_Minister_of_Sweden property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q687075,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q687075
relation P1001
type Q15617994
[ANSWER]
['Q687075', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q687075 property:P1001 ?q . ?q rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Prime Minister of Sweden
relation applies to jurisdiction
type designation for an administrative territorial entity
['Prime Minister of Sweden', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Prime_Minister_of_Sweden property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q795009
Q15617994
USER
And how about Civil Aviation Authority?
(Q795009,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q795009
relation P1001
type Q15617994
['Q795009', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q795009 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
Civil Aviation Authority
action count
action filter_type
action find
entity Civil Aviation Authority
relation applies to jurisdiction
type designation for an administrative territorial entity
['Civil Aviation Authority', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Civil_Aviation_Authority property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q795009,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q795009
relation P1001
type Q15617994
[ANSWER]
['Q795009', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q795009 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Civil Aviation Authority
relation applies to jurisdiction
type designation for an administrative territorial entity
['Civil Aviation Authority', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Civil_Aviation_Authority property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4974490 Q687075
P27 P17
Q15617994
USER
Which administrative territories are Prime Minister of Sweden situated in and are the countries of citizenship of Cecilia Renfors ?
AND((Q687075,P17,c(Q15617994)), (Q4974490,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q687075
relation P17
action find
entity Q4974490
relation P27
type Q15617994
{'AND': [['Q687075', 'P17', {'concept': 'Q15617994'}], ['Q4974490', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q687075 property:P17 ?q . resource:Q4974490 property:P27 ?q }
Cecilia Renfors Prime Minister of Sweden
action filter_type
action intersection
action find
entity Prime Minister of Sweden
relation country
action find
entity Cecilia Renfors
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Prime Minister of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cecilia Renfors', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Prime_Minister_of_Sweden property:country ?q . resource:Cecilia_Renfors property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
AND((Q687075,P17,c(Q15617994)), (Q4974490,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q687075
relation P17
action find
entity Q4974490
relation P27
type Q15617994
Prime Minister of [ANSWER] are situated in central [ANSWER] and are the countries of citizenship of Cecilia Renfors
{'AND': [['Q687075', 'P17', {'concept': 'Q15617994'}], ['Q4974490', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q687075 property:P17 ?q . resource:Q4974490 property:P27 ?q }
Sweden
Prime Minister of Sweden are situated in central Sweden and are the countries of citizenship of Cecilia Renfors
Sweden
action filter_type
action intersection
action find
entity Prime Minister of Sweden
relation country
action find
entity Cecilia Renfors
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Prime Minister of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cecilia Renfors', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Prime_Minister_of_Sweden property:country ?q . resource:Cecilia_Renfors property:country_of_citizenship ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q687075
P39
Q502895
USER
Who were responsible for occupying the position of Prime Minister of Sweden ?
(c(Q502895),P39,Q687075)
action filter_type
action find_reverse
entity Q687075
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q687075']
SELECT DISTINCT ?i WHERE { ?i property:P39 resource:Q687075 . ?i rdf:type ontology:Q502895 }
Prime Minister of Sweden
action filter_type
action find_reverse
entity Prime Minister of Sweden
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden']
SELECT DISTINCT ?i WHERE { ?i property:position_held resource:Prime_Minister_of_Sweden . ?i rdf:type ontology:common_name }
[]
common name
Q53713 Q53300 Q52950
SYSTEM
Olof Palme, Hjalmar Hammarskjöld, Louis Gerhard De Geer
Q52960 Q52964 Q52969 Q52968 Q53286 Q53701 Q53642 Q53626 Q53628 Q52920 Q52922 Q2740012 Q53747 Q53660 Q53740 Q53721 Q53305 Q53300 Q52972 Q52958 Q52956 Q52950 Q53633 Q53713 Q53637 Q53733 Q53620 Q53650 Q53292 Q53294 Q53310 Q53707
(c(Q502895),P39,Q687075)
action filter_type
action find_reverse
entity Q687075
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of Prime Minister of Sweden
[{'concept': 'Q502895'}, 'P39', 'Q687075']
SELECT DISTINCT ?i WHERE { ?i property:P39 resource:Q687075 . ?i rdf:type ontology:Q502895 }
Gillis Bildt Gustaf Åkerhielm Fredrik von Otter Erik Gustaf Boström Christian Lundeberg Axel Pehrsson-Bramstorp Carl Gustaf Ekman Gerhard Louis De Geer Oscar von Sydow Fredrik Reinfeldt Carl Bildt Stefan Löfven Göran Persson Per Albin Hansson Ingvar Carlsson Thorbjörn Fälldin Carl Swartz Hjalmar Hammarskjöld Johan Ramstedt Robert Themptander Carl Johan Thyselius Louis Gerhard De Geer Ernst Trygger Olof Palme Rickard Sandler Ola Ullsten Hjalmar Branting Felix Hamrin Karl Staaff Arvid Lindman Nils Edén Tage Erlander
Olof Palme, Hjalmar Hammarskjöld and Louis Gerhard De Geer were responsible for occupying the position of Prime Minister of Sweden
Olof Palme Hjalmar Hammarskjöld Louis Gerhard De Geer
action filter_type
action find_reverse
entity Prime Minister of Sweden
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden']
SELECT DISTINCT ?i WHERE { ?i property:position_held resource:Prime_Minister_of_Sweden . ?i rdf:type ontology:common_name }
[]