Simple Question (Direct)
Simple Question
Q3073457
P734
Q82799
USER
Who is associated with Flavia Coste ?
(Q3073457,P734,c(Q82799))
action filter_type
action find
entity Q3073457
relation P734
type Q82799
['Q3073457', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q3073457 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Flavia Coste
action filter_type
action find
entity Flavia Coste
relation family name
type name
['Flavia Coste', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Flavia_Coste property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q21501522
SYSTEM
Coste
Q21501522
(Q3073457,P734,c(Q82799))
action filter_type
action find
entity Q3073457
relation P734
type Q82799
[ANSWER] is associated with Flavia [ANSWER]
['Q3073457', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q3073457 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Coste
Coste is associated with Flavia Coste
Coste
action filter_type
action find
entity Flavia Coste
relation family name
type name
['Flavia Coste', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Flavia_Coste property:family_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3073457
P106
Q12737077
USER
Which occupation has Flavia Coste as his/her 's career ?
(Q3073457,P106,c(Q12737077))
action filter_type
action find
entity Q3073457
relation P106
type Q12737077
['Q3073457', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3073457 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Flavia Coste
action filter_type
action find
entity Flavia Coste
relation occupation
type occupation
['Flavia Coste', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Flavia_Coste property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q3073457,P106,c(Q12737077))
action filter_type
action find
entity Q3073457
relation P106
type Q12737077
The [ANSWER] has Flavia Coste as his/her 's career
['Q3073457', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3073457 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
actor
The actor has Flavia Coste as his/her 's career
actor
action filter_type
action find
entity Flavia Coste
relation occupation
type occupation
['Flavia Coste', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Flavia_Coste property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33999
P425
Q1914636
USER
Who is associated with the field of occupation that one ?
(Q33999,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?k WHERE { resource:Q33999 property:P425 ?k . ?k rdf:type ontology:Q1914636 }
actor
action filter_type
action find
entity actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?k WHERE { resource:actor property:field_of_this_occupation ?k . ?k rdf:type ontology:activity }
[]
activity
Q222749
SYSTEM
acting
Q222749
(Q33999,P425,c(Q1914636))
action filter_type
action find
entity Q33999
relation P425
type Q1914636
Is [ANSWER] is associated with the field of occupation that one
['Q33999', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?k WHERE { resource:Q33999 property:P425 ?k . ?k rdf:type ontology:Q1914636 }
acting
Is acting is associated with the field of occupation that one
acting
action filter_type
action find
entity actor
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?k WHERE { resource:actor property:field_of_this_occupation ?k . ?k rdf:type ontology:activity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q1307214 Q1752346 Q12737077
USER
Which occupations did atmost 1 forms of government or assemblies appoint ?
(c(Q12737077),P748,c(Q1307214)|c(Q1752346))
action atmost
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?i WHERE { VALUES ( ?b ) { ( ontology:Q1307214 ) ( ontology:Q1752346 ) } . ?c rdf:type ?b } GROUP BY ?i } . FILTER ( ?t <= 1 ) }
action atmost
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?i WHERE { VALUES ( ?b ) { ( ontology:form_of_government ) ( ontology:assembly ) } . ?c rdf:type ?b } GROUP BY ?i } . FILTER ( ?t <= 1 ) }
[]
form of government assembly occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q21384866 Q596123 Q7444340 Q1723031 Q20194364 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 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 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 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 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 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1307214)|c(Q1752346))
action atmost
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 1
Atmost 1 forms of government or assemblies appointed by [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?i WHERE { VALUES ( ?b ) { ( ontology:Q1307214 ) ( ontology:Q1752346 ) } . ?c rdf:type ?b } GROUP BY ?i } . FILTER ( ?t <= 1 ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut 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 United States Secretary of Agriculture Master of the Rolls 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 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 President of the United Nations General Assembly 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 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 municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria 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 municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island 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 Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem 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 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 Prime Minister of Belgium 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 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 Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor 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 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 President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff 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
Atmost 1 forms of government or assemblies appointed by Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and President of the People's Republic of China
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action atmost
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?i WHERE { VALUES ( ?b ) { ( ontology:form_of_government ) ( ontology:assembly ) } . ?c rdf:type ?b } GROUP BY ?i } . FILTER ( ?t <= 1 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P748
Q12737077 Q12737077 Q895526
USER
How many occupations were person who apported approximately the same number of occupations and authority organs as that occupation ?
(c(Q12737077)|c(Q895526),P748,c(Q12737077))
[[{'concept': 'Q12737077'}, {'concept': 'Q895526'}], 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P748 ?z } UNION { ?y property:P748 ?z } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q895526 }
[[{'concept': 'occupation'}, {'concept': 'authority organ'}], 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:appointed_by ?z } UNION { ?y property:appointed_by ?z } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:authority_organ }
[]
occupation occupation authority organ
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1749063
SYSTEM
Did you mean Minister for Foreign Affairs of Sweden ?
(c(Q12737077)|c(Q895526),P748,c(Q12737077))
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q895526'}], 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P748 ?z } UNION { ?y property:P748 ?z } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q895526 }
Did you mean Minister for Foreign Affairs of Sweden ?
Minister for Foreign Affairs of Sweden
[[{'concept': 'occupation'}, {'concept': 'authority organ'}], 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:appointed_by ?z } UNION { ?y property:appointed_by ?z } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:authority_organ }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Prime Minister of Sweden. Could you tell me the answer for that?
(c(Q12737077)|c(Q895526),P748,c(Q12737077))
Q687075
[[{'concept': 'Q12737077'}, {'concept': 'Q895526'}], 'P748', {'concept': 'Q12737077'}]
[[{'concept': 'occupation'}, {'concept': 'authority organ'}], 'appointed by', {'concept': 'occupation'}]
[]
SYSTEM
58
Q4122271 Q5708511 Q274948 Q6544433 Q1850749 Q6544430 Q1371091 Q29558 Q191954 Q4257536 Q1625960 Q687075 Q596123 Q3847454 Q1571023 Q1922067 Q1841542 Q8882 Q890005 Q19188924 Q332711 Q313383 Q1472951 Q208233 Q456951 Q1528895 Q1752225 Q887003 Q648464 Q6296418 Q2280467 Q3409203 Q322459 Q6544408 Q785304 Q6544420 Q1467097 Q1054799 Q6544432 Q327948 Q878256 Q6468838 Q2457774 Q14931512 Q1372518 Q839139 Q3238289 Q268984 Q3238286 Q15176422 Q218014 Q1294765 Q25223 Q19546 Q824910 Q475658 Q4257538 Q48894
(c(Q12737077)|c(Q895526),P748,c(Q12737077))
[ANSWER]
[[{'concept': 'Q12737077'}, {'concept': 'Q895526'}], 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P748 ?z } UNION { ?y property:P748 ?z } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q895526 }
Premier of the People's Republic of China President of Peru Prime Minister of Japan Lieutenant Governor of Prince Edward Island Speaker of the Parliament of Sweden Lieutenant Governor of Nova Scotia Secretary of State for Foreign and Commonwealth Affairs President of Finland President of the French Republic Lieutenant Governor of New Brunswick President of Albania Prime Minister of Sweden president of Bangladesh King of Spain Governor of Victoria President of Turkey Commissioners of Nunavut President of the European Commission President of Estonia President of Iceland President of Italy President of India Governor-General of Jamaica Emperor of Japan Governor of Puerto Rico Governor of New South Wales Lord Lieutenant of Ireland President of the Republic of China President of Syria President of South Korea Governor-General of the Union of South Africa President of Greece President of Portugal Lieutenant Governor of British Columbia Mayor of New York City Lieutenant Governor of Manitoba Governor of Queensland President of Poland Lieutenant Governor of Ontario President of Israel President of Yemen President of Slovakia Prince of Monaco monarch of Australia Governor of Western Australia President of Romania Lieutenant Governor of Quebec president of Croatia Lieutenant Governor of Newfoundland and Labrador Lieutenant Governor of Alberta President of Latvia monarch of Norway President of Germany pope Commissioner of Yukon President of Austria Lieutenant Governor of Saskatchewan President of Fiji
58
[[{'concept': 'occupation'}, {'concept': 'authority organ'}], 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:appointed_by ?z } UNION { ?y property:appointed_by ?z } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:authority_organ }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q191067 Q838948
USER
Which occupations were atmost 5 articles and works of art mainly about ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 5
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } } GROUP BY ?w } . FILTER ( ?c <= 5 ) }
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 5
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:article ) ( ontology:work_of_art ) } } GROUP BY ?w } . FILTER ( ?c <= 5 ) }
[]
occupation article work of art
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 5
[ANSWERS] were atmost 5 articles and works of art mainly about
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } } GROUP BY ?w } . FILTER ( ?c <= 5 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were atmost 5 articles and works of art mainly about
Fletcher Christian farmer librarian
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 5
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ?j . VALUES ( ?j ) { ( ontology:article ) ( ontology:work_of_art ) } } GROUP BY ?w } . FILTER ( ?c <= 5 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2547965 Q3073457
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Flavia Coste or Wander Wildner ?
OR((Q3073457,P27,c(Q15617994)), (Q2547965,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3073457
relation P27
action find
entity Q2547965
relation P27
type Q15617994
{'OR': [['Q3073457', 'P27', {'concept': 'Q15617994'}], ['Q2547965', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . { VALUES ( ?h ) { ( resource:Q2547965 ) ( resource:Q3073457 ) } . ?h property:P27 ?b } }
Wander Wildner Flavia Coste
action filter_type
action union
action find
entity Flavia Coste
relation country of citizenship
action find
entity Wander Wildner
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Flavia Coste', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wander Wildner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?h ) { ( resource:Wander_Wildner ) ( resource:Flavia_Coste ) } . ?h property:country_of_citizenship ?b } }
[]
designation for an administrative territorial entity
Q142 Q155
SYSTEM
France, Brazil
Q142 Q155
OR((Q3073457,P27,c(Q15617994)), (Q2547965,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3073457
relation P27
action find
entity Q2547965
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Flavia Coste or Wander Wildner
{'OR': [['Q3073457', 'P27', {'concept': 'Q15617994'}], ['Q2547965', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . { VALUES ( ?h ) { ( resource:Q2547965 ) ( resource:Q3073457 ) } . ?h property:P27 ?b } }
France Brazil
France and Brazil are the countries of citizenship of Flavia Coste or Wander Wildner
France Brazil
action filter_type
action union
action find
entity Flavia Coste
relation country of citizenship
action find
entity Wander Wildner
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Flavia Coste', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wander Wildner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?h ) { ( resource:Wander_Wildner ) ( resource:Flavia_Coste ) } . ?h property:country_of_citizenship ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P610
Q14524493
USER
Which terrain is the highest point of France ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { resource:Q142 property:P610 ?a . ?a rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { resource:France property:highest_point ?a . ?a rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
[ANSWER] is the highest point of France
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { resource:Q142 property:P610 ?a . ?a rdf:type ontology:Q14524493 }
Mont Blanc
Mont Blanc is the highest point of France
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { resource:France property:highest_point ?a . ?a rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q583
P706
Q14524493
USER
Which terrain has its location as that one ?
(c(Q14524493),P706,Q583)
action filter_type
action find_reverse
entity Q583
relation P706
type Q14524493
[{'concept': 'Q14524493'}, 'P706', 'Q583']
SELECT DISTINCT ?r WHERE { ?r property:P706 resource:Q583 . ?r rdf:type ontology:Q14524493 }
Mont Blanc
action filter_type
action find_reverse
entity Mont Blanc
relation located on terrain feature
type terrain
[{'concept': 'terrain'}, 'located on terrain feature', 'Mont Blanc']
SELECT DISTINCT ?r WHERE { ?r property:located_on_terrain_feature resource:Mont_Blanc . ?r rdf:type ontology:terrain }
[]
terrain
Q30493
SYSTEM
Aiguille de Bionnassay
Q30493
(c(Q14524493),P706,Q583)
action filter_type
action find_reverse
entity Q583
relation P706
type Q14524493
[ANSWER] has its location as that one
[{'concept': 'Q14524493'}, 'P706', 'Q583']
SELECT DISTINCT ?r WHERE { ?r property:P706 resource:Q583 . ?r rdf:type ontology:Q14524493 }
Aiguille de Bionnassay
Aiguille de Bionnassay has its location as that one
Aiguille de Bionnassay
action filter_type
action find_reverse
entity Mont Blanc
relation located on terrain feature
type terrain
[{'concept': 'terrain'}, 'located on terrain feature', 'Mont Blanc']
SELECT DISTINCT ?r WHERE { ?r property:located_on_terrain_feature resource:Mont_Blanc . ?r rdf:type ontology:terrain }
[]