Simple Question (Direct)
Simple Question
Q3840657
P57
Q502895
USER
Which person served as the directed of Red Moon ?
(Q3840657,P57,c(Q502895))
action filter_type
action find
entity Q3840657
relation P57
type Q502895
['Q3840657', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3840657 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Red Moon
action filter_type
action find
entity Red Moon
relation director
type common name
['Red Moon', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Red_Moon property:director ?g . ?g rdf:type ontology:common_name }
[]
common name
Q2600468
SYSTEM
Antonio Capuano
Q2600468
(Q3840657,P57,c(Q502895))
action filter_type
action find
entity Q3840657
relation P57
type Q502895
[ANSWER] served as the directed of Red Moon
['Q3840657', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3840657 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Antonio Capuano
Antonio Capuano served as the directed of Red Moon
Antonio Capuano
action filter_type
action find
entity Red Moon
relation director
type common name
['Red Moon', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Red_Moon property:director ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2600468
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2600468,P106,c(Q12737077))
action filter_type
action find
entity Q2600468
relation P106
type Q12737077
['Q2600468', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q2600468 property:P106 ?j }
Antonio Capuano
action filter_type
action find
entity Antonio Capuano
relation occupation
type occupation
['Antonio Capuano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Antonio_Capuano property:occupation ?j }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q2600468,P106,c(Q12737077))
action filter_type
action find
entity Q2600468
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q2600468', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q2600468 property:P106 ?j }
painter
The painter is the profession of that person
painter
action filter_type
action find
entity Antonio Capuano
relation occupation
type occupation
['Antonio Capuano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Antonio_Capuano property:occupation ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2600468
P58
Q838948
USER
Which works of art are Antonio Capuano a screenwriter of ?
(c(Q838948),P58,Q2600468)
action filter_type
action find_reverse
entity Q2600468
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q2600468']
SELECT DISTINCT ?b WHERE { ?b property:P58 resource:Q2600468 . ?b rdf:type ontology:Q838948 }
Antonio Capuano
action filter_type
action find_reverse
entity Antonio Capuano
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Antonio Capuano']
SELECT DISTINCT ?b WHERE { ?b property:screenwriter resource:Antonio_Capuano . ?b rdf:type ontology:work_of_art }
[]
work of art
Q3791401 Q3907716 Q3822695
SYSTEM
The Vesuvians, The Dust of Naples, Mario's War
Q3822695 Q1397907 Q3791401 Q3907716 Q16622423
(c(Q838948),P58,Q2600468)
action filter_type
action find_reverse
entity Q2600468
relation P58
type Q838948
[ANSWERS] are Antonio Capuano a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q2600468']
SELECT DISTINCT ?b WHERE { ?b property:P58 resource:Q2600468 . ?b rdf:type ontology:Q838948 }
Mario's War Sacred Silence The Vesuvians The Dust of Naples Vito e gli altri
The Vesuvians, The Dust of Naples and Mario's War are Antonio Capuano a screenwriter of
The Vesuvians The Dust of Naples Mario's War
action filter_type
action find_reverse
entity Antonio Capuano
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Antonio Capuano']
SELECT DISTINCT ?b WHERE { ?b property:screenwriter resource:Antonio_Capuano . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2600468
P21
Q290
USER
Which sex does Antonio Capuano possess ?
(Q2600468,P21,c(Q290))
action filter_type
action find
entity Q2600468
relation P21
type Q290
['Q2600468', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2600468 property:P21 ?c . ?c rdf:type ontology:Q290 }
Antonio Capuano
action filter_type
action find
entity Antonio Capuano
relation gender
type sex
['Antonio Capuano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Antonio_Capuano property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2600468,P21,c(Q290))
action filter_type
action find
entity Q2600468
relation P21
type Q290
Antonio Capuano possesses un [ANSWER]
['Q2600468', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2600468 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Antonio Capuano possesses un male
male
action filter_type
action find
entity Antonio Capuano
relation gender
type sex
['Antonio Capuano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Antonio_Capuano property:gender ?c . ?c rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q2039718
P21
Q502895
USER
Is Otto Lanz a that sex ?
(Q2039718,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q2039718
relation P21
['Q2039718', 'P21', 'Q6581097']
ASK WHERE { resource:Q2039718 property:P21 resource:Q6581097 }
male Otto Lanz
action is_in
entity male
action find
entity Otto Lanz
relation gender
['Otto Lanz', 'gender', 'male']
ASK WHERE { resource:Otto_Lanz property:gender resource:male }
[]
common name
SYSTEM
YES
(Q2039718,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q2039718
relation P21
[ANSWER]
['Q2039718', 'P21', 'Q6581097']
ASK WHERE { resource:Q2039718 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Otto Lanz
relation gender
['Otto Lanz', 'gender', 'male']
ASK WHERE { resource:Otto_Lanz property:gender resource:male }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q967737
P748
Q895526 Q502895 Q12737077
USER
How many occupations did lesser number of authority organs and people appoint than United States Secretary of Transportation ?
(c(Q12737077),P748,c(Q895526)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q967737
relation P748
type Q895526
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?z WHERE { VALUES ( ?n ) { ( ontology:Q895526 ) ( ontology:Q502895 ) } . ?g rdf:type ?n } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q967737 property:P748 ?v . { VALUES ( ?b ) { ( ontology:Q895526 ) ( ontology:Q502895 ) } . ?v rdf:type ?b } } } . FILTER ( ?k < ?j ) }
United States Secretary of Transportation
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity United States Secretary of Transportation
relation appointed by
type authority organ
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?z WHERE { VALUES ( ?n ) { ( ontology:authority_organ ) ( ontology:common_name ) } . ?g rdf:type ?n } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:United_States_Secretary_of_Transportation property:appointed_by ?v . { VALUES ( ?b ) { ( ontology:authority_organ ) ( ontology:common_name ) } . ?v rdf:type ?b } } } . FILTER ( ?k < ?j ) }
[]
authority organ common name occupation
SYSTEM
247
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q191954 Q6865958 Q3251824 Q11793630 Q27650822 Q21371106 Q1355456 Q735575 Q1507619 Q737115 Q6578215 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1753754 Q1476458 Q15407843 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q943379 Q15305714 Q20872382 Q1749063 Q20872273 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q274948 Q21384866 Q596123 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q20130623 Q1054799 Q21383592 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q20859386 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q1195270 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q4122271 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q967737
relation P748
type Q895526
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?z WHERE { VALUES ( ?n ) { ( ontology:Q895526 ) ( ontology:Q502895 ) } . ?g rdf:type ?n } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q967737 property:P748 ?v . { VALUES ( ?b ) { ( ontology:Q895526 ) ( ontology:Q502895 ) } . ?v rdf:type ?b } } } . FILTER ( ?k < ?j ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven President of the French Republic Minister for Social Protection Minister of Natural Resources governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea 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 Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Minister for Foreign Affairs of Sweden municipal executive of Boxmeer President of the People's Republic of China bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Thailand President of Botswana State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Mayor of Hoogland Prime Minister of Japan municipal executive of Rotterdam president of Bangladesh Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Mayor of Woerden President of Poland municipal executive of Haarlem Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Auditor General of Canada President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Mayor of Mierlo Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Prime Minister of Sweden Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan Premier of the People's Republic of China Leader of the Government in the House of Commons Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor 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 Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
247
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity United States Secretary of Transportation
relation appointed by
type authority organ
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?z WHERE { VALUES ( ?n ) { ( ontology:authority_organ ) ( ontology:common_name ) } . ?g rdf:type ?n } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:United_States_Secretary_of_Transportation property:appointed_by ?v . { VALUES ( ?b ) { ( ontology:authority_organ ) ( ontology:common_name ) } . ?v rdf:type ?b } } } . FILTER ( ?k < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1434880
P748
Q895526 Q502895 Q12737077
USER
And what about Surgeon General of the United States?
(c(Q12737077),P748,c(Q895526)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q1434880
relation P748
type Q895526
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?l WHERE { { ?l property:P748 ?q . ?l rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 } UNION { ?l property:P748 ?q . ?q rdf:type ontology:Q895526 . ?l rdf:type ontology:Q12737077 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q1434880 property:P748 ?b . { { ?b rdf:type ontology:Q895526 } UNION { ?b rdf:type ontology:Q502895 } } } } . FILTER ( ?p < ?w ) }
Surgeon General of the United States
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Surgeon General of the United States
relation appointed by
type authority organ
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?l WHERE { { ?l property:appointed_by ?q . ?l rdf:type ontology:occupation . ?q rdf:type ontology:common_name } UNION { ?l property:appointed_by ?q . ?q rdf:type ontology:authority_organ . ?l rdf:type ontology:occupation } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Surgeon_General_of_the_United_States property:appointed_by ?b . { { ?b rdf:type ontology:authority_organ } UNION { ?b rdf:type ontology:common_name } } } } . FILTER ( ?p < ?w ) }
[]
authority organ common name occupation
SYSTEM
247
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q191954 Q6865958 Q3251824 Q11793630 Q27650822 Q21371106 Q1355456 Q735575 Q1507619 Q737115 Q6578215 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1753754 Q1476458 Q15407843 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q943379 Q15305714 Q20872382 Q1749063 Q20872273 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q274948 Q21384866 Q596123 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q20130623 Q1054799 Q21383592 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q20859386 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q1195270 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q4122271 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q502895))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q1434880
relation P748
type Q895526
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?l WHERE { { ?l property:P748 ?q . ?l rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 } UNION { ?l property:P748 ?q . ?q rdf:type ontology:Q895526 . ?l rdf:type ontology:Q12737077 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q1434880 property:P748 ?b . { { ?b rdf:type ontology:Q895526 } UNION { ?b rdf:type ontology:Q502895 } } } } . FILTER ( ?p < ?w ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven President of the French Republic Minister for Social Protection Minister of Natural Resources governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea 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 Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Minister for Foreign Affairs of Sweden municipal executive of Boxmeer President of the People's Republic of China bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Thailand President of Botswana State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Mayor of Hoogland Prime Minister of Japan municipal executive of Rotterdam president of Bangladesh Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Mayor of Woerden President of Poland municipal executive of Haarlem Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Auditor General of Canada President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Mayor of Mierlo Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Prime Minister of Sweden Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan Premier of the People's Republic of China Leader of the Government in the House of Commons Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor 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 Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
247
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type common name
action count
action filter_multi_types
action find
entity Surgeon General of the United States
relation appointed by
type authority organ
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) ?l WHERE { { ?l property:appointed_by ?q . ?l rdf:type ontology:occupation . ?q rdf:type ontology:common_name } UNION { ?l property:appointed_by ?q . ?q rdf:type ontology:authority_organ . ?l rdf:type ontology:occupation } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Surgeon_General_of_the_United_States property:appointed_by ?b . { { ?b rdf:type ontology:authority_organ } UNION { ?b rdf:type ontology:common_name } } } } . FILTER ( ?p < ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3907716
P1040
Q502895
USER
Which person is the editor of The Dust of Naples ?
(Q3907716,P1040,c(Q502895))
action filter_type
action find
entity Q3907716
relation P1040
type Q502895
['Q3907716', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q3907716 property:P1040 ?s }
The Dust of Naples
action filter_type
action find
entity The Dust of Naples
relation film editor
type common name
['The Dust of Naples', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Dust_of_Naples property:film_editor ?s }
[]
common name
Q15888279
SYSTEM
Giogiò Franchini
Q15888279
(Q3907716,P1040,c(Q502895))
action filter_type
action find
entity Q3907716
relation P1040
type Q502895
[ANSWER] is the editor of The Dust of Naples
['Q3907716', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q3907716 property:P1040 ?s }
Giogiò Franchini
Giogiò Franchini is the editor of The Dust of Naples
Giogiò Franchini
action filter_type
action find
entity The Dust of Naples
relation film editor
type common name
['The Dust of Naples', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Dust_of_Naples property:film_editor ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3907716
P161
Q502895
USER
Who starred in that work of art ?
(Q15888279,P161,c(Q502895))
action filter_type
action find
entity Q3907716
relation P161
type Q502895
['Q15888279', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3907716 property:P161 ?r . ?r rdf:type ontology:Q502895 }
The Dust of Naples
action filter_type
action find
entity The Dust of Naples
relation cast member
type common name
['Giogiò Franchini', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Dust_of_Naples property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q938613 Q3767179 Q131665
SYSTEM
Alan De Luca, Giovanni Esposito, Lola Pagnani
Q3767179 Q938613 Q677260 Q3764133 Q3619073 Q131665 Q3518353
(Q15888279,P161,c(Q502895))
action filter_type
action find
entity Q3907716
relation P161
type Q502895
[ANSWERS] starred in that work of art
['Q15888279', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3907716 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Giovanni Esposito Alan De Luca Silvio Orlando Gigio Morra Antonino Iuorio Lola Pagnani Teresa Saponangelo
Alan De Luca, Giovanni Esposito and Lola Pagnani starred in that work of art
Alan De Luca Giovanni Esposito Lola Pagnani
action filter_type
action find
entity The Dust of Naples
relation cast member
type common name
['Giogiò Franchini', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Dust_of_Naples property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19600496
P161
Q838948
USER
Does Yahaan Sabki Lagi Hai star those people as actor ?
(Q19600496,P161,Q938613) (Q19600496,P161,Q3767179) (Q19600496,P161,Q131665)
action is_in
entity prev_answer
action find
entity Q19600496
relation P161
['Q19600496', 'P161', 'Q938613'] ['Q19600496', 'P161', 'Q3767179'] ['Q19600496', 'P161', 'Q131665']
ASK WHERE { resource:Q19600496 property:P161 ?i . VALUES ( ?i ) { ( resource:Q3767179 ) ( resource:Q938613 ) ( resource:Q677260 ) } }
Yahaan Sabki Lagi Hai
action is_in
entity prev_answer
action find
entity Yahaan Sabki Lagi Hai
relation cast member
['Yahaan Sabki Lagi Hai', 'cast member', 'Alan De Luca'] ['Yahaan Sabki Lagi Hai', 'cast member', 'Giovanni Esposito'] ['Yahaan Sabki Lagi Hai', 'cast member', 'Lola Pagnani']
ASK WHERE { resource:Yahaan_Sabki_Lagi_Hai property:cast_member ?i . VALUES ( ?i ) { ( resource:Giovanni_Esposito ) ( resource:Alan_De_Luca ) ( resource:Silvio_Orlando ) } }
[]
work of art
SYSTEM
NO
(Q19600496,P161,Q938613) (Q19600496,P161,Q3767179) (Q19600496,P161,Q131665)
action is_in
entity prev_answer
action find
entity Q19600496
relation P161
[ANSWER]
['Q19600496', 'P161', 'Q938613'] ['Q19600496', 'P161', 'Q3767179'] ['Q19600496', 'P161', 'Q131665']
ASK WHERE { resource:Q19600496 property:P161 ?i . VALUES ( ?i ) { ( resource:Q3767179 ) ( resource:Q938613 ) ( resource:Q677260 ) } }
No
action is_in
entity prev_answer
action find
entity Yahaan Sabki Lagi Hai
relation cast member
['Yahaan Sabki Lagi Hai', 'cast member', 'Alan De Luca'] ['Yahaan Sabki Lagi Hai', 'cast member', 'Giovanni Esposito'] ['Yahaan Sabki Lagi Hai', 'cast member', 'Lola Pagnani']
ASK WHERE { resource:Yahaan_Sabki_Lagi_Hai property:cast_member ?i . VALUES ( ?i ) { ( resource:Giovanni_Esposito ) ( resource:Alan_De_Luca ) ( resource:Silvio_Orlando ) } }
[]