Simple Question (Direct)
Simple Question
Q21572155
P106
Q12737077
USER
Which occupations are the professions of Mark Pimlott ?
(Q21572155,P106,c(Q12737077))
action filter_type
action find
entity Q21572155
relation P106
type Q12737077
['Q21572155', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q21572155 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Mark Pimlott
action filter_type
action find
entity Mark Pimlott
relation occupation
type occupation
['Mark Pimlott', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Mark_Pimlott property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q42973 Q483501
SYSTEM
architect, artist
Q42973 Q483501
(Q21572155,P106,c(Q12737077))
action filter_type
action find
entity Q21572155
relation P106
type Q12737077
The professions of Mark Pimlott are the [ANSWERS]
['Q21572155', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q21572155 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
architect artist
The professions of Mark Pimlott are the architect and artist
architect artist
action filter_type
action find
entity Mark Pimlott
relation occupation
type occupation
['Mark Pimlott', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Mark_Pimlott property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21572155
P19
Q56061
USER
Which administrative territory is the place of birth of Mark Pimlott ?
(Q21572155,P19,c(Q56061))
action filter_type
action find
entity Q21572155
relation P19
type Q56061
['Q21572155', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q21572155 property:P19 ?m }
Mark Pimlott
action filter_type
action find
entity Mark Pimlott
relation place of birth
type administrative territorial entity
['Mark Pimlott', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Mark_Pimlott property:place_of_birth ?m }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q21572155,P19,c(Q56061))
action filter_type
action find
entity Q21572155
relation P19
type Q56061
[ANSWER] is the place of birth of Mark Pimlott
['Q21572155', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q21572155 property:P19 ?m }
Montreal
Montreal is the place of birth of Mark Pimlott
Montreal
action filter_type
action find
entity Mark Pimlott
relation place of birth
type administrative territorial entity
['Mark Pimlott', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Mark_Pimlott property:place_of_birth ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21572155
P21
Q290
USER
What is the sex of Mark Pimlott ?
(Q21572155,P21,c(Q290))
action filter_type
action find
entity Q21572155
relation P21
type Q290
['Q21572155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q21572155 property:P21 ?n . ?n rdf:type ontology:Q290 }
Mark Pimlott
action filter_type
action find
entity Mark Pimlott
relation gender
type sex
['Mark Pimlott', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Mark_Pimlott property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21572155,P21,c(Q290))
action filter_type
action find
entity Q21572155
relation P21
type Q290
The sex of Mark Pimlott is the [ANSWER]
['Q21572155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q21572155 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Mark Pimlott is the male
male
action filter_type
action find
entity Mark Pimlott
relation gender
type sex
['Mark Pimlott', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Mark_Pimlott property:gender ?n . ?n rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q2342494 Q3516658
USER
Which occupations are expressed in exactly 1 collectables or heraldic symbols ?
(c(Q2342494)|c(Q3516658),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?e WHERE { { ?e rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q2342494 . ?m property:P180 ?e } UNION { ?e rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3516658 . ?m property:P180 ?e } } GROUP BY ?e } . FILTER ( ?k = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'collectable'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?e WHERE { { ?e rdf:type ontology:occupation . ?m rdf:type ontology:collectable . ?m property:depicts ?e } UNION { ?e rdf:type ontology:occupation . ?m rdf:type ontology:heraldic_symbol . ?m property:depicts ?e } } GROUP BY ?e } . FILTER ( ?k = 1 ) }
[]
occupation collectable heraldic symbol
Q170779 Q1250916 Q11900058
SYSTEM
Kassandra, warrior, explorer
Q1250916 Q11900058 Q843281 Q170779
(c(Q2342494)|c(Q3516658),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[ANSWERS] are expressed in exactly 1 collectables or heraldic symbols
[[{'concept': 'Q2342494'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?e WHERE { { ?e rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q2342494 . ?m property:P180 ?e } UNION { ?e rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3516658 . ?m property:P180 ?e } } GROUP BY ?e } . FILTER ( ?k = 1 ) }
warrior explorer hobo Kassandra
Kassandra, warrior and explorer are expressed in exactly 1 collectables or heraldic symbols
Kassandra warrior explorer
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'collectable'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) ?e WHERE { { ?e rdf:type ontology:occupation . ?m rdf:type ontology:collectable . ?m property:depicts ?e } UNION { ?e rdf:type ontology:occupation . ?m rdf:type ontology:heraldic_symbol . ?m property:depicts ?e } } GROUP BY ?e } . FILTER ( ?k = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340
P1313
Q12737077
USER
What is the occupation held by Montreal ?
(Q340,P1313,c(Q12737077))
action filter_type
action find
entity Q340
relation P1313
type Q12737077
['Q340', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q340 property:P1313 ?w . ?w rdf:type ontology:Q12737077 }
Montreal
action filter_type
action find
entity Montreal
relation office held by head of government
type occupation
['Montreal', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Montreal property:office_held_by_head_of_government ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q177645
SYSTEM
Mayor of Montreal
Q177645
(Q340,P1313,c(Q12737077))
action filter_type
action find
entity Q340
relation P1313
type Q12737077
The occupation held by Montreal is the [ANSWER]
['Q340', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q340 property:P1313 ?w . ?w rdf:type ontology:Q12737077 }
Mayor of Montreal
The occupation held by Montreal is the Mayor of Montreal
Mayor of Montreal
action filter_type
action find
entity Montreal
relation office held by head of government
type occupation
['Montreal', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Montreal property:office_held_by_head_of_government ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1766495
Q12737077
USER
And also tell me about San Pedro de Ceque?
(Q1766495,P1313,c(Q12737077))
action filter_type
action find
entity Q1766495
relation P1313
type Q12737077
['Q1766495', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1766495 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
San Pedro de Ceque
action filter_type
action find
entity San Pedro de Ceque
relation office held by head of government
type occupation
['San Pedro de Ceque', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:San_Pedro_de_Ceque property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q26695506
SYSTEM
mayor of San Pedro de Ceque
Q26695506
(Q1766495,P1313,c(Q12737077))
action filter_type
action find
entity Q1766495
relation P1313
type Q12737077
[ANSWER]
['Q1766495', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1766495 property:P1313 ?a . ?a rdf:type ontology:Q12737077 }
mayor of San Pedro de Ceque
mayor of San Pedro de Ceque
action filter_type
action find
entity San Pedro de Ceque
relation office held by head of government
type occupation
['San Pedro de Ceque', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:San_Pedro_de_Ceque property:office_held_by_head_of_government ?a . ?a rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26695506 Q29
P17
Q15617994
USER
Is mayor of San Pedro de Ceque present in Spain ?
(Q26695506,P17,Q29)
action is_in
entity Q29
action find
entity Q26695506
relation P17
['Q26695506', 'P17', 'Q29']
ASK WHERE { resource:Q26695506 property:P17 resource:Q29 }
mayor of San Pedro de Ceque Spain
action is_in
entity Spain
action find
entity mayor of San Pedro de Ceque
relation country
['mayor of San Pedro de Ceque', 'country', 'Spain']
ASK WHERE { resource:mayor_of_San_Pedro_de_Ceque property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q26695506,P17,Q29)
action is_in
entity Q29
action find
entity Q26695506
relation P17
[ANSWER]
['Q26695506', 'P17', 'Q29']
ASK WHERE { resource:Q26695506 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity mayor of San Pedro de Ceque
relation country
['mayor of San Pedro de Ceque', 'country', 'Spain']
ASK WHERE { resource:mayor_of_San_Pedro_de_Ceque property:country resource:Spain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26695506
P1001
Q1048835
USER
Which political territory comes under the supervision of that occupation ?
action filter_type
action find
entity Q26695506
relation P1001
type Q1048835
SELECT DISTINCT ?p WHERE { resource:Q26695506 property:P1001 ?p . ?p rdf:type ontology:Q1048835 }
mayor of San Pedro de Ceque
action filter_type
action find
entity mayor of San Pedro de Ceque
relation applies to jurisdiction
type political territorial entity
SELECT DISTINCT ?p WHERE { resource:mayor_of_San_Pedro_de_Ceque property:applies_to_jurisdiction ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1766495
SYSTEM
San Pedro de Ceque
Q1766495
action filter_type
action find
entity Q26695506
relation P1001
type Q1048835
[ANSWER] comes under the supervision of that occupation
SELECT DISTINCT ?p WHERE { resource:Q26695506 property:P1001 ?p . ?p rdf:type ontology:Q1048835 }
San Pedro de Ceque
San Pedro de Ceque comes under the supervision of that occupation
San Pedro de Ceque
action filter_type
action find
entity mayor of San Pedro de Ceque
relation applies to jurisdiction
type political territorial entity
SELECT DISTINCT ?p WHERE { resource:mayor_of_San_Pedro_de_Ceque property:applies_to_jurisdiction ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7444352
P748
Q502895 Q12737077 Q12737077
USER
How many occupations were appointed by lesser number of people or occupations than Secretary of State for International Development ?
(c(Q12737077),P748,c(Q502895)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q7444352
relation P748
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?e ) WHERE { { ?b property:P748 ?c . ?b rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } UNION { ?b property:P748 ?c . ?b rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q12737077 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q7444352 property:P748 ?i . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q12737077 } } } } . FILTER ( ?e < ?x ) }
Secretary of State for International Development
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Secretary of State for International Development
relation appointed by
type common name
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?e ) WHERE { { ?b property:appointed_by ?c . ?b rdf:type ontology:occupation . ?c rdf:type ontology:common_name } UNION { ?b property:appointed_by ?c . ?b rdf:type ontology:occupation . ?c rdf:type ontology:occupation } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Secretary_of_State_for_International_Development property:appointed_by ?i . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:occupation } } } } . FILTER ( ?e < ?x ) }
[]
common name occupation occupation
SYSTEM
167
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q2666591 Q191954 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q735575 Q2287650 Q1507619 Q5333410 Q376006 Q21013169 Q26209348 Q39021 Q261746 Q20867494 Q740126 Q21013163 Q7241304 Q910308 Q1029955 Q1753754 Q642859 Q20890902 Q1140848 Q15730802 Q967762 Q943379 Q15305714 Q20872382 Q20872273 Q655407 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q20891385 Q796593 Q6865833 Q2660943 Q940135 Q20172329 Q2305968 Q21384866 Q596123 Q7444340 Q20194364 Q1476165 Q2914452 Q3058109 Q2419581 Q273884 Q25863345 Q20130623 Q1054799 Q21383592 Q2747647 Q2390270 Q13527933 Q583809 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q13645132 Q636207 Q475658 Q7574264 Q2003296 Q20859386 Q967750 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q8882 Q20867550 Q467926 Q813403 Q27516596 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q783785 Q5096847 Q4818607 Q1072415 Q26000995 Q3409203 Q213107 Q327948 Q1763459 Q19364214 Q1753094 Q1591470 Q2741486 Q3315112 Q735015 Q2708520 Q22955080 Q319145 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q967737 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q20748654 Q19328451 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q1074656 Q735587 Q592866 Q1281611 Q81066 Q26721218 Q1658460 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q786242 Q1434880 Q1072341
(c(Q12737077),P748,c(Q502895)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q7444352
relation P748
type Q502895
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?e ) WHERE { { ?b property:P748 ?c . ?b rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } UNION { ?b property:P748 ?c . ?b rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q12737077 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q7444352 property:P748 ?i . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q12737077 } } } } . FILTER ( ?e < ?x ) }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Economic Secretary to the Treasury Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague President of the Australian Senate Lord Privy Seal United States Secretary of Agriculture Master of the Rolls United States Secretary of Homeland Security Mayor of Eindhoven President pro tempore of the United States Senate Mayor of Rotterdam United States Secretary of Education Lord President of the Council Prime Minister of Libya municipal executive of Coevorden municipal executive of Boxmeer President of the People's Republic of China 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 municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs United States Secretary of the Navy Mayor of Hoogland United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Prime Minister of the Netherlands United States Secretary of Housing and Urban Development President of South Africa Secretary of State for International Trade Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament United States Secretary of Commerce Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco President of the European Commission municipal executive of Gorinchem Cathaoirleach King's or Queen's Commissioner King's Commissioner of North Holland President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere President of Iran Chief of Staff of the United States Army Chief Minister Attorney-General of Australia Chief of Naval Operations President of the Parliament of Catalonia President of Greece Prime Minister of Belgium President of Israel Chairman of the Joint Chiefs of Staff President of Somalia United States Postmaster General United States Secretary of the Army Chief Executive of Hong Kong Minister for Defence United States Secretary of Defense Chairman of the Communist Party of China president of FIFA Prime Minister of Australia 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 United States Secretary of Transportation Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Mayor of Zoetermeer Mayor of Haarlem Lord Chancellor Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia President of Romania Prime Minister of Papua New Guinea President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey United Nations Secretary-General municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales White House Chief of Staff Surgeon General of the United States Chief Minister of the Northern Territory
167
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Secretary of State for International Development
relation appointed by
type common name
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?e ) WHERE { { ?b property:appointed_by ?c . ?b rdf:type ontology:occupation . ?c rdf:type ontology:common_name } UNION { ?b property:appointed_by ?c . ?b rdf:type ontology:occupation . ?c rdf:type ontology:occupation } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Secretary_of_State_for_International_Development property:appointed_by ?i . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:occupation } } } } . FILTER ( ?e < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1469153
P748
Q502895 Q12737077 Q12737077
USER
And how about Prime Minister of Fiji?
(c(Q12737077),P748,c(Q502895)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q1469153
relation P748
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?z ) WHERE { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:Q12737077 ) ( ontology:Q502895 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q1469153 property:P748 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q12737077 } } } } . FILTER ( ?z < ?q ) }
Prime Minister of Fiji
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Prime Minister of Fiji
relation appointed by
type common name
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?z ) WHERE { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:occupation ) ( ontology:common_name ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Prime_Minister_of_Fiji property:appointed_by ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:occupation } } } } . FILTER ( ?z < ?q ) }
[]
common name occupation occupation
SYSTEM
167
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q2666591 Q191954 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q735575 Q2287650 Q1507619 Q5333410 Q376006 Q21013169 Q26209348 Q39021 Q261746 Q20867494 Q740126 Q21013163 Q7241304 Q910308 Q1029955 Q1753754 Q642859 Q20890902 Q1140848 Q15730802 Q967762 Q943379 Q15305714 Q20872382 Q20872273 Q655407 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q20891385 Q796593 Q6865833 Q2660943 Q940135 Q20172329 Q2305968 Q21384866 Q596123 Q7444340 Q20194364 Q1476165 Q2914452 Q3058109 Q2419581 Q273884 Q25863345 Q20130623 Q1054799 Q21383592 Q2747647 Q2390270 Q13527933 Q583809 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q13645132 Q636207 Q475658 Q7574264 Q2003296 Q20859386 Q967750 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q8882 Q20867550 Q467926 Q813403 Q27516596 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q783785 Q5096847 Q4818607 Q1072415 Q26000995 Q3409203 Q213107 Q327948 Q1763459 Q19364214 Q1753094 Q1591470 Q2741486 Q3315112 Q735015 Q2708520 Q22955080 Q319145 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q967737 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q20748654 Q19328451 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q1074656 Q735587 Q592866 Q1281611 Q81066 Q26721218 Q1658460 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q786242 Q1434880 Q1072341
(c(Q12737077),P748,c(Q502895)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q1469153
relation P748
type Q502895
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?z ) WHERE { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:Q12737077 ) ( ontology:Q502895 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q1469153 property:P748 ?y . { { ?y rdf:type ontology:Q502895 } UNION { ?y rdf:type ontology:Q12737077 } } } } . FILTER ( ?z < ?q ) }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Economic Secretary to the Treasury Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague President of the Australian Senate Lord Privy Seal United States Secretary of Agriculture Master of the Rolls United States Secretary of Homeland Security Mayor of Eindhoven President pro tempore of the United States Senate Mayor of Rotterdam United States Secretary of Education Lord President of the Council Prime Minister of Libya municipal executive of Coevorden municipal executive of Boxmeer President of the People's Republic of China 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 municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs United States Secretary of the Navy Mayor of Hoogland United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Prime Minister of the Netherlands United States Secretary of Housing and Urban Development President of South Africa Secretary of State for International Trade Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament United States Secretary of Commerce Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco President of the European Commission municipal executive of Gorinchem Cathaoirleach King's or Queen's Commissioner King's Commissioner of North Holland President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere President of Iran Chief of Staff of the United States Army Chief Minister Attorney-General of Australia Chief of Naval Operations President of the Parliament of Catalonia President of Greece Prime Minister of Belgium President of Israel Chairman of the Joint Chiefs of Staff President of Somalia United States Postmaster General United States Secretary of the Army Chief Executive of Hong Kong Minister for Defence United States Secretary of Defense Chairman of the Communist Party of China president of FIFA Prime Minister of Australia 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 United States Secretary of Transportation Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Mayor of Zoetermeer Mayor of Haarlem Lord Chancellor Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia President of Romania Prime Minister of Papua New Guinea President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey United Nations Secretary-General municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales White House Chief of Staff Surgeon General of the United States Chief Minister of the Northern Territory
167
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Prime Minister of Fiji
relation appointed by
type common name
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?z ) WHERE { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:occupation ) ( ontology:common_name ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Prime_Minister_of_Fiji property:appointed_by ?y . { { ?y rdf:type ontology:common_name } UNION { ?y rdf:type ontology:occupation } } } } . FILTER ( ?z < ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1766495
P47
Q1048835
USER
Which political territory is adjacent to San Pedro de Ceque ?
(Q1766495,P47,c(Q1048835))
action filter_type
action find
entity Q1766495
relation P47
type Q1048835
['Q1766495', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q1766495 property:P47 ?f }
San Pedro de Ceque
action filter_type
action find
entity San Pedro de Ceque
relation shares border with
type political territorial entity
['San Pedro de Ceque', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:San_Pedro_de_Ceque property:shares_border_with ?f }
[]
political territorial entity
Q1766897
SYSTEM
Vega de Tera
Q1766897
(Q1766495,P47,c(Q1048835))
action filter_type
action find
entity Q1766495
relation P47
type Q1048835
[ANSWER] is adjacent to San Pedro de Ceque
['Q1766495', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q1766495 property:P47 ?f }
Vega de Tera
Vega de Tera is adjacent to San Pedro de Ceque
Vega de Tera
action filter_type
action find
entity San Pedro de Ceque
relation shares border with
type political territorial entity
['San Pedro de Ceque', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:San_Pedro_de_Ceque property:shares_border_with ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42973
P921
Q2342494
USER
Which collectable was mainly based on architect ?
(c(Q2342494),P921,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q42973']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q42973 . ?f rdf:type ontology:Q2342494 }
architect
action filter_type
action find_reverse
entity architect
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'architect']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:architect . ?f rdf:type ontology:collectable }
[]
collectable
Q23595644
SYSTEM
Episodes in the Gothic revival : six church architects
Q23595644
(c(Q2342494),P921,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P921
type Q2342494
[ANSWER] was mainly based on architect
[{'concept': 'Q2342494'}, 'P921', 'Q42973']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q42973 . ?f rdf:type ontology:Q2342494 }
Episodes in the Gothic revival : six church architects
Episodes in the Gothic revival : six church architects was mainly based on architect
Episodes in the Gothic revival : six church architects
action filter_type
action find_reverse
entity architect
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'architect']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:architect . ?f rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23595644
P136
Q2342494
USER
Which collectable is the genre for that one ?
(Q23595644,P136,c(Q2342494))
action filter_type
action find
entity Q23595644
relation P136
type Q2342494
['Q23595644', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?o WHERE { resource:Q23595644 property:P136 ?o . ?o rdf:type ontology:Q2342494 }
Episodes in the Gothic revival : six church architects
action filter_type
action find
entity Episodes in the Gothic revival : six church architects
relation genre
type collectable
['Episodes in the Gothic revival : six church architects', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?o WHERE { resource:Episodes_in_the_Gothic_revival_:_six_church_architects property:genre ?o . ?o rdf:type ontology:collectable }
[]
collectable
Q20540385
SYSTEM
non-fiction book
Q20540385
(Q23595644,P136,c(Q2342494))
action filter_type
action find
entity Q23595644
relation P136
type Q2342494
The [ANSWER] is the genre for that one
['Q23595644', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?o WHERE { resource:Q23595644 property:P136 ?o . ?o rdf:type ontology:Q2342494 }
non-fiction book
The non-fiction book is the genre for that one
non-fiction book
action filter_type
action find
entity Episodes in the Gothic revival : six church architects
relation genre
type collectable
['Episodes in the Gothic revival : six church architects', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?o WHERE { resource:Episodes_in_the_Gothic_revival_:_six_church_architects property:genre ?o . ?o rdf:type ontology:collectable }
[]