Simple Question (Direct)
Simple Question
Q5006672
P102
Q7210356
USER
Which party does C. Louis Kincannon belong to ?
(Q5006672,P102,c(Q7210356))
action filter_type
action find
entity Q5006672
relation P102
type Q7210356
['Q5006672', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q5006672 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
C. Louis Kincannon
action filter_type
action find
entity C. Louis Kincannon
relation member of political party
type political organization
['C. Louis Kincannon', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:C._Louis_Kincannon property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q5006672,P102,c(Q7210356))
action filter_type
action find
entity Q5006672
relation P102
type Q7210356
C. Louis Kincannon belongs to [ANSWER]
['Q5006672', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q5006672 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Republican Party
C. Louis Kincannon belongs to Republican Party
Republican Party
action filter_type
action find
entity C. Louis Kincannon
relation member of political party
type political organization
['C. Louis Kincannon', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:C._Louis_Kincannon property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5006672
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q29468,P27,c(Q15617994))
action filter_type
action find
entity Q5006672
relation P27
type Q15617994
['Q29468', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q5006672 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
C. Louis Kincannon
action filter_type
action find
entity C. Louis Kincannon
relation country of citizenship
type designation for an administrative territorial entity
['Republican Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:C._Louis_Kincannon property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q29468,P27,c(Q15617994))
action filter_type
action find
entity Q5006672
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q29468', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q5006672 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity C. Louis Kincannon
relation country of citizenship
type designation for an administrative territorial entity
['Republican Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:C._Louis_Kincannon property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5006672
P106
Q12737077
USER
What are the professions of that person ?
(Q30,P106,c(Q12737077))
action filter_type
action find
entity Q5006672
relation P106
type Q12737077
['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q5006672 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
C. Louis Kincannon
action filter_type
action find
entity C. Louis Kincannon
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:C._Louis_Kincannon property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q2732142 Q82955
SYSTEM
statistician, politician
Q2732142 Q82955
(Q30,P106,c(Q12737077))
action filter_type
action find
entity Q5006672
relation P106
type Q12737077
The professions of that person are the [ANSWERS]
['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q5006672 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
statistician politician
The professions of that person are the statistician and politician
statistician politician
action filter_type
action find
entity C. Louis Kincannon
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:C._Louis_Kincannon property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
How many occupations do greater number of organizations or people belong to than that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
occupation organization common name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q2732142
SYSTEM
Did you mean statistician ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
Did you mean statistician ?
statistician
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
28
Q6625963 Q177220 Q39631 Q33999 Q706364 Q17156912 Q333634 Q183888 Q593644 Q81096 Q170790 Q2405480 Q1930187 Q212238 Q131524 Q1172458 Q169470 Q201788 Q483501 Q1114448 Q1028181 Q36834 Q245068 Q16009483 Q1607826 Q639669 Q11774891 Q6981670
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
novelist singer physician actor art director malariologist translator software developer chemist engineer mathematician voice actor journalist civil servant entrepreneur muhaddith physicist historian artist cartoonist painter composer comedian sideshow performer editor musician ice hockey player Navajo weaving
28
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2732142
P425
Q2465832
USER
Which branch of science has statistician as the associated field of occupation ?
(Q2732142,P425,c(Q2465832))
action filter_type
action find
entity Q2732142
relation P425
type Q2465832
['Q2732142', 'P425', {'concept': 'Q2465832'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2465832 . resource:Q2732142 property:P425 ?l }
statistician
action filter_type
action find
entity statistician
relation field of this occupation
type branch of science
['statistician', 'field of this occupation', {'concept': 'branch of science'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:branch_of_science . resource:statistician property:field_of_this_occupation ?l }
[]
branch of science
Q12483
SYSTEM
statistics
Q12483
(Q2732142,P425,c(Q2465832))
action filter_type
action find
entity Q2732142
relation P425
type Q2465832
The [ANSWER] has statistician as the associated field of occupation
['Q2732142', 'P425', {'concept': 'Q2465832'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2465832 . resource:Q2732142 property:P425 ?l }
statistics
The statistics has statistician as the associated field of occupation
statistics
action filter_type
action find
entity statistician
relation field of this occupation
type branch of science
['statistician', 'field of this occupation', {'concept': 'branch of science'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:branch_of_science . resource:statistician property:field_of_this_occupation ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2732142
P101
Q502895
USER
Which person works in the domain of that occupation ?
(c(Q502895),P101,Q12483)
action filter_type
action find_reverse
entity Q2732142
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q12483']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q2732142 . ?y rdf:type ontology:Q502895 }
statistician
action filter_type
action find_reverse
entity statistician
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'statistics']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:statistician . ?y rdf:type ontology:common_name }
[]
common name
Q75371
SYSTEM
Johannes Fallati
Q75371
(c(Q502895),P101,Q12483)
action filter_type
action find_reverse
entity Q2732142
relation P101
type Q502895
[ANSWER] works in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q12483']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q2732142 . ?y rdf:type ontology:Q502895 }
Johannes Fallati
Johannes Fallati works in the domain of that occupation
Johannes Fallati
action filter_type
action find_reverse
entity statistician
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'statistics']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:statistician . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q701632 Q502895 Q12737077
USER
Which occupations are appointed by min number of municipal councils and people ?
(c(Q12737077),P748,c(Q701632)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?d WHERE { { ?d property:P748 ?n . ?d rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q701632 } UNION { ?n rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 . ?d property:P748 ?n } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?b WHERE { { ?b property:P748 ?u . ?u rdf:type ontology:Q701632 . ?b rdf:type ontology:Q12737077 } UNION { ?b property:P748 ?u . ?b rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } } GROUP BY ?b } . FILTER ( ?i = ?g ) }
action argmin
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'common name'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?d WHERE { { ?d property:appointed_by ?n . ?d rdf:type ontology:occupation . ?n rdf:type ontology:municipal_council } UNION { ?n rdf:type ontology:common_name . ?d rdf:type ontology:occupation . ?d property:appointed_by ?n } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?b WHERE { { ?b property:appointed_by ?u . ?u rdf:type ontology:municipal_council . ?b rdf:type ontology:occupation } UNION { ?b property:appointed_by ?u . ?b rdf:type ontology:occupation . ?u rdf:type ontology:common_name } } GROUP BY ?b } . FILTER ( ?i = ?g ) }
[]
municipal council common name occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q11793630 Q1072417 Q27650822 Q1355456 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q642859 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q967762 Q943379 Q15305714 Q1749063 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q274948 Q2305968 Q596123 Q7444340 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q20130623 Q1054799 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1591470 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q1195270 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q502895
The [ANSWERS] are appointed by min number of municipal councils and people
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?d WHERE { { ?d property:P748 ?n . ?d rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q701632 } UNION { ?n rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 . ?d property:P748 ?n } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?b WHERE { { ?b property:P748 ?u . ?u rdf:type ontology:Q701632 . ?b rdf:type ontology:Q12737077 } UNION { ?b property:P748 ?u . ?b rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q502895 } } GROUP BY ?b } . FILTER ( ?i = ?g ) }
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 governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht Lord Chamberlain Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea United States Secretary of Homeland Security Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam United States Secretary of Education Lord President of the Council Prime Minister of Libya Minister for Foreign Affairs of Sweden President of the People's Republic of China bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Thailand President of Botswana 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 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 President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Mayor of Woerden President of Poland Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria 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 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 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 Prime Minister of Sweden Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Chief of Naval Operations President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium 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 United States Secretary of the Army Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark 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 Prime Minister of Poland Chancellor of the Duchy of Lancaster 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 Lord Chancellor Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy President of Slovakia President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec 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 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
The Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and President of the People's Republic of China are appointed by min number of municipal councils and people
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action argmin
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'common name'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?d WHERE { { ?d property:appointed_by ?n . ?d rdf:type ontology:occupation . ?n rdf:type ontology:municipal_council } UNION { ?n rdf:type ontology:common_name . ?d rdf:type ontology:occupation . ?d property:appointed_by ?n } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?b WHERE { { ?b property:appointed_by ?u . ?u rdf:type ontology:municipal_council . ?b rdf:type ontology:occupation } UNION { ?b property:appointed_by ?u . ?b rdf:type ontology:occupation . ?u rdf:type ontology:common_name } } GROUP BY ?b } . FILTER ( ?i = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q367208
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of more number of occupations than Saint Remigius ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q367208
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:P417 ?a . ?a rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q367208 property:P417 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?c > ?j ) }
Saint Remigius
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Remigius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:patron_saint ?a . ?a rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Saint_Remigius property:patron_saint ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?c > ?j ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q367208
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:P417 ?a . ?a rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q367208 property:P417 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?c > ?j ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Remigius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?c ) WHERE { ?r property:patron_saint ?a . ?a rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Saint_Remigius property:patron_saint ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?c > ?j ) }
[]