Simple Question (Direct)
Simple Question
Q656027
P27
Q15617994
USER
Which administrative territory is Rudolf Duala Manga Bell a civilian of ?
(Q656027,P27,c(Q15617994))
action filter_type
action find
entity Q656027
relation P27
type Q15617994
['Q656027', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q656027 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Rudolf Duala Manga Bell
action filter_type
action find
entity Rudolf Duala Manga Bell
relation country of citizenship
type designation for an administrative territorial entity
['Rudolf Duala Manga Bell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Rudolf_Duala_Manga_Bell property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1009
SYSTEM
Cameroon
Q1009
(Q656027,P27,c(Q15617994))
action filter_type
action find
entity Q656027
relation P27
type Q15617994
[ANSWER] is Rudolf Duala Manga Bell a civilian of
['Q656027', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q656027 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Cameroon
Cameroon is Rudolf Duala Manga Bell a civilian of
Cameroon
action filter_type
action find
entity Rudolf Duala Manga Bell
relation country of citizenship
type designation for an administrative territorial entity
['Rudolf Duala Manga Bell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Rudolf_Duala_Manga_Bell property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1009
P1001
Q12737077
USER
Which occupations apply to jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q1009)
action filter_type
action find_reverse
entity Q1009
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1009']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q1009 . ?t rdf:type ontology:Q12737077 }
Cameroon
action filter_type
action find_reverse
entity Cameroon
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cameroon']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:Cameroon . ?t rdf:type ontology:occupation }
[]
occupation
Q19158914 Q21295975 Q21295128
SYSTEM
President of Cameroon, Member of the National Assembly of Cameroon, Member of the Senate of Cameroon
Q21295975 Q21295128 Q19158914 Q17051823
(c(Q12737077),P1001,Q1009)
action filter_type
action find_reverse
entity Q1009
relation P1001
type Q12737077
The [ANSWERS] apply to jurisdiction over that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q1009']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q1009 . ?t rdf:type ontology:Q12737077 }
Member of the National Assembly of Cameroon Member of the Senate of Cameroon President of Cameroon Prime Minister of Cameroon
The President of Cameroon, Member of the National Assembly of Cameroon and Member of the Senate of Cameroon apply to jurisdiction over that administrative territory
President of Cameroon Member of the National Assembly of Cameroon Member of the Senate of Cameroon
action filter_type
action find_reverse
entity Cameroon
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cameroon']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:Cameroon . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1009
P159
Q874405
USER
Which social group has its HQ location at Cameroon ?
(c(Q874405),P159,Q1009)
action filter_type
action find_reverse
entity Q1009
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q1009']
SELECT DISTINCT ?z WHERE { ?z property:P159 resource:Q1009 . ?z rdf:type ontology:Q874405 }
Cameroon
action filter_type
action find_reverse
entity Cameroon
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Cameroon']
SELECT DISTINCT ?z WHERE { ?z property:headquarters_location resource:Cameroon . ?z rdf:type ontology:social_group }
[]
social group
Q16952463
SYSTEM
Miss Cameroon
Q16952463
(c(Q874405),P159,Q1009)
action filter_type
action find_reverse
entity Q1009
relation P159
type Q874405
The [ANSWER] has its HQ location at Cameroon
[{'concept': 'Q874405'}, 'P159', 'Q1009']
SELECT DISTINCT ?z WHERE { ?z property:P159 resource:Q1009 . ?z rdf:type ontology:Q874405 }
Miss Cameroon
The Miss Cameroon has its HQ location at Cameroon
Miss Cameroon
action filter_type
action find_reverse
entity Cameroon
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Cameroon']
SELECT DISTINCT ?z WHERE { ?z property:headquarters_location resource:Cameroon . ?z rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16952463
P17
Q15617994
USER
Which administrative territory is that social group a part of ?
(Q16952463,P17,c(Q15617994))
action filter_type
action find
entity Q16952463
relation P17
type Q15617994
['Q16952463', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q16952463 property:P17 ?i }
Miss Cameroon
action filter_type
action find
entity Miss Cameroon
relation country
type designation for an administrative territorial entity
['Miss Cameroon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Miss_Cameroon property:country ?i }
[]
designation for an administrative territorial entity
Q1009
SYSTEM
Cameroon
Q1009
(Q16952463,P17,c(Q15617994))
action filter_type
action find
entity Q16952463
relation P17
type Q15617994
The [ANSWER] is that social group a part of
['Q16952463', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q16952463 property:P17 ?i }
Cameroon
The Cameroon is that social group a part of
Cameroon
action filter_type
action find
entity Miss Cameroon
relation country
type designation for an administrative territorial entity
['Miss Cameroon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Miss_Cameroon property:country ?i }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q25860233
P748
Q178706 Q12737077 Q12737077
USER
Which occupations did around the same number of institutions and occupations appoint as Secretary of State for Exiting the European Union ?
(c(Q12737077),P748,c(Q178706)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q25860233
relation P748
type Q178706
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } . ?t rdf:type ?b } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q25860233 property:P748 ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q178706 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?f = ?i ) }
Secretary of State for Exiting the European Union
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Secretary of State for Exiting the European Union
relation appointed by
type institution
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:occupation ) ( ontology:institution ) } . ?t rdf:type ?b } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Secretary_of_State_for_Exiting_the_European_Union property:appointed_by ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:institution ) ( ontology:occupation ) } } } } . FILTER ( ?f = ?i ) }
[]
institution occupation 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(Q178706)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q25860233
relation P748
type Q178706
type Q12737077
[ANSWERS] around the same number of institutions and occupations appointed as Secretary of State for Exiting the European Union
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } . ?t rdf:type ?b } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Q25860233 property:P748 ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:Q178706 ) ( ontology:Q12737077 ) } } } } . FILTER ( ?f = ?i ) }
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 around the same number of institutions and occupations appointed as Secretary of State for Exiting the European Union
President of the People's Republic of China president of FIFA Federal Chancellor of Germany
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Secretary of State for Exiting the European Union
relation appointed by
type institution
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:occupation ) ( ontology:institution ) } . ?t rdf:type ?b } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { resource:Secretary_of_State_for_Exiting_the_European_Union property:appointed_by ?u . { ?u rdf:type ?z . VALUES ( ?z ) { ( ontology:institution ) ( ontology:occupation ) } } } } . FILTER ( ?f = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3556884
P748
Q178706 Q12737077 Q12737077
USER
And what about Deputy Prime Minister of Canada?
(c(Q12737077),P748,c(Q178706)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q3556884
relation P748
type Q178706
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?t ) WHERE { { ?d property:P748 ?h . ?d rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q178706 } UNION { ?d property:P748 ?h . ?h rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q12737077 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q3556884 property:P748 ?b . { { ?b rdf:type ontology:Q178706 } UNION { ?b rdf:type ontology:Q12737077 } } } } . FILTER ( ?t = ?f ) }
Deputy Prime Minister of Canada
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Deputy Prime Minister of Canada
relation appointed by
type institution
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?t ) WHERE { { ?d property:appointed_by ?h . ?d rdf:type ontology:occupation . ?h rdf:type ontology:institution } UNION { ?d property:appointed_by ?h . ?h rdf:type ontology:occupation . ?d rdf:type ontology:occupation } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Deputy_Prime_Minister_of_Canada property:appointed_by ?b . { { ?b rdf:type ontology:institution } UNION { ?b rdf:type ontology:occupation } } } } . FILTER ( ?t = ?f ) }
[]
institution occupation occupation
Q687075 Q1749063 Q81066
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, United Nations Secretary-General
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q740126 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q1749063 Q24636364 Q14565638 Q251724 Q1161813 Q6572133 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q1192903 Q6865904 Q2741479 Q6123144 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q634291 Q3251807 Q13526082 Q6866016 Q735587 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q178706)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q3556884
relation P748
type Q178706
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?t ) WHERE { { ?d property:P748 ?h . ?d rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q178706 } UNION { ?d property:P748 ?h . ?h rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q12737077 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q3556884 property:P748 ?b . { { ?b rdf:type ontology:Q178706 } UNION { ?b rdf:type ontology:Q12737077 } } } } . FILTER ( ?t = ?f ) }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government President of the European Parliament Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland President of the United Nations General Assembly Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications 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 Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport High Representative of the Union for Foreign Affairs and Security Policy Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council 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 Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
Prime Minister of Sweden Minister for Foreign Affairs of Sweden United Nations Secretary-General
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Deputy Prime Minister of Canada
relation appointed by
type institution
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?t ) WHERE { { ?d property:appointed_by ?h . ?d rdf:type ontology:occupation . ?h rdf:type ontology:institution } UNION { ?d property:appointed_by ?h . ?h rdf:type ontology:occupation . ?d rdf:type ontology:occupation } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Deputy_Prime_Minister_of_Canada property:appointed_by ?b . { { ?b rdf:type ontology:institution } UNION { ?b rdf:type ontology:occupation } } } } . FILTER ( ?t = ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q732577
USER
Which occupations were the main subjects of approximately 23 works of art and publications 's work ?
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 23
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q732577 ) } . ?o rdf:type ?q } GROUP BY ?d } . FILTER ( ?p = 23 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
value 23
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:publication ) } . ?o rdf:type ?q } GROUP BY ?d } . FILTER ( ?p = 23 ) }
[]
occupation work of art publication
Q164236 Q16746569 Q33231
SYSTEM
war correspondent, high school student, photographer
Q164236 Q16746569 Q33231
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 23
The [ANSWERS] were the main subjects of approximately 23 works of art and publications 's work
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q732577 ) } . ?o rdf:type ?q } GROUP BY ?d } . FILTER ( ?p = 23 ) }
war correspondent high school student photographer
The war correspondent, high school student and photographer were the main subjects of approximately 23 works of art and publications 's work
war correspondent high school student photographer
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
value 23
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:publication ) } . ?o rdf:type ?q } GROUP BY ?d } . FILTER ( ?p = 23 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33231
P425
Q735
USER
Which art has photographer as thier associated field of occupation ?
(Q33231,P425,c(Q735))
action filter_type
action find
entity Q33231
relation P425
type Q735
['Q33231', 'P425', {'concept': 'Q735'}]
SELECT DISTINCT ?t WHERE { resource:Q33231 property:P425 ?t . ?t rdf:type ontology:Q735 }
photographer
action filter_type
action find
entity photographer
relation field of this occupation
type art
['photographer', 'field of this occupation', {'concept': 'art'}]
SELECT DISTINCT ?t WHERE { resource:photographer property:field_of_this_occupation ?t . ?t rdf:type ontology:art }
[]
art
Q11633
SYSTEM
photography
Q11633
(Q33231,P425,c(Q735))
action filter_type
action find
entity Q33231
relation P425
type Q735
As [ANSWER] has photographer as thier associated field of occupation
['Q33231', 'P425', {'concept': 'Q735'}]
SELECT DISTINCT ?t WHERE { resource:Q33231 property:P425 ?t . ?t rdf:type ontology:Q735 }
photography
As photography has photographer as thier associated field of occupation
photography
action filter_type
action find
entity photographer
relation field of this occupation
type art
['photographer', 'field of this occupation', {'concept': 'art'}]
SELECT DISTINCT ?t WHERE { resource:photographer property:field_of_this_occupation ?t . ?t rdf:type ontology:art }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1658894
Q735
USER
And what about illusionist?
(Q1658894,P425,c(Q735))
action filter_type
action find
entity Q1658894
relation P425
type Q735
['Q1658894', 'P425', {'concept': 'Q735'}]
SELECT DISTINCT ?a WHERE { resource:Q1658894 property:P425 ?a . ?a rdf:type ontology:Q735 }
illusionist
action filter_type
action find
entity illusionist
relation field of this occupation
type art
['illusionist', 'field of this occupation', {'concept': 'art'}]
SELECT DISTINCT ?a WHERE { resource:illusionist property:field_of_this_occupation ?a . ?a rdf:type ontology:art }
[]
art
Q148442
SYSTEM
magic
Q148442
(Q1658894,P425,c(Q735))
action filter_type
action find
entity Q1658894
relation P425
type Q735
[ANSWER]
['Q1658894', 'P425', {'concept': 'Q735'}]
SELECT DISTINCT ?a WHERE { resource:Q1658894 property:P425 ?a . ?a rdf:type ontology:Q735 }
magic
magic
action filter_type
action find
entity illusionist
relation field of this occupation
type art
['illusionist', 'field of this occupation', {'concept': 'art'}]
SELECT DISTINCT ?a WHERE { resource:illusionist property:field_of_this_occupation ?a . ?a rdf:type ontology:art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q148442 Q3531886
P106
Q502895
USER
Does Tony Doc Shiels have the profession as that art ?
(Q3531886,P106,Q148442)
action is_in
entity Q148442
action find
entity Q3531886
relation P106
['Q3531886', 'P106', 'Q148442']
ASK WHERE { resource:Q3531886 property:P106 resource:Q148442 }
magic Tony Doc Shiels
action is_in
entity magic
action find
entity Tony Doc Shiels
relation occupation
['Tony Doc Shiels', 'occupation', 'magic']
ASK WHERE { resource:Tony_Doc_Shiels property:occupation resource:magic }
[]
common name
SYSTEM
YES
(Q3531886,P106,Q148442)
action is_in
entity Q148442
action find
entity Q3531886
relation P106
[ANSWER]
['Q3531886', 'P106', 'Q148442']
ASK WHERE { resource:Q3531886 property:P106 resource:Q148442 }
Yes
action is_in
entity magic
action find
entity Tony Doc Shiels
relation occupation
['Tony Doc Shiels', 'occupation', 'magic']
ASK WHERE { resource:Tony_Doc_Shiels property:occupation resource:magic }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148442
P136
Q15416
USER
Which television program has that art as genre ?
action filter_type
action find_reverse
entity Q148442
relation P136
type Q15416
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15416 . ?o property:P136 resource:Q148442 }
magic
action filter_type
action find_reverse
entity magic
relation genre
type television program
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:television_program . ?o property:genre resource:magic }
[]
television program
Q21620821
SYSTEM
Por arte de magia
Q21620821
action filter_type
action find_reverse
entity Q148442
relation P136
type Q15416
[ANSWER] has that art as genre
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15416 . ?o property:P136 resource:Q148442 }
Por arte de magia
Por arte de magia has that art as genre
Por arte de magia
action filter_type
action find_reverse
entity magic
relation genre
type television program
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:television_program . ?o property:genre resource:magic }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33231
P417
Q502895
USER
What is the name of the patron saint of photographer ?
(Q33231,P417,c(Q502895))
action filter_type
action find
entity Q33231
relation P417
type Q502895
['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q33231 property:P417 ?e . ?e rdf:type ontology:Q502895 }
photographer
action filter_type
action find
entity photographer
relation patron saint
type common name
['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:photographer property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
common name
Q196653
SYSTEM
Saint Veronica
Q196653
(Q33231,P417,c(Q502895))
action filter_type
action find
entity Q33231
relation P417
type Q502895
The name of the patron saint of photographer is [ANSWER]
['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q33231 property:P417 ?e . ?e rdf:type ontology:Q502895 }
Saint Veronica
The name of the patron saint of photographer is Saint Veronica
Saint Veronica
action filter_type
action find
entity photographer
relation patron saint
type common name
['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:photographer property:patron_saint ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33231
P101
Q502895
USER
Which person has his/her area as that occupation ?
(c(Q502895),P101,Q196653)
action filter_type
action find_reverse
entity Q33231
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q196653']
SELECT DISTINCT ?g WHERE { ?g property:P101 resource:Q33231 . ?g rdf:type ontology:Q502895 }
photographer
action filter_type
action find_reverse
entity photographer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Saint Veronica']
SELECT DISTINCT ?g WHERE { ?g property:field_of_work resource:photographer . ?g rdf:type ontology:common_name }
[]
common name
Q3193754
SYSTEM
Kassian Cephas
Q3193754
(c(Q502895),P101,Q196653)
action filter_type
action find_reverse
entity Q33231
relation P101
type Q502895
[ANSWER] has his/her area as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q196653']
SELECT DISTINCT ?g WHERE { ?g property:P101 resource:Q33231 . ?g rdf:type ontology:Q502895 }
Kassian Cephas
Kassian Cephas has his/her area as that occupation
Kassian Cephas
action filter_type
action find_reverse
entity photographer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Saint Veronica']
SELECT DISTINCT ?g WHERE { ?g property:field_of_work resource:photographer . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3193754
P119
Q7275
USER
Which state is the tomb of that person ?
(Q3193754,P119,c(Q7275))
action filter_type
action find
entity Q3193754
relation P119
type Q7275
['Q3193754', 'P119', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q3193754 property:P119 ?z . ?z rdf:type ontology:Q7275 }
Kassian Cephas
action filter_type
action find
entity Kassian Cephas
relation place of burial
type state
['Kassian Cephas', 'place of burial', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Kassian_Cephas property:place_of_burial ?z . ?z rdf:type ontology:state }
[]
state
Q2114397
SYSTEM
Yogyakarta Sultanate
Q2114397
(Q3193754,P119,c(Q7275))
action filter_type
action find
entity Q3193754
relation P119
type Q7275
[ANSWER] the tomb of that person
['Q3193754', 'P119', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q3193754 property:P119 ?z . ?z rdf:type ontology:Q7275 }
Yogyakarta Sultanate
Yogyakarta Sultanate the tomb of that person
Yogyakarta Sultanate
action filter_type
action find
entity Kassian Cephas
relation place of burial
type state
['Kassian Cephas', 'place of burial', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Kassian_Cephas property:place_of_burial ?z . ?z rdf:type ontology:state }
[]