Simple Question (Direct)
Simple Question
Q77667
P184
Q502895
USER
Which person was the doctoral advisor of Bruno Hildebrand ?
(Q77667,P184,c(Q502895))
action filter_type
action find
entity Q77667
relation P184
type Q502895
['Q77667', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q77667 property:P184 ?a }
Bruno Hildebrand
action filter_type
action find
entity Bruno Hildebrand
relation doctoral advisor
type common name
['Bruno Hildebrand', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Bruno_Hildebrand property:doctoral_advisor ?a }
[]
common name
Q76553
SYSTEM
Maximilian Wolfgang Duncker
Q76553
(Q77667,P184,c(Q502895))
action filter_type
action find
entity Q77667
relation P184
type Q502895
[ANSWER] was the doctoral advisor of Bruno Hildebrand
['Q77667', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q77667 property:P184 ?a }
Maximilian Wolfgang Duncker
Maximilian Wolfgang Duncker was the doctoral advisor of Bruno Hildebrand
Maximilian Wolfgang Duncker
action filter_type
action find
entity Bruno Hildebrand
relation doctoral advisor
type common name
['Bruno Hildebrand', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Bruno_Hildebrand property:doctoral_advisor ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q76553
P106
Q12737077
USER
What are the job of that person ?
(Q76553,P106,c(Q12737077))
action filter_type
action find
entity Q76553
relation P106
type Q12737077
['Q76553', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q76553 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Maximilian Wolfgang Duncker
action filter_type
action find
entity Maximilian Wolfgang Duncker
relation occupation
type occupation
['Maximilian Wolfgang Duncker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Maximilian_Wolfgang_Duncker property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q201788 Q1622272
SYSTEM
historian, university teacher
Q201788 Q1622272
(Q76553,P106,c(Q12737077))
action filter_type
action find
entity Q76553
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q76553', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q76553 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
historian university teacher
The job of that person are the historian and university teacher
historian university teacher
action filter_type
action find
entity Maximilian Wolfgang Duncker
relation occupation
type occupation
['Maximilian Wolfgang Duncker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Maximilian_Wolfgang_Duncker property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17486167
Q12737077
USER
And also tell me about Kevin Bruijsten?
(Q17486167,P106,c(Q12737077))
action filter_type
action find
entity Q17486167
relation P106
type Q12737077
['Q17486167', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q17486167 property:P106 ?e }
Kevin Bruijsten
action filter_type
action find
entity Kevin Bruijsten
relation occupation
type occupation
['Kevin Bruijsten', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Kevin_Bruijsten property:occupation ?e }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q17486167,P106,c(Q12737077))
action filter_type
action find
entity Q17486167
relation P106
type Q12737077
[ANSWER]
['Q17486167', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q17486167 property:P106 ?e }
ice hockey player
ice hockey player
action filter_type
action find
entity Kevin Bruijsten
relation occupation
type occupation
['Kevin Bruijsten', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Kevin_Bruijsten property:occupation ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q261746
P748
Q1752346 Q502895 Q12737077
USER
Which occupations were appointed by approximately the same number of assemblies and people as United States Secretary of the Air Force ?
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q261746
relation P748
type Q1752346
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1752346 ) ( ontology:Q502895 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:Q1752346 } UNION { ?b rdf:type ontology:Q502895 } } . resource:Q261746 property:P748 ?b } } . FILTER ( ?q = ?c ) }
United States Secretary of the Air Force
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity United States Secretary of the Air Force
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?w . VALUES ( ?w ) { ( ontology:assembly ) ( ontology:common_name ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:assembly } UNION { ?b rdf:type ontology:common_name } } . resource:United_States_Secretary_of_the_Air_Force property:appointed_by ?b } } . FILTER ( ?q = ?c ) }
[]
assembly 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 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 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 Q20872382 Q1749063 Q20872273 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q12376089 Q27516521 Q1161813 Q20891385 Q6572133 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 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q20859386 Q967750 Q2962001 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 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 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 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q261746
relation P748
type Q1752346
type Q502895
[ANSWERS] were appointed by approximately the same number of assemblies and people as United States Secretary of the Air Force
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1752346 ) ( ontology:Q502895 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:Q1752346 } UNION { ?b rdf:type ontology:Q502895 } } . resource:Q261746 property:P748 ?b } } . FILTER ( ?q = ?c ) }
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 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 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 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 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 President of Fiji Prime Minister of Thailand member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland 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 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 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 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 Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Secretary of State of Puerto Rico Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General 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 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 Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor 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 Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff 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 and President of the People's Republic of China were appointed by approximately the same number of assemblies and people as United States Secretary of the Air Force
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity United States Secretary of the Air Force
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?w . VALUES ( ?w ) { ( ontology:assembly ) ( ontology:common_name ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:assembly } UNION { ?b rdf:type ontology:common_name } } . resource:United_States_Secretary_of_the_Air_Force property:appointed_by ?b } } . FILTER ( ?q = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q191827
P748
Q1752346 Q502895 Q12737077
USER
And how about Taoiseach?
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q191827
relation P748
type Q1752346
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?n ) WHERE { { ?h property:P748 ?o . ?h rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q1752346 } UNION { ?h property:P748 ?o . ?h rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q502895 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:Q1752346 } UNION { ?s rdf:type ontology:Q502895 } } . resource:Q191827 property:P748 ?s } } . FILTER ( ?n = ?r ) }
Taoiseach
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Taoiseach
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?n ) WHERE { { ?h property:appointed_by ?o . ?h rdf:type ontology:occupation . ?o rdf:type ontology:assembly } UNION { ?h property:appointed_by ?o . ?h rdf:type ontology:occupation . ?o rdf:type ontology:common_name } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:assembly } UNION { ?s rdf:type ontology:common_name } } . resource:Taoiseach property:appointed_by ?s } } . FILTER ( ?n = ?r ) }
[]
assembly 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 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 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 Q20872382 Q1749063 Q20872273 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q12376089 Q27516521 Q1161813 Q20891385 Q6572133 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 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q20859386 Q967750 Q2962001 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 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 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 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1752346)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q191827
relation P748
type Q1752346
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?n ) WHERE { { ?h property:P748 ?o . ?h rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q1752346 } UNION { ?h property:P748 ?o . ?h rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q502895 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:Q1752346 } UNION { ?s rdf:type ontology:Q502895 } } . resource:Q191827 property:P748 ?s } } . FILTER ( ?n = ?r ) }
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 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 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 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 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 President of Fiji Prime Minister of Thailand member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland 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 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 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 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 Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Secretary of State of Puerto Rico Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General 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 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 Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor 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 Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff 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 approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Taoiseach
relation appointed by
type assembly
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'common name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?n ) WHERE { { ?h property:appointed_by ?o . ?h rdf:type ontology:occupation . ?o rdf:type ontology:assembly } UNION { ?h property:appointed_by ?o . ?h rdf:type ontology:occupation . ?o rdf:type ontology:common_name } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { { ?s rdf:type ontology:assembly } UNION { ?s rdf:type ontology:common_name } } . resource:Taoiseach property:appointed_by ?s } } . FILTER ( ?n = ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q687075
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of Prime Minister of Sweden ?
(Q687075,P1001,c(Q15617994))
action filter_type
action find
entity Q687075
relation P1001
type Q15617994
['Q687075', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q687075 property:P1001 ?u . ?u rdf:type ontology:Q15617994 }
Prime Minister of Sweden
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 ?u WHERE { resource:Prime_Minister_of_Sweden property:applies_to_jurisdiction ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q687075,P1001,c(Q15617994))
action filter_type
action find
entity Q687075
relation P1001
type Q15617994
The [ANSWER] applies to jurisdiction of Prime Minister of [ANSWER]
['Q687075', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q687075 property:P1001 ?u . ?u rdf:type ontology:Q15617994 }
Sweden
The Sweden applies to jurisdiction of Prime Minister of Sweden
Sweden
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 ?u WHERE { resource:Prime_Minister_of_Sweden property:applies_to_jurisdiction ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21295998
Q15617994
USER
And how about Member of the National Assembly of Sao Tome and Principe?
(Q21295998,P1001,c(Q15617994))
action filter_type
action find
entity Q21295998
relation P1001
type Q15617994
['Q21295998', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q21295998 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
Member of the National Assembly of Sao Tome and Principe
action filter_type
action find
entity Member of the National Assembly of Sao Tome and Principe
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the National Assembly of Sao Tome and Principe', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Member_of_the_National_Assembly_of_Sao_Tome_and_Principe property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1039
SYSTEM
Sao Tomé and Príncipe
Q1039
(Q21295998,P1001,c(Q15617994))
action filter_type
action find
entity Q21295998
relation P1001
type Q15617994
[ANSWER]
['Q21295998', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q21295998 property:P1001 ?m . ?m rdf:type ontology:Q15617994 }
Sao Tomé and Príncipe
Sao Tomé and Príncipe
action filter_type
action find
entity Member of the National Assembly of Sao Tome and Principe
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the National Assembly of Sao Tome and Principe', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Member_of_the_National_Assembly_of_Sao_Tome_and_Principe property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21295998
P361
Q11204
USER
What is Member of the National Assembly of Sao Tome and Principe a portion of ?
(Q21295998,P361,c(Q11204))
action filter_type
action find
entity Q21295998
relation P361
type Q11204
['Q21295998', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?b WHERE { resource:Q21295998 property:P361 ?b . ?b rdf:type ontology:Q11204 }
Member of the National Assembly of Sao Tome and Principe
action filter_type
action find
entity Member of the National Assembly of Sao Tome and Principe
relation part of
type legislature
['Member of the National Assembly of Sao Tome and Principe', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?b WHERE { resource:Member_of_the_National_Assembly_of_Sao_Tome_and_Principe property:part_of ?b . ?b rdf:type ontology:legislature }
[]
legislature
Q1267064
SYSTEM
National Assembly
Q1267064
(Q21295998,P361,c(Q11204))
action filter_type
action find
entity Q21295998
relation P361
type Q11204
Member of the [ANSWER] of Sao Tome and Principe is a portion of the [ANSWER]
['Q21295998', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?b WHERE { resource:Q21295998 property:P361 ?b . ?b rdf:type ontology:Q11204 }
National Assembly
Member of the National Assembly of Sao Tome and Principe is a portion of the National Assembly
National Assembly
action filter_type
action find
entity Member of the National Assembly of Sao Tome and Principe
relation part of
type legislature
['Member of the National Assembly of Sao Tome and Principe', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?b WHERE { resource:Member_of_the_National_Assembly_of_Sao_Tome_and_Principe property:part_of ?b . ?b rdf:type ontology:legislature }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11701
Q11204
USER
And also tell me about United States House of Representatives?
(Q11701,P361,c(Q11204))
action filter_type
action find
entity Q11701
relation P361
type Q11204
['Q11701', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?q WHERE { resource:Q11701 property:P361 ?q . ?q rdf:type ontology:Q11204 }
United States House of Representatives
action filter_type
action find
entity United States House of Representatives
relation part of
type legislature
['United States House of Representatives', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?q WHERE { resource:United_States_House_of_Representatives property:part_of ?q . ?q rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q11701,P361,c(Q11204))
action filter_type
action find
entity Q11701
relation P361
type Q11204
[ANSWER]
['Q11701', 'P361', {'concept': 'Q11204'}]
SELECT DISTINCT ?q WHERE { resource:Q11701 property:P361 ?q . ?q rdf:type ontology:Q11204 }
United States Congress
United States Congress
action filter_type
action find
entity United States House of Representatives
relation part of
type legislature
['United States House of Representatives', 'part of', {'concept': 'legislature'}]
SELECT DISTINCT ?q WHERE { resource:United_States_House_of_Representatives property:part_of ?q . ?q rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11701
P276
Q1914636
USER
What is situated at that House of Representatives ?
(c(Q1914636),P276,Q11268)
action filter_type
action find_reverse
entity Q11701
relation P276
type Q1914636
[{'concept': 'Q1914636'}, 'P276', 'Q11268']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q11701 . ?u rdf:type ontology:Q1914636 }
United States House of Representatives
action filter_type
action find_reverse
entity United States House of Representatives
relation location
type activity
[{'concept': 'activity'}, 'location', 'United States Congress']
SELECT DISTINCT ?u WHERE { ?u property:location resource:United_States_House_of_Representatives . ?u rdf:type ontology:activity }
[]
activity
Q24726717
SYSTEM
2016 House Democrats sit-in
Q24726717
(c(Q1914636),P276,Q11268)
action filter_type
action find_reverse
entity Q11701
relation P276
type Q1914636
[ANSWER] is situated at that House of Representatives
[{'concept': 'Q1914636'}, 'P276', 'Q11268']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q11701 . ?u rdf:type ontology:Q1914636 }
2016 House Democrats sit-in
2016 House Democrats sit-in is situated at that House of Representatives
2016 House Democrats sit-in
action filter_type
action find_reverse
entity United States House of Representatives
relation location
type activity
[{'concept': 'activity'}, 'location', 'United States Congress']
SELECT DISTINCT ?u WHERE { ?u property:location resource:United_States_House_of_Representatives . ?u rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P159
Q4830453
USER
Which business enterprises have the principal seat at Spain ?
(c(Q4830453),P159,Q29)
action filter_type
action find_reverse
entity Q29
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q29']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q29 . ?p rdf:type ontology:Q4830453 }
Spain
action filter_type
action find_reverse
entity Spain
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Spain']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:Spain . ?p rdf:type ontology:business_enterprise }
[]
business enterprise
Q17064788 Q1946170
SYSTEM
CASA, Montesa Honda
Q17064788 Q1946170
(c(Q4830453),P159,Q29)
action filter_type
action find_reverse
entity Q29
relation P159
type Q4830453
[ANSWERS] have the principal seat at Spain
[{'concept': 'Q4830453'}, 'P159', 'Q29']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q29 . ?p rdf:type ontology:Q4830453 }
CASA Montesa Honda
CASA and Montesa Honda have the principal seat at Spain
CASA Montesa Honda
action filter_type
action find_reverse
entity Spain
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Spain']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:Spain . ?p rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17064788 Q1946170
P159
Q15617994
USER
Where are the head office for those business enterprises located ?
(Q17064788,P159,c(Q15617994)) (Q1946170,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
['Q17064788', 'P159', {'concept': 'Q15617994'}] ['Q1946170', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?j property:P159 ?p . ?p rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q17064788 ) ( resource:Q1946170 ) } }
CASA Montesa Honda
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['CASA', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Montesa Honda', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?j property:headquarters_location ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:CASA ) ( resource:Montesa_Honda ) } }
[]
designation for an administrative territorial entity
Q29 Q29
SYSTEM
Spain
Q29 Q29
(Q17064788,P159,c(Q15617994)) (Q1946170,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
Are the head office for those business enterprises located in [ANSWER] and [ANSWER]
['Q17064788', 'P159', {'concept': 'Q15617994'}] ['Q1946170', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?j property:P159 ?p . ?p rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q17064788 ) ( resource:Q1946170 ) } }
Spain Spain
Are the head office for those business enterprises located in Spain and Spain
Spain Spain
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['CASA', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Montesa Honda', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?j property:headquarters_location ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:CASA ) ( resource:Montesa_Honda ) } }
[]