Simple Question (Direct)
Simple Question
Q368319
P641
Q349
USER
Which sport was Greg Ryan a part of ?
(Q368319,P641,c(Q349))
action filter_type
action find
entity Q368319
relation P641
type Q349
['Q368319', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q368319 property:P641 ?t }
Greg Ryan
action filter_type
action find
entity Greg Ryan
relation sport
type sport
['Greg Ryan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Greg_Ryan property:sport ?t }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q368319,P641,c(Q349))
action filter_type
action find
entity Q368319
relation P641
type Q349
Greg Ryan was of the [ANSWER]
['Q368319', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q368319 property:P641 ?t }
association football
Greg Ryan was of the association football
association football
action filter_type
action find
entity Greg Ryan
relation sport
type sport
['Greg Ryan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Greg_Ryan property:sport ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q368319
P106
Q12737077
USER
Which occupations are the professions of Greg Ryan ?
(Q368319,P106,c(Q12737077))
action filter_type
action find
entity Q368319
relation P106
type Q12737077
['Q368319', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q368319 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Greg Ryan
action filter_type
action find
entity Greg Ryan
relation occupation
type occupation
['Greg Ryan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Greg_Ryan property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q368319,P106,c(Q12737077))
action filter_type
action find
entity Q368319
relation P106
type Q12737077
The professions of Greg Ryan are the [ANSWERS]
['Q368319', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q368319 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football manager association football player
The professions of Greg Ryan are the association football manager and association football player
association football manager association football player
action filter_type
action find
entity Greg Ryan
relation occupation
type occupation
['Greg Ryan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Greg_Ryan property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21464828
P106
Q502895
USER
Do Philippa Abrahams have the profession of those occupations ?
(Q21464828,P106,Q628099) (Q21464828,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q21464828
relation P106
['Q21464828', 'P106', 'Q628099'] ['Q21464828', 'P106', 'Q937857']
ASK WHERE { resource:Q21464828 property:P106 ?g . VALUES ( ?g ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Philippa Abrahams
action is_in
entity prev_answer
action find
entity Philippa Abrahams
relation occupation
['Philippa Abrahams', 'occupation', 'association football manager'] ['Philippa Abrahams', 'occupation', 'association football player']
ASK WHERE { resource:Philippa_Abrahams property:occupation ?g . VALUES ( ?g ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
NO
(Q21464828,P106,Q628099) (Q21464828,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q21464828
relation P106
[ANSWER]
['Q21464828', 'P106', 'Q628099'] ['Q21464828', 'P106', 'Q937857']
ASK WHERE { resource:Q21464828 property:P106 ?g . VALUES ( ?g ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
No
action is_in
entity prev_answer
action find
entity Philippa Abrahams
relation occupation
['Philippa Abrahams', 'occupation', 'association football manager'] ['Philippa Abrahams', 'occupation', 'association football player']
ASK WHERE { resource:Philippa_Abrahams property:occupation ?g . VALUES ( ?g ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2305968
P748
Q178706 Q11204 Q12737077
USER
How many occupations did greater number of institutions and legislatures appoint than United States Secretary of Health and Human Services ?
(c(Q12737077),P748,c(Q178706)|c(Q11204))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q2305968
relation P748
type Q178706
type Q11204
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?z ) WHERE { VALUES ( ?b ) { ( ontology:Q178706 ) ( ontology:Q11204 ) } . ?v rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q2305968 property:P748 ?d . { { ?d rdf:type ontology:Q11204 } UNION { ?d rdf:type ontology:Q178706 } } } } . FILTER ( ?z > ?m ) }
United States Secretary of Health and Human Services
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity United States Secretary of Health and Human Services
relation appointed by
type institution
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?z ) WHERE { VALUES ( ?b ) { ( ontology:institution ) ( ontology:legislature ) } . ?v rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:United_States_Secretary_of_Health_and_Human_Services property:appointed_by ?d . { { ?d rdf:type ontology:legislature } UNION { ?d rdf:type ontology:institution } } } } . FILTER ( ?z > ?m ) }
[]
institution legislature occupation
SYSTEM
13
Q11793630 Q740126 Q655407 Q1161813 Q596123 Q1043568 Q8882 Q866680 Q26000995 Q4122271 Q634291 Q735587 Q81066
(c(Q12737077),P748,c(Q178706)|c(Q11204))
action count
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q2305968
relation P748
type Q178706
type Q11204
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?z ) WHERE { VALUES ( ?b ) { ( ontology:Q178706 ) ( ontology:Q11204 ) } . ?v rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q2305968 property:P748 ?d . { { ?d rdf:type ontology:Q11204 } UNION { ?d rdf:type ontology:Q178706 } } } } . FILTER ( ?z > ?m ) }
governor of national banks of Serbia and Yugoslavia President of the European Parliament President of the People's Republic of China President of the United Nations General Assembly president of Bangladesh Prime Minister of Vietnam President of the European Commission President of Vietnam President of the Parliament of Catalonia Premier of the People's Republic of China High Representative of the Union for Foreign Affairs and Security Policy President of the European Council United Nations Secretary-General
13
action count
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity United States Secretary of Health and Human Services
relation appointed by
type institution
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?z ) WHERE { VALUES ( ?b ) { ( ontology:institution ) ( ontology:legislature ) } . ?v rdf:type ?b } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:United_States_Secretary_of_Health_and_Human_Services property:appointed_by ?d . { { ?d rdf:type ontology:legislature } UNION { ?d rdf:type ontology:institution } } } } . FILTER ( ?z > ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q368319
P21
Q290
USER
Which sex does Greg Ryan possess ?
(Q368319,P21,c(Q290))
action filter_type
action find
entity Q368319
relation P21
type Q290
['Q368319', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q368319 property:P21 ?d }
Greg Ryan
action filter_type
action find
entity Greg Ryan
relation gender
type sex
['Greg Ryan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Greg_Ryan property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q368319,P21,c(Q290))
action filter_type
action find
entity Q368319
relation P21
type Q290
Greg Ryan possesses a [ANSWER]
['Q368319', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q368319 property:P21 ?d }
male
Greg Ryan possesses a male
male
action filter_type
action find
entity Greg Ryan
relation gender
type sex
['Greg Ryan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Greg_Ryan property:gender ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q368319
P27
Q15617994
USER
Which administrative territory is the native country of Greg Ryan ?
(Q368319,P27,c(Q15617994))
action filter_type
action find
entity Q368319
relation P27
type Q15617994
['Q368319', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q368319 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Greg Ryan
action filter_type
action find
entity Greg Ryan
relation country of citizenship
type designation for an administrative territorial entity
['Greg Ryan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Greg_Ryan property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q368319,P27,c(Q15617994))
action filter_type
action find
entity Q368319
relation P27
type Q15617994
The [ANSWER] is the native country of Greg Ryan
['Q368319', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q368319 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Greg Ryan
United States of America
action filter_type
action find
entity Greg Ryan
relation country of citizenship
type designation for an administrative territorial entity
['Greg Ryan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Greg_Ryan property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q735015
P748
Q178706 Q895526 Q12737077
USER
How many occupations did lesser number of institutions and authority organs appoint than United States Secretary of Defense ?
(c(Q12737077),P748,c(Q178706)|c(Q895526))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q735015
relation P748
type Q178706
type Q895526
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:Q178706 ) ( ontology:Q895526 ) } . ?s rdf:type ?k } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q735015 property:P748 ?f . { { ?f rdf:type ontology:Q895526 } UNION { ?f rdf:type ontology:Q178706 } } } } . FILTER ( ?w < ?d ) }
United States Secretary of Defense
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity United States Secretary of Defense
relation appointed by
type institution
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:institution ) ( ontology:authority_organ ) } . ?s rdf:type ?k } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:United_States_Secretary_of_Defense property:appointed_by ?f . { { ?f rdf:type ontology:authority_organ } UNION { ?f rdf:type ontology:institution } } } } . FILTER ( ?w < ?d ) }
[]
institution authority organ occupation
SYSTEM
281
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q1507619 Q737115 Q6578215 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1753754 Q1476458 Q15407843 Q2484309 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q531471 Q274948 Q21384866 Q596123 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q182762 Q20859386 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q4122271 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q592866 Q1281611 Q1790154 Q6866422 Q3251818 Q6866427 Q26721218 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q178706)|c(Q895526))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action count
action filter_multi_types
action find
entity Q735015
relation P748
type Q178706
type Q895526
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:Q178706 ) ( ontology:Q895526 ) } . ?s rdf:type ?k } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:Q735015 property:P748 ?f . { { ?f rdf:type ontology:Q895526 } UNION { ?f rdf:type ontology:Q178706 } } } } . FILTER ( ?w < ?d ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven 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 King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government Mayor of Gorinchem 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 Lord Privy Seal Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department 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 Secretary of State for International Development Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden 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 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 municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan municipal executive of Rotterdam president of Bangladesh Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria 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 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 Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island 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 President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Prime Minister of Algeria Mayor of Mierlo Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem 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 municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia 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 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 Premier of the People's Republic of China Leader of the Government in the House of Commons Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport 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 Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
281
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action count
action filter_multi_types
action find
entity United States Secretary of Defense
relation appointed by
type institution
type authority organ
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:institution ) ( ontology:authority_organ ) } . ?s rdf:type ?k } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { resource:United_States_Secretary_of_Defense property:appointed_by ?f . { { ?f rdf:type ontology:authority_organ } UNION { ?f rdf:type ontology:institution } } } } . FILTER ( ?w < ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1347100 Q368319
P19 P20
Q515
USER
Which cities were Greg Ryan born or did the demise of Eva Eisenlohr occur ?
OR((Q368319,P19,c(Q515)), (Q1347100,P20,c(Q515)))
action filter_type
action union
action find
entity Q368319
relation P19
action find
entity Q1347100
relation P20
type Q515
{'OR': [['Q368319', 'P19', {'concept': 'Q515'}], ['Q1347100', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . { { resource:Q368319 property:P19 ?j } UNION { resource:Q1347100 property:P20 ?j } } }
Eva Eisenlohr Greg Ryan
action filter_type
action union
action find
entity Greg Ryan
relation place of birth
action find
entity Eva Eisenlohr
relation place of death
type city
{'OR': [['Greg Ryan', 'place of birth', {'concept': 'city'}], ['Eva Eisenlohr', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . { { resource:Greg_Ryan property:place_of_birth ?j } UNION { resource:Eva_Eisenlohr property:place_of_death ?j } } }
[]
city
Q2833 Q1794
SYSTEM
Freiburg im Breisgau, Frankfurt
Q2833 Q1794
OR((Q368319,P19,c(Q515)), (Q1347100,P20,c(Q515)))
action filter_type
action union
action find
entity Q368319
relation P19
action find
entity Q1347100
relation P20
type Q515
Greg Ryan were born occur in [ANSWERS]
{'OR': [['Q368319', 'P19', {'concept': 'Q515'}], ['Q1347100', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . { { resource:Q368319 property:P19 ?j } UNION { resource:Q1347100 property:P20 ?j } } }
Freiburg im Breisgau Frankfurt
Greg Ryan were born occur in Freiburg im Breisgau and Frankfurt
Freiburg im Breisgau Frankfurt
action filter_type
action union
action find
entity Greg Ryan
relation place of birth
action find
entity Eva Eisenlohr
relation place of death
type city
{'OR': [['Greg Ryan', 'place of birth', {'concept': 'city'}], ['Eva Eisenlohr', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . { { resource:Greg_Ryan property:place_of_birth ?j } UNION { resource:Eva_Eisenlohr property:place_of_death ?j } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3383519
P937
Q502895
USER
Do Pierre-Thomas Radoult de La Fosse have those cities as their work location ?
(Q3383519,P937,Q2833) (Q3383519,P937,Q1794)
action is_in
entity prev_answer
action find
entity Q3383519
relation P937
['Q3383519', 'P937', 'Q2833'] ['Q3383519', 'P937', 'Q1794']
ASK WHERE { resource:Q3383519 property:P937 ?y . VALUES ( ?y ) { ( resource:Q2833 ) ( resource:Q1794 ) } }
Pierre-Thomas Radoult de La Fosse
action is_in
entity prev_answer
action find
entity Pierre-Thomas Radoult de La Fosse
relation work location
['Pierre-Thomas Radoult de La Fosse', 'work location', 'Freiburg im Breisgau'] ['Pierre-Thomas Radoult de La Fosse', 'work location', 'Frankfurt']
ASK WHERE { resource:Pierre-Thomas_Radoult_de_La_Fosse property:work_location ?y . VALUES ( ?y ) { ( resource:Freiburg_im_Breisgau ) ( resource:Frankfurt ) } }
[]
common name
SYSTEM
NO
(Q3383519,P937,Q2833) (Q3383519,P937,Q1794)
action is_in
entity prev_answer
action find
entity Q3383519
relation P937
[ANSWER]
['Q3383519', 'P937', 'Q2833'] ['Q3383519', 'P937', 'Q1794']
ASK WHERE { resource:Q3383519 property:P937 ?y . VALUES ( ?y ) { ( resource:Q2833 ) ( resource:Q1794 ) } }
No
action is_in
entity prev_answer
action find
entity Pierre-Thomas Radoult de La Fosse
relation work location
['Pierre-Thomas Radoult de La Fosse', 'work location', 'Freiburg im Breisgau'] ['Pierre-Thomas Radoult de La Fosse', 'work location', 'Frankfurt']
ASK WHERE { resource:Pierre-Thomas_Radoult_de_La_Fosse property:work_location ?y . VALUES ( ?y ) { ( resource:Freiburg_im_Breisgau ) ( resource:Frankfurt ) } }
[]