Simple Question (Direct)
Simple Question
Q1132872
P69
Q163740
USER
Which nonprofit organization is Corinne Boyd Riley an alumni of ?
(Q1132872,P69,c(Q163740))
action filter_type
action find
entity Q1132872
relation P69
type Q163740
['Q1132872', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q1132872 property:P69 ?b . ?b rdf:type ontology:Q163740 }
Corinne Boyd Riley
action filter_type
action find
entity Corinne Boyd Riley
relation educated at
type nonprofit organization
['Corinne Boyd Riley', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Corinne_Boyd_Riley property:educated_at ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q5166453
SYSTEM
Converse College
Q5166453
(Q1132872,P69,c(Q163740))
action filter_type
action find
entity Q1132872
relation P69
type Q163740
Was [ANSWER] is Corinne Boyd Riley an alumni of
['Q1132872', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q1132872 property:P69 ?b . ?b rdf:type ontology:Q163740 }
Converse College
Was Converse College is Corinne Boyd Riley an alumni of
Converse College
action filter_type
action find
entity Corinne Boyd Riley
relation educated at
type nonprofit organization
['Corinne Boyd Riley', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Corinne_Boyd_Riley property:educated_at ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1132872
P106
Q12737077
USER
What is the job of Corinne Boyd Riley ?
(Q1132872,P106,c(Q12737077))
action filter_type
action find
entity Q1132872
relation P106
type Q12737077
['Q1132872', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1132872 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Corinne Boyd Riley
action filter_type
action find
entity Corinne Boyd Riley
relation occupation
type occupation
['Corinne Boyd Riley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Corinne_Boyd_Riley property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1132872,P106,c(Q12737077))
action filter_type
action find
entity Q1132872
relation P106
type Q12737077
The job of Corinne Boyd Riley is a [ANSWER]
['Q1132872', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1132872 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
politician
The job of Corinne Boyd Riley is a politician
politician
action filter_type
action find
entity Corinne Boyd Riley
relation occupation
type occupation
['Corinne Boyd Riley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Corinne_Boyd_Riley property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1132872
P39
Q12737077
USER
What was the position held by that person ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q1132872
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q1132872 property:P39 ?v }
Corinne Boyd Riley
action filter_type
action find
entity Corinne Boyd Riley
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Corinne_Boyd_Riley property:position_held ?v }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q1132872
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q1132872 property:P39 ?v }
United States representative
The position held by that person was a United States representative
United States representative
action filter_type
action find
entity Corinne Boyd Riley
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Corinne_Boyd_Riley property:position_held ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q13218630 Q629808 Q1530405
P1001
Q15617994
USER
Does that occupation have jurisdiction over Hörscheid and Olgina ?
(Q13218630,P1001,Q629808) (Q13218630,P1001,Q1530405)
action is_in
entity Q13218630
action intersection
action find_reverse
entity Q629808
relation P1001
action find_reverse
entity Q1530405
relation P1001
['Q13218630', 'P1001', 'Q629808'] ['Q13218630', 'P1001', 'Q1530405']
ASK WHERE { resource:Q13218630 property:P1001 resource:Q629808 . resource:Q13218630 property:P1001 resource:Q1530405 }
United States representative Hörscheid Olgina
action is_in
entity United States representative
action intersection
action find_reverse
entity Hörscheid
relation applies to jurisdiction
action find_reverse
entity Olgina
relation applies to jurisdiction
['United States representative', 'applies to jurisdiction', 'Hörscheid'] ['United States representative', 'applies to jurisdiction', 'Olgina']
ASK WHERE { resource:United_States_representative property:applies_to_jurisdiction resource:Hörscheid . resource:United_States_representative property:applies_to_jurisdiction resource:Olgina }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q13218630,P1001,Q629808) (Q13218630,P1001,Q1530405)
action is_in
entity Q13218630
action intersection
action find_reverse
entity Q629808
relation P1001
action find_reverse
entity Q1530405
relation P1001
[ANSWER]
['Q13218630', 'P1001', 'Q629808'] ['Q13218630', 'P1001', 'Q1530405']
ASK WHERE { resource:Q13218630 property:P1001 resource:Q629808 . resource:Q13218630 property:P1001 resource:Q1530405 }
No
action is_in
entity United States representative
action intersection
action find_reverse
entity Hörscheid
relation applies to jurisdiction
action find_reverse
entity Olgina
relation applies to jurisdiction
['United States representative', 'applies to jurisdiction', 'Hörscheid'] ['United States representative', 'applies to jurisdiction', 'Olgina']
ASK WHERE { resource:United_States_representative property:applies_to_jurisdiction resource:Hörscheid . resource:United_States_representative property:applies_to_jurisdiction resource:Olgina }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q890030
P748
Q701632 Q1307214 Q12737077
USER
How many occupations did around the same number of municipal councils or forms of government appoint as State President of South Africa ?
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q890030
relation P748
type Q701632
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?d WHERE { VALUES ( ?r ) { ( ontology:Q701632 ) ( ontology:Q1307214 ) } . ?i rdf:type ?r } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q890030 property:P748 ?n . { { ?n rdf:type ontology:Q701632 } UNION { ?n rdf:type ontology:Q1307214 } } } } . FILTER ( ?p = ?v ) }
State President of South Africa
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity State President of South Africa
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?d WHERE { VALUES ( ?r ) { ( ontology:municipal_council ) ( ontology:form_of_government ) } . ?i rdf:type ?r } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:State_President_of_South_Africa property:appointed_by ?n . { { ?n rdf:type ontology:municipal_council } UNION { ?n rdf:type ontology:form_of_government } } } } . FILTER ( ?p = ?v ) }
[]
municipal council form of government occupation
SYSTEM
288
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q2631987 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q596123 Q7444340 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q2747647 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q890030
relation P748
type Q701632
type Q1307214
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?d WHERE { VALUES ( ?r ) { ( ontology:Q701632 ) ( ontology:Q1307214 ) } . ?i rdf:type ?r } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q890030 property:P748 ?n . { { ?n rdf:type ontology:Q701632 } UNION { ?n rdf:type ontology:Q1307214 } } } } . FILTER ( ?p = ?v ) }
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 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 Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana 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 Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach United States Secretary of Agriculture European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords 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 Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Prime Minister of Libya Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland 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 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 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 Chancellor of the Exchequer 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 Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy 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 List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas 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 Prime Minister of Malaysia 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 Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor 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 Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands 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 Prime Minister of Malta 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 Governor of Gibraltar 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 Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia 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 Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office 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 Minister for Women and Equalities Prime Minister of Poland 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 Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union 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
288
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity State President of South Africa
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?d WHERE { VALUES ( ?r ) { ( ontology:municipal_council ) ( ontology:form_of_government ) } . ?i rdf:type ?r } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:State_President_of_South_Africa property:appointed_by ?n . { { ?n rdf:type ontology:municipal_council } UNION { ?n rdf:type ontology:form_of_government } } } } . FILTER ( ?p = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1749063
P748
Q701632 Q1307214 Q12737077
USER
And what about Minister for Foreign Affairs of Sweden?
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q1749063
relation P748
type Q701632
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?q ) WHERE { { ?d property:P748 ?g . ?d rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q701632 } UNION { ?d rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q1307214 . ?d property:P748 ?g } } GROUP BY ?d } . FILTER ( ?q = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q1749063 property:P748 ?e . { { ?e rdf:type ontology:Q701632 } UNION { ?e rdf:type ontology:Q1307214 } } } } }
Minister for Foreign Affairs of Sweden
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Minister for Foreign Affairs of Sweden
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?q ) WHERE { { ?d property:appointed_by ?g . ?d rdf:type ontology:occupation . ?g rdf:type ontology:municipal_council } UNION { ?d rdf:type ontology:occupation . ?g rdf:type ontology:form_of_government . ?d property:appointed_by ?g } } GROUP BY ?d } . FILTER ( ?q = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Minister_for_Foreign_Affairs_of_Sweden property:appointed_by ?e . { { ?e rdf:type ontology:municipal_council } UNION { ?e rdf:type ontology:form_of_government } } } } }
[]
municipal council form of government occupation
SYSTEM
288
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q2631987 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q596123 Q7444340 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q2747647 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q1749063
relation P748
type Q701632
type Q1307214
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?q ) WHERE { { ?d property:P748 ?g . ?d rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q701632 } UNION { ?d rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q1307214 . ?d property:P748 ?g } } GROUP BY ?d } . FILTER ( ?q = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q1749063 property:P748 ?e . { { ?e rdf:type ontology:Q701632 } UNION { ?e rdf:type ontology:Q1307214 } } } } }
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 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 Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana 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 Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach United States Secretary of Agriculture European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords 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 Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Prime Minister of Libya Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland 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 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 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 Chancellor of the Exchequer 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 Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy 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 List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas 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 Prime Minister of Malaysia 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 Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor 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 Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands 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 Prime Minister of Malta 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 Governor of Gibraltar 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 Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia 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 Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office 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 Minister for Women and Equalities Prime Minister of Poland 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 Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union 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
288
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Minister for Foreign Affairs of Sweden
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?q ) WHERE { { ?d property:appointed_by ?g . ?d rdf:type ontology:occupation . ?g rdf:type ontology:municipal_council } UNION { ?d rdf:type ontology:occupation . ?g rdf:type ontology:form_of_government . ?d property:appointed_by ?g } } GROUP BY ?d } . FILTER ( ?q = ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Minister_for_Foreign_Affairs_of_Sweden property:appointed_by ?e . { { ?e rdf:type ontology:municipal_council } UNION { ?e rdf:type ontology:form_of_government } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q26510931 Q1132872
P27 P17
Q15617994
USER
Which administrative territories are Corinne Boyd Riley a civilian of or are Haydon Farmhouse situated in ?
OR((Q1132872,P27,c(Q15617994)), (Q26510931,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1132872
relation P27
action find
entity Q26510931
relation P17
type Q15617994
{'OR': [['Q1132872', 'P27', {'concept': 'Q15617994'}], ['Q26510931', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q26510931 property:P17 ?z } UNION { resource:Q1132872 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Haydon Farmhouse Corinne Boyd Riley
action filter_type
action union
action find
entity Corinne Boyd Riley
relation country of citizenship
action find
entity Haydon Farmhouse
relation country
type designation for an administrative territorial entity
{'OR': [['Corinne Boyd Riley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Haydon Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Haydon_Farmhouse property:country ?z } UNION { resource:Corinne_Boyd_Riley property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q1132872,P27,c(Q15617994)), (Q26510931,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1132872
relation P27
action find
entity Q26510931
relation P17
type Q15617994
[ANSWERS] are Corinne Boyd Riley a civilian of or are Haydon Farmhouse situated in
{'OR': [['Q1132872', 'P27', {'concept': 'Q15617994'}], ['Q26510931', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q26510931 property:P17 ?z } UNION { resource:Q1132872 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
United States of America United Kingdom
United States of America and United Kingdom are Corinne Boyd Riley a civilian of or are Haydon Farmhouse situated in
United States of America United Kingdom
action filter_type
action union
action find
entity Corinne Boyd Riley
relation country of citizenship
action find
entity Haydon Farmhouse
relation country
type designation for an administrative territorial entity
{'OR': [['Corinne Boyd Riley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Haydon Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Haydon_Farmhouse property:country ?z } UNION { resource:Corinne_Boyd_Riley property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P169
Q502895 Q1002697 Q28640
USER
Which people are the chief executive officer of min number of periodical literatures and professions ?
(c(Q1002697)|c(Q28640),P169,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
[[{'concept': 'Q1002697'}, {'concept': 'Q28640'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?u ) { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?h ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q28640 ) ( ontology:Q1002697 ) } } GROUP BY ?a } } . FILTER ( ?k = ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P169 ?e . ?e rdf:type ontology:Q502895 . ?t rdf:type ontology:Q28640 } UNION { ?t property:P169 ?e . ?e rdf:type ontology:Q502895 . ?t rdf:type ontology:Q1002697 } } GROUP BY ?e } }
action argmin
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
[[{'concept': 'periodical literature'}, {'concept': 'profession'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?u ) { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?h ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:profession ) ( ontology:periodical_literature ) } } GROUP BY ?a } } . FILTER ( ?k = ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:chief_executive_officer ?e . ?e rdf:type ontology:common_name . ?t rdf:type ontology:profession } UNION { ?t property:chief_executive_officer ?e . ?e rdf:type ontology:common_name . ?t rdf:type ontology:periodical_literature } } GROUP BY ?e } }
[]
common name periodical literature profession
Q55174 Q264913 Q19837
SYSTEM
Meg Whitman, Indra Nooyi, Steve Jobs
Q19896671 Q19859052 Q4924118 Q18121649 Q19896679 Q717674 Q4777590 Q6767603 Q6198907 Q18582318 Q18171895 Q2593207 Q4682572 Q23416738 Q7803096 Q4117176 Q3309313 Q7586364 Q16204309 Q23007304 Q7279392 Q19609868 Q626113 Q55174 Q16216779 Q16886381 Q4767290 Q26722512 Q6195201 Q21000395 Q16206015 Q7803316 Q19803807 Q337024 Q23902590 Q1002290 Q3170168 Q15966868 Q8273280 Q19609597 Q6381449 Q1929047 Q6193526 Q21192348 Q1670490 Q21006405 Q55183 Q92747 Q11898683 Q5300803 Q15121971 Q782805 Q7612483 Q16200426 Q713588 Q11113686 Q17059044 Q2622748 Q6237227 Q5211708 Q4980260 Q1444268 Q21933487 Q7024365 Q4487 Q18342983 Q16236293 Q21781591 Q19665536 Q19664437 Q3021823 Q6847900 Q597242 Q6227807 Q2745626 Q23664152 Q3119209 Q18219695 Q4707007 Q4409579 Q1901431 Q20855800 Q19829617 Q9000717 Q18613010 Q1512302 Q3369699 Q418622 Q113969 Q5677222 Q1359151 Q13718768 Q5627332 Q12035832 Q6384834 Q1443742 Q19254729 Q24727838 Q6131851 Q1229223 Q103473 Q44430 Q17135000 Q5524807 Q23018095 Q21263939 Q740364 Q27133665 Q3528191 Q14755556 Q3242603 Q16188729 Q17627170 Q9097127 Q1497297 Q2727190 Q4952317 Q264913 Q20825696 Q3507411 Q7340146 Q6215569 Q15439301 Q21066734 Q3345826 Q3169317 Q65445 Q26878730 Q524263 Q16163305 Q721491 Q59474 Q7426870 Q435716 Q347418 Q16727878 Q49971 Q1392181 Q10819807 Q24251142 Q6274218 Q27349329 Q681012 Q2360382 Q22980339 Q23034479 Q450628 Q1066556 Q3658951 Q7668816 Q17087799 Q109782 Q98027 Q4699676 Q12384244 Q18175766 Q5577535 Q21004842 Q123692 Q711976 Q18205587 Q20177315 Q26858789 Q16873061 Q218630 Q3737720 Q26905038 Q4772605 Q18619565 Q5619138 Q16733044 Q5590777 Q21060078 Q27609221 Q8421760 Q15293536 Q20177969 Q17508950 Q7519396 Q11979764 Q16876158 Q1440023 Q926972 Q491580 Q95307 Q5231122 Q1566005 Q4208213 Q429046 Q6765006 Q20962718 Q12588013 Q19594969 Q13503320 Q7524 Q7051936 Q46000 Q3178749 Q20203686 Q21030051 Q15042554 Q3524436 Q3442764 Q5619555 Q7322775 Q17627778 Q26738895 Q14551654 Q26924811 Q11861807 Q4228233 Q346081 Q6956802 Q6699092 Q3318585 Q1666888 Q17295710 Q16727895 Q1355678 Q26218178 Q539281 Q382472 Q1409036 Q11202781 Q4117408 Q1385513 Q19663497 Q1378278 Q4934 Q15903779 Q7436333 Q7935934 Q5278137 Q2848353 Q911264 Q25713864 Q23048203 Q18711513 Q251711 Q19849269 Q556539 Q1701254 Q1150479 Q11971696 Q5959106 Q8051043 Q19664216 Q380912 Q93014 Q716082 Q6356756 Q6531032 Q16193869 Q1347130 Q181162 Q7810321 Q20827632 Q1572591 Q825590 Q7688294 Q5242415 Q7784029 Q7329143 Q983111 Q2324303 Q12044833 Q86582 Q7340307 Q60805 Q17486463 Q1443067 Q11774225 Q1721259 Q26903671 Q152871 Q20669523 Q4777034 Q16937727 Q22138495 Q5045423 Q7341739 Q4307679 Q3159014 Q293679 Q335552 Q2078625 Q912811 Q6259380 Q18158484 Q47213 Q20670264 Q18655519 Q18351457 Q21013077 Q153284 Q731705 Q5214356 Q16148720 Q36215 Q22279080 Q21806452 Q4452881 Q7804077 Q15064277 Q1680943 Q7608947 Q3159840 Q6491586 Q4957609 Q1173809 Q472330 Q18684933 Q4954314 Q2587167 Q2345564 Q4082480 Q20177073 Q1363852 Q7496573 Q467644 Q389597 Q658709 Q18720220 Q27063165 Q195993 Q6070096 Q25850434 Q16999646 Q18324728 Q4885723 Q26207337 Q5704388 Q901670 Q732157 Q4758328 Q24045798 Q16011625 Q1608491 Q19842303 Q20978753 Q2849007 Q1701260 Q24007473 Q1701854 Q92955 Q1700049 Q103859 Q331401 Q1344392 Q1511450 Q6011806 Q1074632 Q1692250 Q20056287 Q593330 Q260137 Q6270693 Q20962527 Q709063 Q1933320 Q18233674 Q2165536 Q6181992 Q3340804 Q1223089 Q4760775 Q7159630 Q16195575 Q8070360 Q21030040 Q21030041 Q1239543 Q12321699 Q14927550 Q2790774 Q7836291 Q12606246 Q1408914 Q18755123 Q11875054 Q17152073 Q6161101 Q312556 Q2850820 Q12316202 Q16194176 Q19957089 Q110406 Q1680807 Q6069855 Q6175245 Q65464 Q3185348 Q5233652 Q15999653 Q186601 Q4948829 Q19862201 Q8992399 Q4766724 Q1806074 Q10297071 Q6256206 Q2476676 Q7285954 Q105330 Q18344447 Q6090854 Q3158153 Q3218882 Q18206337 Q7807331 Q500976 Q7306657 Q5221979 Q369783 Q20975613 Q16734998 Q22669390 Q19854934 Q118816 Q15067369 Q3741738 Q23759047 Q84587 Q2756226 Q7608884 Q18085292 Q7407093 Q7176651 Q19868496 Q4090816 Q3302155 Q21278777 Q11549950 Q1599154 Q5236586 Q1376418 Q7297350 Q21029546 Q659356 Q16741739 Q25999295 Q1575930 Q98626 Q26637897 Q117407 Q4400069 Q39318 Q6206566 Q718292 Q6768102 Q559347 Q983734 Q18084741 Q9631179 Q14086 Q6779013 Q7609902 Q27114809 Q1328888 Q26908223 Q23927260 Q1575640 Q1262912 Q7804012 Q20468209 Q7456439 Q6183209 Q3420527 Q7340009 Q18222074 Q4191933 Q11928620 Q2642785 Q22575791 Q26208348 Q554077 Q101174 Q6307615 Q1096915 Q7147677 Q215284 Q22953554 Q20970812 Q107571 Q26638506 Q317521 Q4805143 Q5145038 Q3380832 Q4008699 Q10950854 Q22958497 Q5218322 Q1394937 Q5273200 Q16843940 Q724440 Q15728648 Q5294282 Q421864 Q64088 Q7609478 Q1889898 Q1148995 Q6273164 Q26132792 Q20215432 Q18654783 Q16910059 Q20963736 Q10858630 Q2800420 Q12572999 Q16256316 Q21662949 Q974228 Q4245 Q16730634 Q23759747 Q21979002 Q7794754 Q4731870 Q4482287 Q16935414 Q1586568 Q10321870 Q107797 Q5867981 Q7803408 Q4963341 Q11996909 Q18921689 Q4943783 Q22137354 Q117289 Q2199420 Q4655570 Q2468051 Q21063274 Q27146971 Q17275421 Q5605358 Q1386366 Q5618950 Q3569110 Q20743254 Q1169885 Q7614629 Q16218441 Q516550 Q17988783 Q449120 Q92434 Q5558291 Q19837 Q12624119 Q4935260 Q3503829 Q20668017 Q3023213 Q1045681 Q16909279 Q706222 Q265852 Q4123823 Q96270 Q17277578 Q5605778 Q5693758 Q717038 Q4245329 Q92995 Q5552438 Q718172 Q16240991 Q6397255 Q3082719 Q6172644 Q7088140 Q96770 Q2886450 Q6708744 Q19842482 Q11935031 Q11456421 Q7644370 Q7698068 Q716902 Q313915 Q18091304 Q7519508 Q776008 Q16728924 Q2821286 Q2418452 Q24050958 Q7240183 Q4297328 Q3022761 Q18412953 Q17119772 Q6113311 Q21001808 Q4716022 Q27830774 Q21629416 Q21096194 Q699696 Q16337998 Q6178460 Q1082789 Q4980554 Q1690188 Q17114394 Q21066802 Q24049135 Q16855193 Q92879 Q3063832 Q22096796 Q19878836
(c(Q1002697)|c(Q28640),P169,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
action find_reverse_tuple_counts
relation P169
type Q502895
type Q28640
[ANSWERS] are the chief executive officer of min number of periodical literatures and professions
[[{'concept': 'Q1002697'}, {'concept': 'Q28640'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?u ) { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?h ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:Q28640 ) ( ontology:Q1002697 ) } } GROUP BY ?a } } . FILTER ( ?k = ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P169 ?e . ?e rdf:type ontology:Q502895 . ?t rdf:type ontology:Q28640 } UNION { ?t property:P169 ?e . ?e rdf:type ontology:Q502895 . ?t rdf:type ontology:Q1002697 } } GROUP BY ?e } }
Tim Jenkins Justyn Howard Blair Jenkins Andrew Witty Zaw Thet Gerrit Zalm António Mota de Sousa Horta Osório Mark Fields Jim Whitehurst Giuliana Mancini Balesh Sharma Peter Hartman Adhyaksa Dault Jason Barnard Tim Armstrong Robert Kotick Michel Combes Sridhar Vembu Alan Clark Silvy Wright Rachel Schofield Chandra Shekhar Ghosh Cho Yang-ho Meg Whitman Jeremy Stoppelman Erik Voorhees Anna Maria Chávez Antoni Cases Jim Gianopulos Franz Borgias Mayer Darren Throop Tim Clark Steven H. Gunby John Sculley Ilkka Paananen Ryōji Chūbachi Jean-Yves Le Gall David Schraven Terry Semel Anisha Singh Kazuhiko Torishima Michael Rockenschaub Jim Bankoff Ahmet Furkan Tarhan Wolfgang Büchner Matthew E. Bershadker Susan Wojcicki Eric Schmidt Tuomo Saikkonen Doug Parker Phil Libin Samuel J. Palmisano Steve Ells Fraser Brown Gil Amelio Liang Xinjun Nick Woodman Shantanu Narayen John Hailer Dalton Philips Bryan Morrison Frank Strauß Evangelos Mytilineos Nicandro Durante Federico Gamboa Patrick Pouyanné William LeGate Lyubomir Penev Dan Siroker Zhang Lei Delphine Ernotte Mike McCue Michael O'Leary John Cryan Bruce Chizen Andrew Conrad Guerrino De Luca Heinz-Andreas Ehm Alan Joyce Vitaly Satskiy Markus Dohle Takahiro Hachigō Jess Lee Lei Jun Magnus Faxén Gerhard Prinz Patrick Michel Akio Toyoda Peter Löscher Harvey Golub Lloyd Blankfein Maksym Tymchenko Justin King Martin Roman Keith Nosbusch Philipp Kässbohrer Igor Tkachuk Greg Waldorf James Cracchiolo Sergio Marchionne Georg August Zenker Vince McMahon Winfried Vahland Gary C. Kelly Greg Maffei Paul Vogt Yang Yuanqing Hanny Arens Tidjane Thiam Willie Robertson Lissa Pillu Jaume Claramunt i Mesa Jim Zemlin Yoichi Erikawa Wolfgang Kirsch Karsanbhai Patel Eva Hamilton Indra Nooyi Andrea Pennacchia Šimon Pánek Rob Fyfe Jakob Trollbäck Evan Spiegel Oscar Munoz Noël Goutard Jean-Pierre Garnier Dieter Zetsche Alex Jasin Joan Carreras i Martí Albert Royo i Mariné Vincent Bolloré Bjørn Kjos Satya Nadella Thomas J. Watson Gabe Newell John K. Castle Ginni Rometty Muhtar Kent Andrej Babiš Grant Dalgliesh Jonathan Reckford Marc Harrison Walter Isaacson Stéphane Richard Patrick Nilsson Katherine Maher Safra A. Catz Charles de Haes Sergey Gaplikov T. Vincent Learson Paul Ricci Heinrich Hiesinger Ulrich Bez Ajaypal Singh Banga Basilio Álvarez Kiyoshi Asai Goh Choon Phong Muriel Anton Nicolas Hayek Mark Hurd Stefan Borgas Ragnar Kruse Hennadii Zhukov Mike Boich Michael Dell Fabio Gallia Massimo Di Primio Anthony Goldbloom Devin Wenig Gunnar Svedberg James Murren Wesley Bush Rim Ji-hoon Russel Currie Jay Walder Martyn Harrow Chris Babel Emmanuel Roman Simon Moutter Jørund Vandvik Ryan Merkley Jim Ratcliffe Michael Scott Eric Mun Tom Enders David Barger Werner Breitschwerdt Adam D'Angelo Jay Park Mario Vella Bruce Flatt Kim Youngmin Ulrich Spiesshofer Gennady Fadeev Sue Gardner Norman B. Anderson Thomas Watson Jim Buckmaster José María de Mora Ian S Ferguson Andrew Mackenzie Thierry Morin Ross Levinsohn Gunvor Ulstein Ricardo Poma Mark Darby Stefan Ermisch Robert Ferko Jim Cantrell Heikki Allonen Viktor Kolodyazhny Christophe de Margerie Nabeel Gareeb Ludvig G. Braathen Mohamed Hassan Bensalah Stuart Gulliver Daniel Beneš Derek Cha Jim Skinner Maged Gamani Chanda Kochhar Ivica Todorić Walter Hitzinger Juha Wuolijoki Akbar Al Baker Fritz Könecke Bill Block Wilhelm Haspel Larry Page Pavel Richter Scott Flanders Vishal Sikka Ding Lei André Navarri John P. Jumper Marco Lambertini Youssef al-Raissouni Jacques Vandier Ángel Herrera Oria Dave Goldberg Jean-Bernard Lévy John Oliver Driss Benhima Geir Isaksen Jan Ling Yechiel Eckstein Jason Kothari Neil Aspinall Max Levchin Eliezer Shkedi Ken Kobayashi Leslie Moonves Sophie Turner Laing Maurice Lévy Steve Ballmer Titus Naikuni Dave Keil René Obermann Bernhard Maier Tatsumi Kimishima Dawn Airey Thierry Bogaert Richard Solomons Stephen Elop Jørgen Vig Knudstorp Petr Dvořák Jürgen E. Schrempp Rob Lewis Rinat Akhmetov Binny Bansal Frank T. Cary Daniel Křetínský Kai-Uwe Ricke Shubham Badal Karl-Heinz Rummenigge Mark Bernhard Antonio Vázquez Romero Thomas Jorberg David R. Casper Carolyn McCall Robert B. Pamplin, Jr. Fyodor Muravchenko Jacques Gounon Al-Waleed bin Talal Jack Dorsey Peter Terium Brian Moynihan John Strangfeld Stew Leonard, Jr. Warren Buffett Philippe Fortunato George Michel Dev Ittycheria Michael Rüdiger Ahmed bin Saeed Al Maktoum Dhanin Chearavanont Dan Schulman Arnold W. Donald Mark Zuckerberg Marvin Ellison Isaac Dabah Vasil Tatsiy Tim O'Toole Andrew Wilson James P. Leape Stephen Cooper Jacques Rapoport Lars Kobberstad Christina Jutterström David Braben Howard Schultz Kimberly S. Bowers Brad Tilden Vladimir Lotariev John Neal Oleg Belozyorov Laura Quinn Louis V. Gerstner Shikha Sharma Alexey Miller Russell Coutts Sanjay Jha Randy Rogers Shu Yinbiao Jean-Paul Agon Pedro Sala y Villaret William David Butler-Adams Víctor Pérez i Pallarés Boyan Slat Ben Golub Aleksander Kutela Helga Stephenson Daniel Ek Yevgeny Adamov Andrew Puzder Don Slager A. C. N. Nambiar Mike Davis Ted Virtue Glenn J. Williams Andrés Conesa Labastida John R. Opel Ian Grabiner John Stumpf Nat Friedman John Fellows Akers Joe Kaeser Rex Tillerson John Warnock Gerhard Cromme Sam Nilsson Jean-Cyril Spinetta Kjeld Kirk Kristiansen Elena Viktorovna Burmistrova Jordi Carbonell i de Ballester Carol Bartz Jon Feltheimer Alex Algard Arthur D. Levinson Mike McCormack Wu Xiaohui Ron Sommer Jeremy Vine Nicolas Surcouf Dieter von Holtzbrinck Andy Harrison Pedro Heilbron Muzzammil Hassan Zhang Xin Martin Lund John Lazar Don Thompson Kenneth Luciani Michael Lynton Kenneth M. Jacobs Travis Kalanick Yang Min-suk Kelly Perdew Harpal Kumar Lauri Kivinen Nitin Rakesh Vicente Díez Canseco Jeff Bezos Anne-Marie Bertrand Hemming Van Howard Lutnick Parker Conrad Karlheinz Kaske James McNerney Irina Krohn Jeff Weiner Klaus Kleinfeld Joseph Mayer David Fischel Justin Potter Lee Min-woo Pam Fredman Ralph Izzo Yoshitaka Kitao Ann Van Gysel Larry Merlo Jeremy Darroch John S. Chen Ulrich Schröder Rajeev Suri Thorsten Heins Michael Seifert Bo Samuelsson Jacques Aschenbroich Laurence D. Fink Darko Dejanovic Timothy Koogle Andreas Treichl Reed Hastings Dara Khosrowshahi Mike Markkula Seyed Salman Sadad Spencer Rascoff Ruben van Vreeland Lincoln Leong Manfred Bischoff Pierre Nanterme Federico Ghizzoni Eliana Benador Edzard Reuter Simon Dominic Stephen Chan Timothy J. Mayopoulos Sam Altman Peter Rogers Robbin Steif Taymuraz Bolloyev Rezart Taçi Damien Duhamel Shigenobu Nagamori Heinrich Wagner David Lichtenstein Jeffrey Bewkes Ray Connor Lauren Colonna Luis José Sartorius, 1st Count of San Luis Lila Tretikov Yves Gauthier Hannes Ametsreiter Wilhelm Kissel Luis Mayo Muñiz Nick Hayek Alexander Rumyantsev Naftali Bennett Joaquín Xaudaró Helge Lund Mark Hoplamazian Alexander Georgievich Ivchenko Dick Costolo Donald H. Layton Zhou Jiping Marissa Mayer Mary Barra Stephen Marks Leo Bauernberger Ulrich Lehner Alireza Salehi Nejad Supeno Surija Marc Walder Fritz Vollmar Tim Morse Laurel Haak Seth Berkley Jerry Atkin Ray Kelvin Rob Burgess Günther Greindl Dmitry Zimin Josep Laribal Lastortras Alexander Otto Bhavish Aggarwal Bartosz Skwarczek Mike Ashley Joachim Zahn Julian Stone Claude Martin Patrick Soon-Shiong Jerry Yang Ioannis Mytilineos Jacques Branciard Wolfgang Reitzle Jesús Serrano Martínez Elon Musk Paul E. Jacobs Colin Day Philippe Vannier Vardis Vardinogiannis Natalia Majluf Peyush Bansal Daniel Och Hans-Jörg Vetter Dick Millman Bernardo Hees Vicki Escarra Marcelo Claure Donald E. Graham Bob Dudley Michael Spindler Stephen Hester Manfred Schneider Paul Otellini Jonathan Ornstein Jonathan Seaton Scott Ernest Jeremy Reaves Domenico Casalino Dan Price Barbara Byrd-Bennett Semyon Vaynshtok Brian Krzanich Uday Challu Ayman Hariri Wolfgang Mayrhuber Jean-Michel Aulas Brad Katsuyama Alisa Miller Oren Frank Thomas Horton Allen Shapiro Yuri Fedutinov Mark Selway Harry Hohmeister Lyor Cohen Mathias Döpfner Francisco de Luis Díaz Tim Davie Brian Chesky Ragnar Kårhus Steve Easterbrook Maria Curman John A. Addison Jr. Sergio Ermotti Carlos Brito Christine Loh Steve O'Rourke Brendan Iribe Anthony E. Malkin Mario J. Lucero Greg Brown Timotheus Höttges Gunnar Bovim Willie Walsh Yves Alix Lewis E. Platt Steven Dengler Matt Ehrlichman Kenneth Chenault Haruna Yukawa Irene Rosenfeld Christoph Franz Giannis Vardinogiannis Steve Jobs Han Sung Ho Bobby Koch Sundar Pichai Eric Schmutz Dennis Woodside Carsten Spohr Christian Engsted Chris Anderson Tim Cook Arkady Volozh Richard Kund Patrick Lo Greg Jensen Heather Bresch Masayoshi Son Anatoly Kuzmin Wolfgang Wahlster Casten Almqvist Peter Hall Carter Murray Kevin Plank Frank Melloul Jed York Olivier Chavy Heinrich von Pierer Scott Thompson Lyndon Rive Paul Tarvin Manuel de Lasarte i Rodríguez-Cardoso Kantaro Tomiyama Suphachai Chearavanont Temel Kotil Lucio Tan Sergey Kiriyenko Victor Galasyuk Simon Peckham Nasser Al-Khelaifi Michael Farrell Abdeslam Ahizoune Theodor Weimer Mike Tung Prem Watsa Viktor Mikhaylov Denis Kessler Johannes-Jörg Riegler Theodor Haagaas Jack J. Pelton Blanca Treviño Aleksi Bardy Leoš Novotný Jeff Arnold Silvio Kutic Vladimir Yakunin Philippe Clerget Jennifer Hyman Ian Livingstone Hanna Stjärne Joachim Hoof Randi S. Øgrey Neil Smit Kirill Tatarinov Frédéric Gagey Tony Fadell Fabrice Brégier Lewis Von Thaer Colin Seery
Meg Whitman, Indra Nooyi and Steve Jobs are the chief executive officer of min number of periodical literatures and professions
Meg Whitman Indra Nooyi Steve Jobs
action argmin
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
action find_reverse_tuple_counts
relation chief executive officer
type common name
type profession
[[{'concept': 'periodical literature'}, {'concept': 'profession'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?u ) { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?h ) WHERE { ?o rdf:type ?y . VALUES ( ?y ) { ( ontology:profession ) ( ontology:periodical_literature ) } } GROUP BY ?a } } . FILTER ( ?k = ?u ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:chief_executive_officer ?e . ?e rdf:type ontology:common_name . ?t rdf:type ontology:profession } UNION { ?t property:chief_executive_officer ?e . ?e rdf:type ontology:common_name . ?t rdf:type ontology:periodical_literature } } GROUP BY ?e } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P108
Q43229 Q4830453
USER
How many organizations and business enterprises are the employers of that person ?
(Q264913,P108,c(Q43229)) (Q264913,P108,c(Q4830453)) (Q55174,P108,c(Q43229)) (Q55174,P108,c(Q4830453)) (Q264913,P108,c(Q43229)) (Q264913,P108,c(Q4830453)) (Q19837,P108,c(Q43229)) (Q19837,P108,c(Q4830453))
['Q264913', 'P108', {'concept': 'Q43229'}] ['Q264913', 'P108', {'concept': 'Q4830453'}] ['Q55174', 'P108', {'concept': 'Q43229'}] ['Q55174', 'P108', {'concept': 'Q4830453'}] ['Q264913', 'P108', {'concept': 'Q43229'}] ['Q264913', 'P108', {'concept': 'Q4830453'}] ['Q19837', 'P108', {'concept': 'Q43229'}] ['Q19837', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q264913 property:Q3053337 ?z } UNION { resource:Q264913 property:Q3053337 ?y } UNION { resource:Q55174 property:Q3053337 ?z } UNION { resource:Q55174 property:Q3053337 ?y } UNION { resource:Q264913 property:Q3053337 ?z } UNION { resource:Q264913 property:Q3053337 ?y } UNION { resource:Q20243178 property:Q3053337 ?z } UNION { resource:Q20243178 property:Q3053337 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q4830453 }
['Indra Nooyi', 'employer', {'concept': 'organization'}] ['Indra Nooyi', 'employer', {'concept': 'business enterprise'}] ['Meg Whitman', 'employer', {'concept': 'organization'}] ['Meg Whitman', 'employer', {'concept': 'business enterprise'}] ['Indra Nooyi', 'employer', {'concept': 'organization'}] ['Indra Nooyi', 'employer', {'concept': 'business enterprise'}] ['Steve Jobs', 'employer', {'concept': 'organization'}] ['Steve Jobs', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Indra_Nooyi property:employer ?z } UNION { resource:Indra_Nooyi property:employer ?y } UNION { resource:Meg_Whitman property:employer ?z } UNION { resource:Meg_Whitman property:employer ?y } UNION { resource:Indra_Nooyi property:employer ?z } UNION { resource:Indra_Nooyi property:employer ?y } UNION { resource:Steve_Jobs property:employer ?z } UNION { resource:Steve_Jobs property:employer ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:business_enterprise }
[]
organization business enterprise
Quantitative|Count|Mult. entity type|Clarification
Q55174
SYSTEM
Did you mean Meg Whitman ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q264913 property:Q3053337 ?z } UNION { resource:Q264913 property:Q3053337 ?y } UNION { resource:Q55174 property:Q3053337 ?z } UNION { resource:Q55174 property:Q3053337 ?y } UNION { resource:Q264913 property:Q3053337 ?z } UNION { resource:Q264913 property:Q3053337 ?y } UNION { resource:Q20243178 property:Q3053337 ?z } UNION { resource:Q20243178 property:Q3053337 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q4830453 }
Did you mean Meg Whitman ?
Meg Whitman
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Indra_Nooyi property:employer ?z } UNION { resource:Indra_Nooyi property:employer ?y } UNION { resource:Meg_Whitman property:employer ?z } UNION { resource:Meg_Whitman property:employer ?y } UNION { resource:Indra_Nooyi property:employer ?z } UNION { resource:Indra_Nooyi property:employer ?y } UNION { resource:Steve_Jobs property:employer ?z } UNION { resource:Steve_Jobs property:employer ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Indra Nooyi. Could you tell me the answer for that?
(Q264913,P108,c(Q43229)) (Q264913,P108,c(Q4830453)) (Q55174,P108,c(Q43229)) (Q55174,P108,c(Q4830453)) (Q264913,P108,c(Q43229)) (Q264913,P108,c(Q4830453)) (Q19837,P108,c(Q43229)) (Q19837,P108,c(Q4830453))
Q264913
['Q264913', 'P108', {'concept': 'Q43229'}] ['Q264913', 'P108', {'concept': 'Q4830453'}] ['Q55174', 'P108', {'concept': 'Q43229'}] ['Q55174', 'P108', {'concept': 'Q4830453'}] ['Q264913', 'P108', {'concept': 'Q43229'}] ['Q264913', 'P108', {'concept': 'Q4830453'}] ['Q19837', 'P108', {'concept': 'Q43229'}] ['Q19837', 'P108', {'concept': 'Q4830453'}]
['Indra Nooyi', 'employer', {'concept': 'organization'}] ['Indra Nooyi', 'employer', {'concept': 'business enterprise'}] ['Meg Whitman', 'employer', {'concept': 'organization'}] ['Meg Whitman', 'employer', {'concept': 'business enterprise'}] ['Indra Nooyi', 'employer', {'concept': 'organization'}] ['Indra Nooyi', 'employer', {'concept': 'business enterprise'}] ['Steve Jobs', 'employer', {'concept': 'organization'}] ['Steve Jobs', 'employer', {'concept': 'business enterprise'}]
[]
SYSTEM
4 organizations and 2 business enterprises
Q259011 Q333718 Q893221 Q334800 Q135635 Q52825
(Q264913,P108,c(Q43229)) (Q264913,P108,c(Q4830453)) (Q55174,P108,c(Q43229)) (Q55174,P108,c(Q4830453)) (Q264913,P108,c(Q43229)) (Q264913,P108,c(Q4830453)) (Q19837,P108,c(Q43229)) (Q19837,P108,c(Q4830453))
[ANSWER]
['Q264913', 'P108', {'concept': 'Q43229'}] ['Q264913', 'P108', {'concept': 'Q4830453'}] ['Q55174', 'P108', {'concept': 'Q43229'}] ['Q55174', 'P108', {'concept': 'Q4830453'}] ['Q264913', 'P108', {'concept': 'Q43229'}] ['Q264913', 'P108', {'concept': 'Q4830453'}] ['Q19837', 'P108', {'concept': 'Q43229'}] ['Q19837', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q264913 property:Q3053337 ?z } UNION { resource:Q264913 property:Q3053337 ?y } UNION { resource:Q55174 property:Q3053337 ?z } UNION { resource:Q55174 property:Q3053337 ?y } UNION { resource:Q264913 property:Q3053337 ?z } UNION { resource:Q264913 property:Q3053337 ?y } UNION { resource:Q20243178 property:Q3053337 ?z } UNION { resource:Q20243178 property:Q3053337 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q4830453 }
Motorola Johnson & Johnson Booz Allen Hamilton PepsiCo Boston Consulting Group ABB Group
4 organizations and 2 business enterprises
['Indra Nooyi', 'employer', {'concept': 'organization'}] ['Indra Nooyi', 'employer', {'concept': 'business enterprise'}] ['Meg Whitman', 'employer', {'concept': 'organization'}] ['Meg Whitman', 'employer', {'concept': 'business enterprise'}] ['Indra Nooyi', 'employer', {'concept': 'organization'}] ['Indra Nooyi', 'employer', {'concept': 'business enterprise'}] ['Steve Jobs', 'employer', {'concept': 'organization'}] ['Steve Jobs', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Indra_Nooyi property:employer ?z } UNION { resource:Indra_Nooyi property:employer ?y } UNION { resource:Meg_Whitman property:employer ?z } UNION { resource:Meg_Whitman property:employer ?y } UNION { resource:Indra_Nooyi property:employer ?z } UNION { resource:Indra_Nooyi property:employer ?y } UNION { resource:Steve_Jobs property:employer ?z } UNION { resource:Steve_Jobs property:employer ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:business_enterprise }
[]