Simple Question (Direct)
Simple Question
Q3707943
P21
Q290
USER
Which sex does Dino Panzanato possess ?
(Q3707943,P21,c(Q290))
action filter_type
action find
entity Q3707943
relation P21
type Q290
['Q3707943', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q3707943 property:P21 ?k . ?k rdf:type ontology:Q290 }
Dino Panzanato
action filter_type
action find
entity Dino Panzanato
relation gender
type sex
['Dino Panzanato', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Dino_Panzanato property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3707943,P21,c(Q290))
action filter_type
action find
entity Q3707943
relation P21
type Q290
Dino Panzanato possesses un [ANSWER]
['Q3707943', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q3707943 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Dino Panzanato possesses un male
male
action filter_type
action find
entity Dino Panzanato
relation gender
type sex
['Dino Panzanato', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Dino_Panzanato property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3707943
P19
Q56061
USER
Which administrative territory was Dino Panzanato born in ?
(Q3707943,P19,c(Q56061))
action filter_type
action find
entity Q3707943
relation P19
type Q56061
['Q3707943', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3707943 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Dino Panzanato
action filter_type
action find
entity Dino Panzanato
relation place of birth
type administrative territorial entity
['Dino Panzanato', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Dino_Panzanato property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q3707943,P19,c(Q56061))
action filter_type
action find
entity Q3707943
relation P19
type Q56061
Dino Panzanato was born in [ANSWER]
['Q3707943', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3707943 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Venice
Dino Panzanato was born in Venice
Venice
action filter_type
action find
entity Dino Panzanato
relation place of birth
type administrative territorial entity
['Dino Panzanato', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Dino_Panzanato property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3707943
P106
Q12737077
USER
Which occupation has Dino Panzanato as his/her 's career ?
(Q3707943,P106,c(Q12737077))
action filter_type
action find
entity Q3707943
relation P106
type Q12737077
['Q3707943', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q3707943 property:P106 ?z }
Dino Panzanato
action filter_type
action find
entity Dino Panzanato
relation occupation
type occupation
['Dino Panzanato', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Dino_Panzanato property:occupation ?z }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3707943,P106,c(Q12737077))
action filter_type
action find
entity Q3707943
relation P106
type Q12737077
As [ANSWER] has Dino Panzanato as his/her 's career
['Q3707943', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q3707943 property:P106 ?z }
association football player
As association football player has Dino Panzanato as his/her 's career
association football player
action filter_type
action find
entity Dino Panzanato
relation occupation
type occupation
['Dino Panzanato', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Dino_Panzanato property:occupation ?z }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12270252
P748
Q1752346 Q11204 Q12737077
USER
How many occupations did approximately the same number of assemblies and legislatures appoint as Premier of New Brunswick ?
(c(Q12737077),P748,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q12270252
relation P748
type Q1752346
type Q11204
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { { ?e property:P748 ?x . ?e rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q1752346 } UNION { ?e rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q11204 . ?e property:P748 ?x } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q12270252 property:P748 ?d . { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } } } . FILTER ( ?n = ?m ) }
Premier of New Brunswick
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity Premier of New Brunswick
relation appointed by
type assembly
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { { ?e property:appointed_by ?x . ?e rdf:type ontology:occupation . ?x rdf:type ontology:assembly } UNION { ?e rdf:type ontology:occupation . ?x rdf:type ontology:legislature . ?e property:appointed_by ?x } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Premier_of_New_Brunswick property:appointed_by ?d . { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:assembly ) ( ontology:legislature ) } } } } . FILTER ( ?n = ?m ) }
[]
assembly legislature occupation
SYSTEM
301
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q835586 Q12376089 Q4970706 Q27516521 Q1161813 Q20891385 Q6572133 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 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 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 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q12270252
relation P748
type Q1752346
type Q11204
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { { ?e property:P748 ?x . ?e rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q1752346 } UNION { ?e rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q11204 . ?e property:P748 ?x } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Q12270252 property:P748 ?d . { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } } } . FILTER ( ?n = ?m ) }
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 Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council 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 President of Fiji Prime Minister of Serbia Prime Minister of Thailand Federal Chancellor of Germany member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul 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 Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport 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 Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands 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 Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico 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 Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
301
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity Premier of New Brunswick
relation appointed by
type assembly
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { { ?e property:appointed_by ?x . ?e rdf:type ontology:occupation . ?x rdf:type ontology:assembly } UNION { ?e rdf:type ontology:occupation . ?x rdf:type ontology:legislature . ?e property:appointed_by ?x } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { resource:Premier_of_New_Brunswick property:appointed_by ?d . { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:assembly ) ( ontology:legislature ) } } } } . FILTER ( ?n = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q192711
P748
Q1752346 Q11204 Q12737077
USER
And also tell me about Prime Minister of India?
(c(Q12737077),P748,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q192711
relation P748
type Q1752346
type Q11204
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?o WHERE { VALUES ( ?l ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?u rdf:type ?l } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q192711 property:P748 ?t . { { ?t rdf:type ontology:Q1752346 } UNION { ?t rdf:type ontology:Q11204 } } } } . FILTER ( ?d = ?i ) }
Prime Minister of India
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity Prime Minister of India
relation appointed by
type assembly
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?o WHERE { VALUES ( ?l ) { ( ontology:assembly ) ( ontology:legislature ) } . ?u rdf:type ?l } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Prime_Minister_of_India property:appointed_by ?t . { { ?t rdf:type ontology:assembly } UNION { ?t rdf:type ontology:legislature } } } } . FILTER ( ?d = ?i ) }
[]
assembly legislature occupation
SYSTEM
301
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q835586 Q12376089 Q4970706 Q27516521 Q1161813 Q20891385 Q6572133 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 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 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 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q192711
relation P748
type Q1752346
type Q11204
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?o WHERE { VALUES ( ?l ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?u rdf:type ?l } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q192711 property:P748 ?t . { { ?t rdf:type ontology:Q1752346 } UNION { ?t rdf:type ontology:Q11204 } } } } . FILTER ( ?d = ?i ) }
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 Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council 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 President of Fiji Prime Minister of Serbia Prime Minister of Thailand Federal Chancellor of Germany member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul 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 Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport 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 Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands 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 Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico 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 Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
301
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type assembly
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity Prime Minister of India
relation appointed by
type assembly
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?o WHERE { VALUES ( ?l ) { ( ontology:assembly ) ( ontology:legislature ) } . ?u rdf:type ?l } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Prime_Minister_of_India property:appointed_by ?t . { { ?t rdf:type ontology:assembly } UNION { ?t rdf:type ontology:legislature } } } } . FILTER ( ?d = ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641
P915
Q838948
USER
Which works of art had Venice as their location of filming ?
(c(Q838948),P915,Q641)
action filter_type
action find_reverse
entity Q641
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q641']
SELECT DISTINCT ?j WHERE { ?j property:P915 resource:Q641 . ?j rdf:type ontology:Q838948 }
Venice
action filter_type
action find_reverse
entity Venice
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Venice']
SELECT DISTINCT ?j WHERE { ?j property:filming_location resource:Venice . ?j rdf:type ontology:work_of_art }
[]
work of art
Q106571 Q151904 Q3842327
SYSTEM
From Russia with Love, Casino Royale, Made in Italy
Q3548472 Q2741921 Q466485 Q18192306 Q2658045 Q4533293 Q3236385 Q2827085 Q469708 Q2260328 Q185658 Q1217941 Q1546907 Q2261264 Q187999 Q3739439 Q649600 Q3273551 Q942958 Q3577076 Q15627707 Q3179069 Q1762187 Q660245 Q937140 Q1766368 Q3842327 Q673821 Q6354481 Q1540554 Q390052 Q2251564 Q3762370 Q7919966 Q2858977 Q2021294 Q151904 Q2322917 Q3032583 Q2302213 Q63026 Q14833091 Q1197531 Q334780 Q3359260 Q313884 Q3874815 Q3555524 Q3020023 Q629975 Q3213950 Q3815661 Q2940811 Q206388 Q1879989 Q743928 Q7772158 Q84064 Q2373161 Q7798456 Q15927938 Q1090788 Q742308 Q2409629 Q661141 Q648312 Q106571 Q644407 Q111772 Q2456779 Q1093636 Q2401472
(c(Q838948),P915,Q641)
action filter_type
action find_reverse
entity Q641
relation P915
type Q838948
[ANSWERS] had Venice as their location of filming
[{'concept': 'Q838948'}, 'P915', 'Q641']
SELECT DISTINCT ?j WHERE { ?j property:P915 resource:Q641 . ?j rdf:type ontology:Q838948 }
A Quiet Place in the Country A Matter of Time Chasing Liberty Inferno Carrington Effie Wolves Hunt at Night Agostino It's All About Love Identification of a Woman Indiana Jones and the Last Crusade The Best of Youth Jennifer on My Mind Sessomatto Dangerous Beauty Fantozzi va in pensione Senso My Piece of the Pie Casanova Anima persa Brahman A Few Days in September Vampire in Venice Don't Look Now Le Guignolo Aces Go Places Made in Italy The Merchant of Venice The Leaning Tower Only You The Talented Mr. Ripley In una notte di chiaro di luna Giallo a Venezia Venice/Venice April Shun Li and the Poet Casino Royale Blume in Love Dieci inverni Summertime The English Patient One Chance La vittima designata Moonraker Where Are You Going on Holiday? Just Married Nero veneziano Venezia, la luna e tu Il marito The Tourist The Venetian Woman Kiss Kiss...Bang Bang Giacomo Casanova: Childhood and Adolescence Once Upon a Time in America The Comfort of Strangers Nikita The Venetian Affair Bread and Tulips Torrents of Spring Through the Forests and Through the Trees S.O.S Mulheres ao Mar Children of the Century Death in Venice The Anonymous Venetian Brideshead Revisited The Italian Job From Russia with Love Impardonnables Who Saw Her Die? A Little Romance The Career of a Chambermaid Venetian Honeymoon
From Russia with Love, Casino Royale and Made in Italy had Venice as their location of filming
From Russia with Love Casino Royale Made in Italy
action filter_type
action find_reverse
entity Venice
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Venice']
SELECT DISTINCT ?j WHERE { ?j property:filming_location resource:Venice . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q106571 Q151904 Q3842327
P57
Q502895
USER
Which people directed From Russia with Love, Casino Royale and Made in Italy ?
(Q106571,P57,c(Q502895)) (Q151904,P57,c(Q502895)) (Q3842327,P57,c(Q502895))
action union
action filter_type
action find
entity Q106571
relation P57
type Q502895
action filter_type
action find
entity Q151904
relation P57
type Q502895
action filter_type
action find
entity Q3842327
relation P57
type Q502895
['Q106571', 'P57', {'concept': 'Q502895'}] ['Q151904', 'P57', {'concept': 'Q502895'}] ['Q3842327', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { resource:Q106571 property:P57 ?l . ?l rdf:type ontology:Q502895 } UNION { ?l rdf:type ontology:Q502895 . resource:Q151904 property:P57 ?l } }
From Russia with Love Casino Royale Made in Italy
action union
action filter_type
action find
entity From Russia with Love
relation director
type common name
action filter_type
action find
entity Casino Royale
relation director
type common name
action filter_type
action find
entity Made in Italy
relation director
type common name
['From Russia with Love', 'director', {'concept': 'common name'}] ['Casino Royale', 'director', {'concept': 'common name'}] ['Made in Italy', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { resource:From_Russia_with_Love property:director ?l . ?l rdf:type ontology:common_name } UNION { ?l rdf:type ontology:common_name . resource:Casino_Royale property:director ?l } }
[]
common name
Q314882 Q282033 Q53023
SYSTEM
Terence Young, Martin Campbell, Nanni Loy
Q314882 Q282033 Q53023
(Q106571,P57,c(Q502895)) (Q151904,P57,c(Q502895)) (Q3842327,P57,c(Q502895))
action union
action filter_type
action find
entity Q106571
relation P57
type Q502895
action filter_type
action find
entity Q151904
relation P57
type Q502895
action filter_type
action find
entity Q3842327
relation P57
type Q502895
[ANSWERS] directed From Russia with Love, Casino Royale and Made in Italy
['Q106571', 'P57', {'concept': 'Q502895'}] ['Q151904', 'P57', {'concept': 'Q502895'}] ['Q3842327', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { resource:Q106571 property:P57 ?l . ?l rdf:type ontology:Q502895 } UNION { ?l rdf:type ontology:Q502895 . resource:Q151904 property:P57 ?l } }
Terence Young Martin Campbell Nanni Loy
Terence Young, Martin Campbell and Nanni Loy directed From Russia with Love, Casino Royale and Made in Italy
Terence Young Martin Campbell Nanni Loy
action union
action filter_type
action find
entity From Russia with Love
relation director
type common name
action filter_type
action find
entity Casino Royale
relation director
type common name
action filter_type
action find
entity Made in Italy
relation director
type common name
['From Russia with Love', 'director', {'concept': 'common name'}] ['Casino Royale', 'director', {'concept': 'common name'}] ['Made in Italy', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { resource:From_Russia_with_Love property:director ?l . ?l rdf:type ontology:common_name } UNION { ?l rdf:type ontology:common_name . resource:Casino_Royale property:director ?l } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q282033
P734
Q82799
USER
Who is associated with that person ?
(Q282033,P734,c(Q82799))
action filter_type
action find
entity Q282033
relation P734
type Q82799
['Q282033', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q282033 property:P734 ?i }
Martin Campbell
action filter_type
action find
entity Martin Campbell
relation family name
type name
['Martin Campbell', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Martin_Campbell property:family_name ?i }
[]
name
Clarification for simple ques.
Q314882
SYSTEM
Did you mean Terence Young ?
Q314882 Q282033 Q53023
(Q314882,P734,c(Q82799)) (Q282033,P734,c(Q82799)) (Q53023,P734,c(Q82799))
[ANSWER]
['Q314882', 'P734', {'concept': 'Q82799'}] ['Q282033', 'P734', {'concept': 'Q82799'}] ['Q53023', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q282033 property:P734 ?i }
Terence Young Martin Campbell Nanni Loy
Did you mean Terence Young ?
Terence Young
['Terence Young', 'family name', {'concept': 'name'}] ['Martin Campbell', 'family name', {'concept': 'name'}] ['Nanni Loy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Martin_Campbell property:family_name ?i }
[]
Simple Question (Coreferenced)
USER
No, I meant Martin Campbell. Could you tell me the answer for that?
(Q282033,P734,c(Q82799))
Q282033
['Q282033', 'P734', {'concept': 'Q82799'}]
['Martin Campbell', 'family name', {'concept': 'name'}]
[]
Q2665383
SYSTEM
Campbell
Q2665383
(Q282033,P734,c(Q82799))
action filter_type
action find
entity Q282033
relation P734
type Q82799
[ANSWER] is associated with that person
['Q282033', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q282033 property:P734 ?i }
Campbell
Campbell is associated with that person
Campbell
action filter_type
action find
entity Martin Campbell
relation family name
type name
['Martin Campbell', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Martin_Campbell property:family_name ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q314882
P57
Q838948 Q15416
USER
How many works of art or television programs did Terence Young direct ?
(c(Q838948),P57,Q314882) (c(Q15416),P57,Q314882)
action count
action union
action filter_type
action find_reverse
entity Q314882
relation P57
type Q838948
action filter_type
action find_reverse
entity Q314882
relation P57
type Q15416
[{'concept': 'Q838948'}, 'P57', 'Q314882'] [{'concept': 'Q15416'}, 'P57', 'Q314882']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { ?t rdf:type ontology:Q15416 . ?t property:P57 resource:Q314882 } UNION { ?t property:P57 resource:Q314882 . ?t rdf:type ontology:Q838948 } }
Terence Young
action count
action union
action filter_type
action find_reverse
entity Terence Young
relation director
type work of art
action filter_type
action find_reverse
entity Terence Young
relation director
type television program
[{'concept': 'work of art'}, 'director', 'Terence Young'] [{'concept': 'television program'}, 'director', 'Terence Young']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { ?t rdf:type ontology:television_program . ?t property:director resource:Terence_Young } UNION { ?t property:director resource:Terence_Young . ?t rdf:type ontology:work_of_art } }
[]
work of art television program
SYSTEM
39
Q1768311 Q126376 Q32734 Q7783790 Q3461246 Q7045111 Q3429776 Q1422466 Q107724 Q680846 Q102754 Q4831878 Q3230751 Q4352302 Q893137 Q2937631 Q567531 Q3233244 Q3232426 Q7743254 Q495123 Q7768047 Q8066591 Q7912325 Q5493376 Q7379562 Q7823844 Q1914469 Q4922044 Q466900 Q893124 Q892965 Q7620158 Q106571 Q1530781 Q32790 Q3820025 Q3211936 Q3479821
(c(Q838948),P57,Q314882) (c(Q15416),P57,Q314882)
action count
action union
action filter_type
action find_reverse
entity Q314882
relation P57
type Q838948
action filter_type
action find_reverse
entity Q314882
relation P57
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q314882'] [{'concept': 'Q15416'}, 'P57', 'Q314882']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { ?t rdf:type ontology:Q15416 . ?t property:P57 resource:Q314882 } UNION { ?t property:P57 resource:Q314882 . ?t rdf:type ontology:Q838948 } }
Bloodline Corridor of Mirrors Cold Sweat They Were Not Divided Safari No Time to Die One Night with You The Red Beret Thunderball The Poppy Is Also a Flower Dr. No Ayyam al-tawila, al- The Amorous Adventures of Moll Flanders Action of the Tiger War Goddess Theirs Is the Glory The Dirty Game Duel of Champions Woman Hater The Jigsaw Man Inchon The Tall Headlines Zarak Valley of Eagles Wait Until Dark Run for Your Life Too Hot to Handle Mayerling Black Tights Triple Cross The Rover The Christmas Tree Storm Over the Nile From Russia with Love The Valachi Papers Red Sun The Klansman That Lady Serious Charge
39
action count
action union
action filter_type
action find_reverse
entity Terence Young
relation director
type work of art
action filter_type
action find_reverse
entity Terence Young
relation director
type television program
[{'concept': 'work of art'}, 'director', 'Terence Young'] [{'concept': 'television program'}, 'director', 'Terence Young']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { ?t rdf:type ontology:television_program . ?t property:director resource:Terence_Young } UNION { ?t property:director resource:Terence_Young . ?t rdf:type ontology:work_of_art } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5404844 Q3707943
P27 P915
Q15617994
USER
Which administrative territories do Dino Panzanato belong to or were The Kitchen Toto filmed at ?
OR((Q3707943,P27,c(Q15617994)), (Q5404844,P915,c(Q15617994)))
action filter_type
action union
action find
entity Q3707943
relation P27
action find
entity Q5404844
relation P915
type Q15617994
{'OR': [['Q3707943', 'P27', {'concept': 'Q15617994'}], ['Q5404844', 'P915', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3707943 property:P27 ?q } UNION { resource:Q5404844 property:P915 ?q } } . ?q rdf:type ontology:Q15617994 }
The Kitchen Toto Dino Panzanato
action filter_type
action union
action find
entity Dino Panzanato
relation country of citizenship
action find
entity The Kitchen Toto
relation filming location
type designation for an administrative territorial entity
{'OR': [['Dino Panzanato', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['The Kitchen Toto', 'filming location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Dino_Panzanato property:country_of_citizenship ?q } UNION { resource:The_Kitchen_Toto property:filming_location ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q114
SYSTEM
Italy, Kenya
Q38 Q114
OR((Q3707943,P27,c(Q15617994)), (Q5404844,P915,c(Q15617994)))
action filter_type
action union
action find
entity Q3707943
relation P27
action find
entity Q5404844
relation P915
type Q15617994
Dino Panzanato belong to [ANSWERS]
{'OR': [['Q3707943', 'P27', {'concept': 'Q15617994'}], ['Q5404844', 'P915', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q3707943 property:P27 ?q } UNION { resource:Q5404844 property:P915 ?q } } . ?q rdf:type ontology:Q15617994 }
Italy Kenya
Dino Panzanato belong to Italy and Kenya
Italy Kenya
action filter_type
action union
action find
entity Dino Panzanato
relation country of citizenship
action find
entity The Kitchen Toto
relation filming location
type designation for an administrative territorial entity
{'OR': [['Dino Panzanato', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['The Kitchen Toto', 'filming location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Dino_Panzanato property:country_of_citizenship ?q } UNION { resource:The_Kitchen_Toto property:filming_location ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q184
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with approximately the same number of administrative territories as Belarus ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q184 property:P530 ?t } } . FILTER ( ?c = ?f ) }
Belarus
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarus property:diplomatic_relation ?t } } . FILTER ( ?c = ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with approximately the same number of administrative territories as Belarus
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q184 property:P530 ?t } } . FILTER ( ?c = ?f ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relations with approximately the same number of administrative territories as Belarus
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarus property:diplomatic_relation ?t } } . FILTER ( ?c = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q39
P530
Q15617994 Q15617994
USER
And how about Switzerland?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q39 property:P530 ?v } } . FILTER ( ?c = ?t ) . { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?e } }
Switzerland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Switzerland property:diplomatic_relation ?v } } . FILTER ( ?c = ?t ) . { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q39 property:P530 ?v } } . FILTER ( ?c = ?t ) . { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?e } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Switzerland property:diplomatic_relation ?v } } . FILTER ( ?c = ?t ) . { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } }
[]