Simple Question (Direct)
Simple Question
Q980841
P840
Q56061
USER
Where is Christopher and His Kind set in ?
(Q980841,P840,c(Q56061))
action filter_type
action find
entity Q980841
relation P840
type Q56061
['Q980841', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q980841 property:P840 ?k . ?k rdf:type ontology:Q56061 }
Christopher and His Kind
action filter_type
action find
entity Christopher and His Kind
relation narrative location
type administrative territorial entity
['Christopher and His Kind', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christopher_and_His_Kind property:narrative_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q980841,P840,c(Q56061))
action filter_type
action find
entity Q980841
relation P840
type Q56061
Christopher and His Kind is set in the [ANSWER]
['Q980841', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q980841 property:P840 ?k . ?k rdf:type ontology:Q56061 }
Berlin
Christopher and His Kind is set in the Berlin
Berlin
action filter_type
action find
entity Christopher and His Kind
relation narrative location
type administrative territorial entity
['Christopher and His Kind', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christopher_and_His_Kind property:narrative_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P206
Q337567
USER
Which still waterss are located next to that administrative territory ?
(Q64,P206,c(Q337567))
action filter_type
action find
entity Q64
relation P206
type Q337567
['Q64', 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?s WHERE { resource:Q64 property:P206 ?s . ?s rdf:type ontology:Q337567 }
Berlin
action filter_type
action find
entity Berlin
relation located next to body of water
type still waters
['Berlin', 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?s WHERE { resource:Berlin property:located_next_to_body_of_water ?s . ?s rdf:type ontology:still_waters }
[]
still waters
Q697916 Q3908364
SYSTEM
Lake Tegel, Großer Wannsee
Q697916 Q3908364
(Q64,P206,c(Q337567))
action filter_type
action find
entity Q64
relation P206
type Q337567
[ANSWERS] are located next to that administrative territory
['Q64', 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?s WHERE { resource:Q64 property:P206 ?s . ?s rdf:type ontology:Q337567 }
Lake Tegel Großer Wannsee
Lake Tegel and Großer Wannsee are located next to that administrative territory
Lake Tegel Großer Wannsee
action filter_type
action find
entity Berlin
relation located next to body of water
type still waters
['Berlin', 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?s WHERE { resource:Berlin property:located_next_to_body_of_water ?s . ?s rdf:type ontology:still_waters }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P1313
Q12737077
USER
Which occupation is fulfilled by Berlin ?
(Q64,P1313,c(Q12737077))
action filter_type
action find
entity Q64
relation P1313
type Q12737077
['Q64', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q64 property:P1313 ?p . ?p rdf:type ontology:Q12737077 }
Berlin
action filter_type
action find
entity Berlin
relation office held by head of government
type occupation
['Berlin', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Berlin property:office_held_by_head_of_government ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q641159
SYSTEM
Governing Mayor of Berlin
Q641159
(Q64,P1313,c(Q12737077))
action filter_type
action find
entity Q64
relation P1313
type Q12737077
The governing Mayor of Berlin is fulfilled by Berlin
['Q64', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q64 property:P1313 ?p . ?p rdf:type ontology:Q12737077 }
Governing Mayor of Berlin
The governing Mayor of Berlin is fulfilled by Berlin
Governing Mayor of Berlin
action filter_type
action find
entity Berlin
relation office held by head of government
type occupation
['Berlin', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Berlin property:office_held_by_head_of_government ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q386724 Q191067
USER
Which occupations were the main subjects in the work exactly 1 works or articles ?
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?k WHERE { { ?i rdf:type ontology:Q386724 . ?k rdf:type ontology:Q12737077 . ?i property:P921 ?k } UNION { ?i property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q191067 } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?k WHERE { { ?i rdf:type ontology:work . ?k rdf:type ontology:occupation . ?i property:main_subject ?k } UNION { ?i property:main_subject ?k . ?k rdf:type ontology:occupation . ?i rdf:type ontology:article } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
[]
occupation work article
Q316070 Q182436 Q16003532
SYSTEM
Fletcher Christian, librarian, middle school student
Q172907 Q9402 Q316070 Q510373 Q152002 Q732358 Q182436 Q16003532
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 1
[ANSWERS] were the main subjects in the work exactly 1 works or articles
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?k WHERE { { ?i rdf:type ontology:Q386724 . ?k rdf:type ontology:Q12737077 . ?i property:P921 ?k } UNION { ?i property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q191067 } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
praetor ninja Fletcher Christian Lord High Steward pastor Nomarch librarian middle school student
Fletcher Christian, librarian and middle school student were the main subjects in the work exactly 1 works or articles
Fletcher Christian librarian middle school student
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 1
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) ?k WHERE { { ?i rdf:type ontology:work . ?k rdf:type ontology:occupation . ?i property:main_subject ?k } UNION { ?i property:main_subject ?k . ?k rdf:type ontology:occupation . ?i rdf:type ontology:article } } GROUP BY ?k } . FILTER ( ?w = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6865833
P748
Q12737077 Q1752346 Q12737077
USER
Which occupations are appointed by greater number of occupations or assemblies than Minister for Finance ?
(c(Q12737077),P748,c(Q12737077)|c(Q1752346))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q6865833
relation P748
type Q12737077
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?v WHERE { { ?v property:P748 ?a . ?v rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q12737077 } UNION { ?v property:P748 ?a . ?v rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q1752346 } } GROUP BY ?v } . FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { VALUES ( ?j ) { ( ontology:Q1752346 ) ( ontology:Q12737077 ) } . ?w rdf:type ?j } . resource:Q6865833 property:P748 ?w } } }
Minister for Finance
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity Minister for Finance
relation appointed by
type occupation
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?v WHERE { { ?v property:appointed_by ?a . ?v rdf:type ontology:occupation . ?a rdf:type ontology:occupation } UNION { ?v property:appointed_by ?a . ?v rdf:type ontology:occupation . ?a rdf:type ontology:assembly } } GROUP BY ?v } . FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { VALUES ( ?j ) { ( ontology:assembly ) ( ontology:occupation ) } . ?w rdf:type ?j } . resource:Minister_for_Finance property:appointed_by ?w } } }
[]
occupation assembly occupation
Q687075 Q1749063 Q4377222
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, Premier of Nunavut
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q15305714 Q1749063 Q24636364 Q14565638 Q251724 Q842386 Q19056310 Q890030 Q6572133 Q796593 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q7574264 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q1370482 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q3251807 Q13526082 Q6866016 Q1790154 Q6866422 Q3251818 Q6866427 Q628102 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q1752346))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q6865833
relation P748
type Q12737077
type Q1752346
[ANSWERS] are appointed by greater number of occupations or assemblies than Minister for Finance
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?v WHERE { { ?v property:P748 ?a . ?v rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q12737077 } UNION { ?v property:P748 ?a . ?v rdf:type ontology:Q12737077 . ?a rdf:type ontology:Q1752346 } } GROUP BY ?v } . FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { VALUES ( ?j ) { ( ontology:Q1752346 ) ( ontology:Q12737077 ) } . ?w rdf:type ?j } . resource:Q6865833 property:P748 ?w } } }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Prime Minister of Libya Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland Prime Minister of Russia President of Botswana State President of South Africa Governor of İstanbul President of Malta Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs President of Cuba Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act 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 President of Nauru Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and Premier of Nunavut are appointed by greater number of occupations or assemblies than Minister for Finance
Prime Minister of Sweden Minister for Foreign Affairs of Sweden Premier of Nunavut
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity Minister for Finance
relation appointed by
type occupation
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?v WHERE { { ?v property:appointed_by ?a . ?v rdf:type ontology:occupation . ?a rdf:type ontology:occupation } UNION { ?v property:appointed_by ?a . ?v rdf:type ontology:occupation . ?a rdf:type ontology:assembly } } GROUP BY ?v } . FILTER ( ?g > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { VALUES ( ?j ) { ( ontology:assembly ) ( ontology:occupation ) } . ?w rdf:type ?j } . resource:Minister_for_Finance property:appointed_by ?w } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q261746
P748
Q12737077 Q1752346 Q12737077
USER
And how about United States Secretary of the Air Force?
(c(Q12737077),P748,c(Q12737077)|c(Q1752346))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q261746
relation P748
type Q12737077
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?d WHERE { { ?d rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q12737077 . ?d property:P748 ?b } UNION { ?d property:P748 ?b . ?d rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q1752346 } } GROUP BY ?d } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q261746 property:P748 ?y . { { ?y rdf:type ontology:Q12737077 } UNION { ?y rdf:type ontology:Q1752346 } } } } }
United States Secretary of the Air Force
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity United States Secretary of the Air Force
relation appointed by
type occupation
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?d WHERE { { ?d rdf:type ontology:occupation . ?b rdf:type ontology:occupation . ?d property:appointed_by ?b } UNION { ?d property:appointed_by ?b . ?d rdf:type ontology:occupation . ?b rdf:type ontology:assembly } } GROUP BY ?d } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:United_States_Secretary_of_the_Air_Force property:appointed_by ?y . { { ?y rdf:type ontology:occupation } UNION { ?y rdf:type ontology:assembly } } } } }
[]
occupation assembly occupation
Q687075 Q1749063 Q4377222
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, Premier of Nunavut
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q15305714 Q1749063 Q24636364 Q14565638 Q251724 Q842386 Q19056310 Q890030 Q6572133 Q796593 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q7574264 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q1370482 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q3251807 Q13526082 Q6866016 Q1790154 Q6866422 Q3251818 Q6866427 Q628102 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q1752346))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q261746
relation P748
type Q12737077
type Q1752346
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?d WHERE { { ?d rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q12737077 . ?d property:P748 ?b } UNION { ?d property:P748 ?b . ?d rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q1752346 } } GROUP BY ?d } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:Q261746 property:P748 ?y . { { ?y rdf:type ontology:Q12737077 } UNION { ?y rdf:type ontology:Q1752346 } } } } }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Prime Minister of Libya Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland Prime Minister of Russia President of Botswana State President of South Africa Governor of İstanbul President of Malta Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs President of Cuba Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act 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 President of Nauru Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
Prime Minister of Sweden Minister for Foreign Affairs of Sweden Premier of Nunavut
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity United States Secretary of the Air Force
relation appointed by
type occupation
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?d WHERE { { ?d rdf:type ontology:occupation . ?b rdf:type ontology:occupation . ?d property:appointed_by ?b } UNION { ?d property:appointed_by ?b . ?d rdf:type ontology:occupation . ?b rdf:type ontology:assembly } } GROUP BY ?d } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { resource:United_States_Secretary_of_the_Air_Force property:appointed_by ?y . { { ?y rdf:type ontology:occupation } UNION { ?y rdf:type ontology:assembly } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4122271
P748
Q1307214 Q11204 Q12737077
USER
Which occupations were appointed by lesser number of forms of government and legislatures than Premier of the People's Republic of China ?
(c(Q12737077),P748,c(Q1307214)|c(Q11204))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q4122271
relation P748
type Q1307214
type Q11204
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?o WHERE { VALUES ( ?i ) { ( ontology:Q1307214 ) ( ontology:Q11204 ) } . ?m rdf:type ?i } GROUP BY ?o } . FILTER ( ?y < ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q4122271 property:P748 ?l . { { ?l rdf:type ontology:Q11204 } UNION { ?l rdf:type ontology:Q1307214 } } } } }
Premier of the People's Republic of China
action less
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 legislature
action count
action filter_multi_types
action find
entity Premier of the People's Republic of China
relation appointed by
type form of government
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?o WHERE { VALUES ( ?i ) { ( ontology:form_of_government ) ( ontology:legislature ) } . ?m rdf:type ?i } GROUP BY ?o } . FILTER ( ?y < ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Premier_of_the_People's_Republic_of_China property:appointed_by ?l . { { ?l rdf:type ontology:legislature } UNION { ?l rdf:type ontology:form_of_government } } } } }
[]
form of government legislature occupation
Q687075 Q1749063 Q22955080
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, president of FIFA
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q21371106 Q2631987 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 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 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 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1307214)|c(Q11204))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q4122271
relation P748
type Q1307214
type Q11204
[ANSWERS] were appointed by lesser number of forms of government and legislatures than Premier of the People's Republic of China
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?o WHERE { VALUES ( ?i ) { ( ontology:Q1307214 ) ( ontology:Q11204 ) } . ?m rdf:type ?i } GROUP BY ?o } . FILTER ( ?y < ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q4122271 property:P748 ?l . { { ?l rdf:type ontology:Q11204 } UNION { ?l rdf:type ontology:Q1307214 } } } } }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect 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 Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana 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 United States Secretary of Agriculture European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Prime Minister of Libya 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 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 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 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 speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor President of the Generalitat of Catalonia Minister of Communications President of Nigeria 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 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 Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense 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 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 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 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 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
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and president of FIFA were appointed by lesser number of forms of government and legislatures than Premier of the People's Republic of China
Prime Minister of Sweden Minister for Foreign Affairs of Sweden president of FIFA
action less
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 legislature
action count
action filter_multi_types
action find
entity Premier of the People's Republic of China
relation appointed by
type form of government
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) ?o WHERE { VALUES ( ?i ) { ( ontology:form_of_government ) ( ontology:legislature ) } . ?m rdf:type ?i } GROUP BY ?o } . FILTER ( ?y < ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Premier_of_the_People's_Republic_of_China property:appointed_by ?l . { { ?l rdf:type ontology:legislature } UNION { ?l rdf:type ontology:form_of_government } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q26000995
P748
Q1307214 Q11204 Q12737077
USER
And how about President of the Parliament of Catalonia?
(c(Q12737077),P748,c(Q1307214)|c(Q11204))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q26000995
relation P748
type Q1307214
type Q11204
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?y ) WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1307214 ) ( ontology:Q11204 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { { ?u rdf:type ontology:Q1307214 } UNION { ?u rdf:type ontology:Q11204 } } . resource:Q26000995 property:P748 ?u } } . FILTER ( ?y < ?q ) }
President of the Parliament of Catalonia
action less
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 legislature
action count
action filter_multi_types
action find
entity President of the Parliament of Catalonia
relation appointed by
type form of government
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?y ) WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:form_of_government ) ( ontology:legislature ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { { ?u rdf:type ontology:form_of_government } UNION { ?u rdf:type ontology:legislature } } . resource:President_of_the_Parliament_of_Catalonia property:appointed_by ?u } } . FILTER ( ?y < ?q ) }
[]
form of government legislature occupation
Q687075 Q1749063 Q22955080
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, president of FIFA
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q21371106 Q2631987 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 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 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 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1307214)|c(Q11204))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q26000995
relation P748
type Q1307214
type Q11204
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?y ) WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1307214 ) ( ontology:Q11204 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { { ?u rdf:type ontology:Q1307214 } UNION { ?u rdf:type ontology:Q11204 } } . resource:Q26000995 property:P748 ?u } } . FILTER ( ?y < ?q ) }
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 Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana 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 United States Secretary of Agriculture European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Prime Minister of Libya 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 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 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 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 speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor President of the Generalitat of Catalonia Minister of Communications President of Nigeria 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 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 Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense 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 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 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 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 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
Prime Minister of Sweden Minister for Foreign Affairs of Sweden president of FIFA
action less
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 legislature
action count
action filter_multi_types
action find
entity President of the Parliament of Catalonia
relation appointed by
type form of government
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?y ) WHERE { ?w rdf:type ?f . VALUES ( ?f ) { ( ontology:form_of_government ) ( ontology:legislature ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { { ?u rdf:type ontology:form_of_government } UNION { ?u rdf:type ontology:legislature } } . resource:President_of_the_Parliament_of_Catalonia property:appointed_by ?u } } . FILTER ( ?y < ?q ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P39
Q502895
USER
How many people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q1749063)
[{'concept': 'Q502895'}, 'P39', 'Q1749063']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q1749063 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:Minister_for_Foreign_Affairs_of_Sweden . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q22955080
SYSTEM
Did you mean president of FIFA ?
(c(Q502895),P39,Q687075) (c(Q502895),P39,Q1749063) (c(Q502895),P39,Q22955080)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q687075'] [{'concept': 'Q502895'}, 'P39', 'Q1749063'] [{'concept': 'Q502895'}, 'P39', 'Q22955080']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q1749063 . ?z rdf:type ontology:Q502895 }
Did you mean president of FIFA ?
president of FIFA
[{'concept': 'common name'}, 'position held', 'Prime Minister of Sweden'] [{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden'] [{'concept': 'common name'}, 'position held', 'president of FIFA']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:Minister_for_Foreign_Affairs_of_Sweden . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Minister for Foreign Affairs of Sweden. Could you tell me the answer for that?
(c(Q502895),P39,Q1749063)
Q1749063
[{'concept': 'Q502895'}, 'P39', 'Q1749063']
[{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden']
[]
SYSTEM
11
Q291648 Q179493 Q208591 Q52922 Q298317 Q298317 Q237522 Q2938797 Q549955 Q53733 Q297275
(c(Q502895),P39,Q1749063)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q1749063']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P39 resource:Q1749063 . ?z rdf:type ontology:Q502895 }
Laila Freivalds Bertil Ohlin Anna Lindh Carl Bildt Östen Undén Östen Undén Margot Wallström Carin Jämtin Jan Eliasson Ola Ullsten Hans Blix
11
[{'concept': 'common name'}, 'position held', 'Minister for Foreign Affairs of Sweden']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:position_held resource:Minister_for_Foreign_Affairs_of_Sweden . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q359259
P417
Q502895 Q12737077
USER
Which people are the patron saint of approximately the same number of occupations as Saint Emeric of Hungary ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q359259
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P417 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:Q502895 . resource:Q359259 property:P417 ?n } } . FILTER ( ?s = ?w ) }
Saint Emeric of Hungary
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Emeric of Hungary
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:patron_saint ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:common_name . resource:Saint_Emeric_of_Hungary property:patron_saint ?n } } . FILTER ( ?s = ?w ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q359259
relation P417
type Q502895
[ANSWERS] are the patron saint of approximately the same number of occupations as Saint Emeric of Hungary
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P417 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:Q502895 . resource:Q359259 property:P417 ?n } } . FILTER ( ?s = ?w ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of approximately the same number of occupations as Saint Emeric of Hungary
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Emeric of Hungary
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:patron_saint ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:common_name . resource:Saint_Emeric_of_Hungary property:patron_saint ?n } } . FILTER ( ?s = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
How many fictional characters had atmost 2 people as the dubbing artist ?
(c(Q95074),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?u ) WHERE { ?m rdf:type ontology:Q95074 . ?y rdf:type ontology:Q502895 . ?m property:P725 ?y } GROUP BY ?m } . FILTER ( ?u <= 2 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?u ) WHERE { ?m rdf:type ontology:fictional_character . ?y rdf:type ontology:common_name . ?m property:voice_actor ?y } GROUP BY ?m } . FILTER ( ?u <= 2 ) }
[]
common name fictional character
SYSTEM
33
Q16027672 Q21847055 Q3498590 Q308950 Q28465 Q551327 Q21837832 Q21847115 Q15710873 Q2442950 Q21847074 Q21837038 Q7828 Q3838346 Q2570349 Q8139731 Q247120 Q1529229 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q27493503 Q1984009 Q605125 Q21847105 Q21847103 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?u ) WHERE { ?m rdf:type ontology:Q95074 . ?y rdf:type ontology:Q502895 . ?m property:P725 ?y } GROUP BY ?m } . FILTER ( ?u <= 2 ) }
Dr. Stewart Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Kyōichi Sudō Fumihiro Princess Celestia Max Rockatansky Kōichirō Iketani Keisuke Takahashi Marge Simpson Lucas Spike Spiegel G-Man Neo Darkwing Duck Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Desoto Death GLaDOS Kenta Nakamura Shingo Shōji Lisa Simpson Homer Simpson Ness
33
action count
action atmost
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?u ) WHERE { ?m rdf:type ontology:fictional_character . ?y rdf:type ontology:common_name . ?m property:voice_actor ?y } GROUP BY ?m } . FILTER ( ?u <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P53
Q874405
USER
What is the social group that Elizabeth II belongs to ?
(Q9682,P53,c(Q874405))
action filter_type
action find
entity Q9682
relation P53
type Q874405
['Q9682', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { resource:Q9682 property:P53 ?b . ?b rdf:type ontology:Q874405 }
Elizabeth II
action filter_type
action find
entity Elizabeth II
relation noble family
type social group
['Elizabeth II', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { resource:Elizabeth_II property:noble_family ?b . ?b rdf:type ontology:social_group }
[]
social group
Q81589
SYSTEM
House of Windsor
Q81589
(Q9682,P53,c(Q874405))
action filter_type
action find
entity Q9682
relation P53
type Q874405
The social group that Elizabeth II belongs to is the [ANSWER]
['Q9682', 'P53', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { resource:Q9682 property:P53 ?b . ?b rdf:type ontology:Q874405 }
House of Windsor
The social group that Elizabeth II belongs to is the House of Windsor
House of Windsor
action filter_type
action find
entity Elizabeth II
relation noble family
type social group
['Elizabeth II', 'noble family', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { resource:Elizabeth_II property:noble_family ?b . ?b rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P793
Q1656682
USER
What is a significant event associated with Elizabeth II ?
(Q9682,P793,c(Q1656682))
action filter_type
action find
entity Q9682
relation P793
type Q1656682
['Q9682', 'P793', {'concept': 'Q1656682'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1656682 . resource:Q9682 property:P793 ?r }
Elizabeth II
action filter_type
action find
entity Elizabeth II
relation significant event
type event
['Elizabeth II', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:event . resource:Elizabeth_II property:significant_event ?r }
[]
event
Q209715
SYSTEM
coronation
Q209715
(Q9682,P793,c(Q1656682))
action filter_type
action find
entity Q9682
relation P793
type Q1656682
A significant event associated with Elizabeth II is the [ANSWER]
['Q9682', 'P793', {'concept': 'Q1656682'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1656682 . resource:Q9682 property:P793 ?r }
coronation
A significant event associated with Elizabeth II is the coronation
coronation
action filter_type
action find
entity Elizabeth II
relation significant event
type event
['Elizabeth II', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:event . resource:Elizabeth_II property:significant_event ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9682
P488
Q163740
USER
Which nonprofit organization does that person serve as a chairman for ?
(c(Q163740),P488,Q209715)
action filter_type
action find_reverse
entity Q9682
relation P488
type Q163740
[{'concept': 'Q163740'}, 'P488', 'Q209715']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q163740 . ?e property:P488 resource:Q9682 }
Elizabeth II
action filter_type
action find_reverse
entity Elizabeth II
relation chairperson
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'chairperson', 'coronation']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nonprofit_organization . ?e property:chairperson resource:Elizabeth_II }
[]
nonprofit organization
Q584819
SYSTEM
Royal Society for the Prevention of Cruelty to Animals
Q584819
(c(Q163740),P488,Q209715)
action filter_type
action find_reverse
entity Q9682
relation P488
type Q163740
That person serves as a chairman for the [ANSWER]
[{'concept': 'Q163740'}, 'P488', 'Q209715']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q163740 . ?e property:P488 resource:Q9682 }
Royal Society for the Prevention of Cruelty to Animals
That person serves as a chairman for the Royal Society for the Prevention of Cruelty to Animals
Royal Society for the Prevention of Cruelty to Animals
action filter_type
action find_reverse
entity Elizabeth II
relation chairperson
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'chairperson', 'coronation']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:nonprofit_organization . ?e property:chairperson resource:Elizabeth_II }
[]