Simple Question (Direct)
Simple Question
Q7613143
P106
Q12737077
USER
Which occupation has Steve Levy as his/her 's career ?
(Q7613143,P106,c(Q12737077))
action filter_type
action find
entity Q7613143
relation P106
type Q12737077
['Q7613143', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7613143 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Steve Levy
action filter_type
action find
entity Steve Levy
relation occupation
type occupation
['Steve Levy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Steve_Levy property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7613143,P106,c(Q12737077))
action filter_type
action find
entity Q7613143
relation P106
type Q12737077
The [ANSWER] has Steve Levy as his/her 's career
['Q7613143', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7613143 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
politician
The politician has Steve Levy as his/her 's career
politician
action filter_type
action find
entity Steve Levy
relation occupation
type occupation
['Steve Levy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Steve_Levy property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7613143
P102
Q7210356
USER
Which parties are that person affiliated with ?
(Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q7613143
relation P102
type Q7210356
['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q7613143 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Steve Levy
action filter_type
action find
entity Steve Levy
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Steve_Levy property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q29552 Q29468
SYSTEM
Democratic Party, Republican Party
Q29552 Q29468
(Q82955,P102,c(Q7210356))
action filter_type
action find
entity Q7613143
relation P102
type Q7210356
That person are affiliated with [ANSWERS]
['Q82955', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q7613143 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Democratic Party Republican Party
That person are affiliated with Democratic Party and Republican Party
Democratic Party Republican Party
action filter_type
action find
entity Steve Levy
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Steve_Levy property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20867550
P748
Q895526 Q701632 Q12737077
USER
How many occupations did lesser number of authority organs or municipal councils appoint than municipal executive of Gorinchem ?
(c(Q12737077),P748,c(Q895526)|c(Q701632))
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 Q701632
action count
action filter_multi_types
action find
entity Q20867550
relation P748
type Q895526
type Q701632
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?z ) { ( ontology:Q895526 ) ( ontology:Q701632 ) } . ?d rdf:type ?z } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q20867550 property:P748 ?r . { VALUES ( ?i ) { ( ontology:Q895526 ) ( ontology:Q701632 ) } . ?r rdf:type ?i } } } . FILTER ( ?p < ?u ) }
municipal executive of Gorinchem
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 municipal council
action count
action filter_multi_types
action find
entity municipal executive of Gorinchem
relation appointed by
type authority organ
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?z ) { ( ontology:authority_organ ) ( ontology:municipal_council ) } . ?d rdf:type ?z } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:municipal_executive_of_Gorinchem property:appointed_by ?r . { VALUES ( ?i ) { ( ontology:authority_organ ) ( ontology:municipal_council ) } . ?r rdf:type ?i } } } . FILTER ( ?p < ?u ) }
[]
authority organ municipal council occupation
SYSTEM
270
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q27650822 Q1355456 Q2631987 Q735575 Q1507619 Q737115 Q6578215 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1753754 Q1476458 Q15407843 Q2484309 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q7444352 Q943379 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q531471 Q274948 Q596123 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q3477306 Q866756 Q20130623 Q1054799 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q182762 Q20859386 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q4122271 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q701632))
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 Q701632
action count
action filter_multi_types
action find
entity Q20867550
relation P748
type Q895526
type Q701632
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?z ) { ( ontology:Q895526 ) ( ontology:Q701632 ) } . ?d rdf:type ?z } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q20867550 property:P748 ?r . { VALUES ( ?i ) { ( ontology:Q895526 ) ( ontology:Q701632 ) } . ?r rdf:type ?i } } } . FILTER ( ?p < ?u ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect Minister for Education and Skills President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana 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 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 Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department 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 Secretary of State for International Development Lord President of the Council Prime Minister of Libya Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly 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 Chancellor of the Exchequer Prime Minister of Japan president of Bangladesh Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria 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 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 Education Prime Minister of Singapore Mayor of Woerden President of Poland 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 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 Prime Minister of Malaysia 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 Prime Minister of Algeria Mayor of Mierlo Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade 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 President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort 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 Prime Minister of Malta 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 Governor of Gibraltar 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 Prime Minister of Georgia 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 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 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 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 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 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 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 Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
270
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 municipal council
action count
action filter_multi_types
action find
entity municipal executive of Gorinchem
relation appointed by
type authority organ
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?z ) { ( ontology:authority_organ ) ( ontology:municipal_council ) } . ?d rdf:type ?z } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:municipal_executive_of_Gorinchem property:appointed_by ?r . { VALUES ( ?i ) { ( ontology:authority_organ ) ( ontology:municipal_council ) } . ?r rdf:type ?i } } } . FILTER ( ?p < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1658460
P748
Q895526 Q701632 Q12737077
USER
And what about United States Secretary of Veterans Affairs?
(c(Q12737077),P748,c(Q895526)|c(Q701632))
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 Q701632
action count
action filter_multi_types
action find
entity Q1658460
relation P748
type Q895526
type Q701632
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?u ) WHERE { { ?a property:P748 ?l . ?l rdf:type ontology:Q895526 . ?a rdf:type ontology:Q12737077 } UNION { ?a rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q701632 . ?a property:P748 ?l } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q1658460 property:P748 ?j . { { ?j rdf:type ontology:Q895526 } UNION { ?j rdf:type ontology:Q701632 } } } } . FILTER ( ?u < ?d ) }
United States Secretary of Veterans Affairs
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 municipal council
action count
action filter_multi_types
action find
entity United States Secretary of Veterans Affairs
relation appointed by
type authority organ
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?u ) WHERE { { ?a property:appointed_by ?l . ?l rdf:type ontology:authority_organ . ?a rdf:type ontology:occupation } UNION { ?a rdf:type ontology:occupation . ?l rdf:type ontology:municipal_council . ?a property:appointed_by ?l } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:United_States_Secretary_of_Veterans_Affairs property:appointed_by ?j . { { ?j rdf:type ontology:authority_organ } UNION { ?j rdf:type ontology:municipal_council } } } } . FILTER ( ?u < ?d ) }
[]
authority organ municipal council occupation
SYSTEM
270
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q27650822 Q1355456 Q2631987 Q735575 Q1507619 Q737115 Q6578215 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1753754 Q1476458 Q15407843 Q2484309 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q7444352 Q943379 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q531471 Q274948 Q596123 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q3477306 Q866756 Q20130623 Q1054799 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q182762 Q20859386 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q4122271 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q701632))
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 Q701632
action count
action filter_multi_types
action find
entity Q1658460
relation P748
type Q895526
type Q701632
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?u ) WHERE { { ?a property:P748 ?l . ?l rdf:type ontology:Q895526 . ?a rdf:type ontology:Q12737077 } UNION { ?a rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q701632 . ?a property:P748 ?l } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q1658460 property:P748 ?j . { { ?j rdf:type ontology:Q895526 } UNION { ?j rdf:type ontology:Q701632 } } } } . FILTER ( ?u < ?d ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect Minister for Education and Skills President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana 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 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 Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department 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 Secretary of State for International Development Lord President of the Council Prime Minister of Libya Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly 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 Chancellor of the Exchequer Prime Minister of Japan president of Bangladesh Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria 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 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 Education Prime Minister of Singapore Mayor of Woerden President of Poland 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 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 Prime Minister of Malaysia 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 Prime Minister of Algeria Mayor of Mierlo Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade 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 President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort 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 Prime Minister of Malta 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 Governor of Gibraltar 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 Prime Minister of Georgia 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 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 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 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 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 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 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 Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
270
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 municipal council
action count
action filter_multi_types
action find
entity United States Secretary of Veterans Affairs
relation appointed by
type authority organ
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?u ) WHERE { { ?a property:appointed_by ?l . ?l rdf:type ontology:authority_organ . ?a rdf:type ontology:occupation } UNION { ?a rdf:type ontology:occupation . ?l rdf:type ontology:municipal_council . ?a property:appointed_by ?l } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:United_States_Secretary_of_Veterans_Affairs property:appointed_by ?j . { { ?j rdf:type ontology:authority_organ } UNION { ?j rdf:type ontology:municipal_council } } } } . FILTER ( ?u < ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17341313 Q7613143
P19
Q486972
USER
Which human settlements were Steve Levy or Manuel Sánchez Cuesta born at ?
OR((Q7613143,P19,c(Q486972)), (Q17341313,P19,c(Q486972)))
action filter_type
action union
action find
entity Q7613143
relation P19
action find
entity Q17341313
relation P19
type Q486972
{'OR': [['Q7613143', 'P19', {'concept': 'Q486972'}], ['Q17341313', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?v WHERE { { ?d property:P19 ?v . VALUES ( ?d ) { ( resource:Q17341313 ) ( resource:Q7613143 ) } } . ?v rdf:type ontology:Q486972 }
Manuel Sánchez Cuesta Steve Levy
action filter_type
action union
action find
entity Steve Levy
relation place of birth
action find
entity Manuel Sánchez Cuesta
relation place of birth
type human settlement
{'OR': [['Steve Levy', 'place of birth', {'concept': 'human settlement'}], ['Manuel Sánchez Cuesta', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?v WHERE { { ?d property:place_of_birth ?v . VALUES ( ?d ) { ( resource:Manuel_Sánchez_Cuesta ) ( resource:Steve_Levy ) } } . ?v rdf:type ontology:human_settlement }
[]
human settlement
Q1643355 Q5568334
SYSTEM
San Martín del Castañar, Glendale
Q1643355 Q5568334
OR((Q7613143,P19,c(Q486972)), (Q17341313,P19,c(Q486972)))
action filter_type
action union
action find
entity Q7613143
relation P19
action find
entity Q17341313
relation P19
type Q486972
Steve Levy or Manuel Sánchez Cuesta were born in [ANSWERS]
{'OR': [['Q7613143', 'P19', {'concept': 'Q486972'}], ['Q17341313', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?v WHERE { { ?d property:P19 ?v . VALUES ( ?d ) { ( resource:Q17341313 ) ( resource:Q7613143 ) } } . ?v rdf:type ontology:Q486972 }
San Martín del Castañar Glendale
Steve Levy or Manuel Sánchez Cuesta were born in San Martín del Castañar and Glendale
San Martín del Castañar Glendale
action filter_type
action union
action find
entity Steve Levy
relation place of birth
action find
entity Manuel Sánchez Cuesta
relation place of birth
type human settlement
{'OR': [['Steve Levy', 'place of birth', {'concept': 'human settlement'}], ['Manuel Sánchez Cuesta', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?v WHERE { { ?d property:place_of_birth ?v . VALUES ( ?d ) { ( resource:Manuel_Sánchez_Cuesta ) ( resource:Steve_Levy ) } } . ?v rdf:type ontology:human_settlement }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2697637
P1376
Q1048835 Q486972
USER
How many political territories have lesser number of human settlements as their capital than San Marcos District ?
(c(Q486972),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find_reverse
entity Q2697637
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P1376 ?r . ?r rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q486972 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P1376 resource:Q2697637 . ?d rdf:type ontology:Q486972 } } . FILTER ( ?u < ?w ) }
San Marcos District
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity San Marcos District
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:human_settlement } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:capital_of resource:San_Marcos_District . ?d rdf:type ontology:human_settlement } } . FILTER ( ?u < ?w ) }
[]
political territorial entity human settlement
SYSTEM
610
Q7915647 Q132418 Q132410 Q13881 Q13882 Q13885 Q13884 Q13887 Q6318040 Q13889 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q785 Q13726 Q13727 Q2051 Q6317672 Q3891 Q3899 Q2175 Q938891 Q10298683 Q2271 Q849807 Q48060 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13900 Q13902 Q515343 Q753689 Q2058837 Q3825827 Q3825439 Q167859 Q43448 Q170390 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q8170 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q168651 Q3312907 Q173407 Q8517 Q3741 Q165956 Q2223 Q6949621 Q133083 Q22880 Q2071352 Q1925048 Q210061 Q494354 Q13786 Q13785 Q9676 Q13869 Q13868 Q13867 Q13866 Q13865 Q13864 Q13863 Q13862 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10547 Q2485101 Q7290462 Q1334322 Q10465 Q628370 Q104891 Q4863230 Q1890 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q746558 Q8560844 Q664 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q12741 Q6339 Q5082 Q3312493 Q3824385 Q3678587 Q2967 Q5065 Q5067 Q5061 Q5062 Q6317167 Q5068 Q13737 Q408 Q2096228 Q13730 Q13739 Q599448 Q40 Q3312467 Q7931 Q7932 Q13861 Q240 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q2140 Q539231 Q13827 Q13826 Q13825 Q34617 Q13829 Q2698844 Q383734 Q953068 Q35 Q38610 Q3313291 Q3312974 Q7137570 Q3826135 Q170036 Q9648 Q5926575 Q7686343 Q3125978 Q5262649 Q192959 Q3321924 Q8566 Q13857 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3825983 Q2342207 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q757 Q13772 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6308 Q632108 Q5096392 Q6301 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q7890 Q2917 Q7896 Q1399432 Q933179 Q5945 Q3916 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13794 Q13791 Q13792 Q13812 Q13813 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q48079 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q5093 Q18288148 Q5095 Q5096 Q3653113 Q23635 Q6321909 Q671742 Q6317899 Q450521 Q2621992 Q5075 Q3824597 Q834261 Q3557 Q5078 Q193619 Q13740 Q2632922 Q4804007 Q13744 Q5925410 Q1893486 Q3313278 Q2898 Q48094 Q5051137 Q48098 Q201162 Q168856 Q192697 Q178269 Q2772 Q13874 Q7928 Q46070 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q2703450 Q3313040 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q188373 Q2486455 Q48046 Q5048959 Q3826128 Q2379199 Q2101298 Q1823 Q13845 Q13844 Q13847 Q13846 Q13841 Q13840 Q13843 Q7421013 Q3825413 Q189974 Q193295 Q2594990 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q8195 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2110 Q48072 Q2718510 Q3586 Q18221 Q192184 Q13892 Q13893 Q13891 Q2875944 Q13895 Q13899 Q3906 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q505220 Q1866 Q3826249 Q209597 Q103093 Q7636360 Q13809 Q178084 Q2697268 Q13860 Q13807 Q13806 Q240441 Q1230021 Q183 Q24174 Q10440 Q933576 Q49655 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q190930 Q13751 Q13750 Q13753 Q13752 Q13755 Q13759 Q8167 Q5657086 Q2697641 Q309460 Q48089 Q7919 Q7917 Q7916 Q7914 Q7912 Q7911 Q7910 Q838690 Q48101 Q1233672 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q7908 Q543868 Q16 Q3540 Q2697221 Q539094 Q205068 Q130840 Q6320495 Q10526 Q191091 Q3321868 Q10483 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13870 Q13871 Q13872 Q13873 Q3724 Q13875 Q13876 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q48057 Q211793 Q48054 Q211795 Q6328 Q6319125 Q3312431 Q10557 Q10554 Q10555 Q2909 Q2640062 Q862584 Q2902 Q10559 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q486972),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find_reverse
entity Q2697637
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P1376 ?r . ?r rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q486972 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P1376 resource:Q2697637 . ?d rdf:type ontology:Q486972 } } . FILTER ( ?u < ?w ) }
Vargas Guerra District Northern Cape Mpumalanga Sorsogon South Cotabato Sultan Kudarat Southern Leyte Sulu Paita District Surigao del Norte Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Jersey Albay Antique Jambi Province Ayabaca District Kalimantan Tengah Kalimantan Timur Riau Province San Miguel District Huacrachuco South Sumatra Western Highlands Province Gera District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga del Sur Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory County of Oldenburg Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Tübingen Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Landgraviate of Hesse-Kassel Checca District Ternopil Oblast Main-Tauber Special Region of Yogyakarta North West Kepulauan Riau Máncora District Gauteng Electoral Palatinate Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Cebu Cavite Isle of Man Palawan Oriental Mindoro Occidental Mindoro Nueva Vizcaya Nueva Ecija Northern Samar Negros Oriental Negros Occidental Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Lower Franconia County of Chiny Ramón Castilla District County of Toulouse Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Bengkulu Province Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Emirate of Bukhara Manseriche District New Zealand Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ilocos Sur Erzgebirgskreis West Sulawesi Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara Tambopata North Sulawesi Province Basilan Australia Tornquist Aurora Bataan Chimbu Province Austria Tacna District Giessen Government Region Darmstadt Government Region Mountain Province Brussels Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla North Sumatra Province Ambo District Kalinga Isabela Iloilo Saint Pierre and Miquelon La Union Chimbote District Iquitos District South-West Africa Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Pariñas District Puquio District Kiev Oblast Falkland Islands Huaytará District Tarma District Bali Jauja District Minsk Region Arequipa Alzey-Worms Misamis Occidental Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Tarata San Cayetano Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Saint Vincent and the Grenadines Capiz Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Leipzig Lincoln Partido Chiclayo District Nordsachsen Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Kassel Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Kalimantan Barat Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Davao del Sur Cotabato Davao del Norte Ifugao Ilocos Norte Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Leipzig District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Maluku Province Metropolitan City of Florence Papua West Papua Kingdom of Syunik Bermuda Río Tambo District General Pueyrredón Moyobamba District Magdeburg Government Region Villarino South East Sulawesi Province Moho District Bolívar Partido Central Java Province South Sulawesi Union of South Africa Batanes Chancay District Ascope District Batangas Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Potsdam District Catacaos Rostock District Amazonas Region Chernivtsi Oblast South Moravian Region Ivano-Frankivsk Oblast West Sumatra Rizal Kassel  Government Region Plzeň Region Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Chalhuanca District Yucay District Huaraz District Walloon Region Värmland County Urubamba District Callería Mala District Zlín Region Bellavista District Quinua District Cusco Region South Bohemia Region Manantay Cottbus Casitas Huancabamba District politics of Edinburgh Tandil Aceh Maguindanao Leyte Masbate Marinduque Lanao del Norte Laguna Lanao del Sur Saposoa District Pausa District Jõgeva County Hradec Králové Region Dominion of New Zealand Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Breisgau-Hochschwarzwald Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Lampung Province Karl-Marx-Stadt District Abancay District East Java Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tarlac Tawi-Tawi Surigao del Sur Omate District Zambales Zamboanga del Norte Kalimantan Selatan North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Huancavelica Region Bangka–Belitung Islands Chuschi District Tumbes department Västra Götaland County Sullana District Eastern Samar Ilkhanate Chavín de Huantar District Misamis Oriental Dinagat Islands Davao Oriental General Alvarado Partido Nieva District Germany Dresden Government Region Coburg Santa Cruz District Schellenberg Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Vysočina Region Biliran Benguet Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Manú Pamparomas District County of Hainaut Neubrandenburg District Odenwaldkreis Kreis Bergstraße Darmstadt-Dieburg Groß-Gerau Offenbach Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Hochtaunuskreis Chaupimarca District Canada Banten Province Corongo District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Rosenheim Karlovy Vary Region Samuel Pastor District Regen Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pampanga Pangasinan Quezon Quirino West Java Province Romblon Samar Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region Frankfurt (Oder) San Martín Region Erfurt Lima Region Mittelsachsen Pacasmayo District Cajamarca Swabia Upper Franconia Upper Palatinate Vorpommern-Rügen District Aramango District Enga Province Mecklenburgische Seenplatte District Lower Bavaria Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
610
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity San Marcos District
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:human_settlement } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:capital_of resource:San_Marcos_District . ?d rdf:type ontology:human_settlement } } . FILTER ( ?u < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q10469
P1376
Q1048835 Q486972
USER
And what about Main-Spessart?
(c(Q486972),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find_reverse
entity Q10469
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P1376 ?z . ?t rdf:type ontology:Q486972 . ?z rdf:type ontology:Q1048835 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P1376 resource:Q10469 . ?i rdf:type ontology:Q486972 } } . FILTER ( ?q < ?r ) }
Main-Spessart
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity Main-Spessart
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:capital_of ?z . ?t rdf:type ontology:human_settlement . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:capital_of resource:Main-Spessart . ?i rdf:type ontology:human_settlement } } . FILTER ( ?q < ?r ) }
[]
political territorial entity human settlement
SYSTEM
610
Q7915647 Q132418 Q132410 Q13881 Q13882 Q13885 Q13884 Q13887 Q6318040 Q13889 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q13728 Q13721 Q13723 Q785 Q13726 Q13727 Q2051 Q6317672 Q3891 Q3899 Q2175 Q938891 Q10298683 Q2271 Q849807 Q48060 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q10453 Q6115 Q3824788 Q6319605 Q10459 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q13900 Q13902 Q515343 Q753689 Q2058837 Q3825827 Q3825439 Q167859 Q43448 Q170390 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q1122980 Q6981448 Q1382499 Q3825382 Q8560940 Q2026858 Q7414298 Q3824230 Q103691 Q13769 Q13767 Q103699 Q3824339 Q13763 Q8170 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7906 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q168651 Q3312907 Q173407 Q8517 Q3741 Q165956 Q2223 Q6949621 Q133083 Q22880 Q2071352 Q1925048 Q210061 Q494354 Q13786 Q13785 Q9676 Q13869 Q13868 Q13867 Q13866 Q13865 Q13864 Q13863 Q13862 Q205104 Q13789 Q35672 Q205089 Q3313400 Q104257 Q5047837 Q2737098 Q10544 Q10547 Q2485101 Q7290462 Q1334322 Q10465 Q628370 Q104891 Q4863230 Q1890 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q746558 Q8560844 Q664 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q6337 Q12741 Q6339 Q5082 Q3312493 Q3824385 Q3678587 Q2967 Q5065 Q5067 Q5061 Q5062 Q6317167 Q5068 Q13737 Q408 Q2096228 Q13730 Q13739 Q599448 Q40 Q3312467 Q7931 Q7932 Q13861 Q240 Q207973 Q3312924 Q2843759 Q105075 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q2140 Q539231 Q13827 Q13826 Q13825 Q34617 Q13829 Q2698844 Q383734 Q953068 Q35 Q38610 Q3313291 Q3312974 Q7137570 Q3826135 Q170036 Q9648 Q5926575 Q7686343 Q3125978 Q5262649 Q192959 Q3321924 Q8566 Q13857 Q3313129 Q25228 Q692946 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3825983 Q2342207 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q13778 Q103686 Q691 Q757 Q13772 Q5164916 Q90027 Q3313822 Q3656379 Q642314 Q6308 Q632108 Q5096392 Q6301 Q5031628 Q10461 Q3312393 Q3908 Q7898 Q7899 Q170213 Q7893 Q7890 Q2917 Q7896 Q1399432 Q933179 Q5945 Q3916 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q10896751 Q129286 Q6177392 Q1827027 Q13794 Q13791 Q13792 Q13812 Q13813 Q13810 Q8560764 Q781 Q6061 Q5705 Q707771 Q5095925 Q6318859 Q5720 Q13353 Q10471 Q10472 Q170604 Q3391867 Q48079 Q166709 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q5093 Q18288148 Q5095 Q5096 Q3653113 Q23635 Q6321909 Q671742 Q6317899 Q450521 Q2621992 Q5075 Q3824597 Q834261 Q3557 Q5078 Q193619 Q13740 Q2632922 Q4804007 Q13744 Q5925410 Q1893486 Q3313278 Q2898 Q48094 Q5051137 Q48098 Q201162 Q168856 Q192697 Q178269 Q2772 Q13874 Q7928 Q46070 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q922842 Q3825702 Q41071 Q2718491 Q5932 Q2703450 Q3313040 Q2697234 Q231 Q106789 Q3312967 Q2486015 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q188373 Q2486455 Q48046 Q5048959 Q3826128 Q2379199 Q2101298 Q1823 Q13845 Q13844 Q13847 Q13846 Q13841 Q13840 Q13843 Q7421013 Q3825413 Q189974 Q193295 Q2594990 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q104746 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q269509 Q6061367 Q2761723 Q769 Q685 Q103679 Q20264 Q763 Q1232887 Q766 Q103672 Q650489 Q8195 Q2199691 Q7894 Q313969 Q6313 Q8048242 Q6317 Q2110 Q48072 Q2718510 Q3586 Q18221 Q192184 Q13892 Q13893 Q13891 Q2875944 Q13895 Q13899 Q3906 Q3903 Q1730130 Q13714 Q10551 Q13711 Q2842398 Q1117137 Q2761218 Q257516 Q505050 Q1787430 Q778266 Q505220 Q1866 Q3826249 Q209597 Q103093 Q7636360 Q13809 Q178084 Q2697268 Q13860 Q13807 Q13806 Q240441 Q1230021 Q183 Q24174 Q10440 Q933576 Q49655 Q1632864 Q200938 Q6109 Q8541 Q10562 Q151938 Q597029 Q3313100 Q104877 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q106915 Q5783 Q5785 Q2941 Q368273 Q79965 Q315840 Q6317226 Q190930 Q13751 Q13750 Q13753 Q13752 Q13755 Q13759 Q8167 Q5657086 Q2697641 Q309460 Q48089 Q7919 Q7917 Q7916 Q7914 Q7912 Q7911 Q7910 Q838690 Q48101 Q1233672 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q7908 Q543868 Q16 Q3540 Q2697221 Q539094 Q205068 Q130840 Q6320495 Q10526 Q191091 Q3321868 Q10483 Q10487 Q339637 Q3031627 Q7380195 Q3825015 Q13870 Q13871 Q13872 Q13873 Q3724 Q13875 Q13876 Q13877 Q13879 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q48057 Q211793 Q48054 Q211795 Q6328 Q6319125 Q3312431 Q10557 Q10554 Q10555 Q2909 Q2640062 Q862584 Q2902 Q10559 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q170446 Q468378 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q2885071 Q2367188 Q104940 Q1478051 Q188732
(c(Q486972),P1376,c(Q1048835))
action count
action less
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find_reverse
entity Q10469
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P1376 ?z . ?t rdf:type ontology:Q486972 . ?z rdf:type ontology:Q1048835 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P1376 resource:Q10469 . ?i rdf:type ontology:Q486972 } } . FILTER ( ?q < ?r ) }
Vargas Guerra District Northern Cape Mpumalanga Sorsogon South Cotabato Sultan Kudarat Southern Leyte Sulu Paita District Surigao del Norte Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Apayao Agusan del Sur Aklan Jersey Albay Antique Jambi Province Ayabaca District Kalimantan Tengah Kalimantan Timur Riau Province San Miguel District Huacrachuco South Sumatra Western Highlands Province Gera District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Weißenburg-Gunzenhausen Barnim Yunguyo District Ichocán District Kitzingen Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Zamboanga del Sur Zamboanga Sibugay Ranrahirca District Sandaun Province Purús District Coracora District Sancos District, Huanca Sancos Volyn Oblast British Indian Ocean Territory County of Oldenburg Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Comtat Venaissin Nauta District Hela Lampa District Requena District Hudiksvall County San Ignacio District, Peru Ayaviri District Halland County Camiguin Camarines Sur Gävleborg County Ica District Camarines Norte Tübingen Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Limburg-Weilburg Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Landgraviate of Hesse-Kassel Checca District Ternopil Oblast Main-Tauber Special Region of Yogyakarta North West Kepulauan Riau Máncora District Gauteng Electoral Palatinate Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Cebu Cavite Isle of Man Palawan Oriental Mindoro Occidental Mindoro Nueva Vizcaya Nueva Ecija Northern Samar Negros Oriental Negros Occidental Puno Region Compostela Valley Pitcairn Islands Áncash Region Arahuay District Örebro County Casa Grande District Jumbilla District Munich (district) Lower Franconia County of Chiny Ramón Castilla District County of Toulouse Rhön-Grabfeld Lobería Västernorrland County Barranca District, Datem del Marañón Bengkulu Province Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Emirate of Bukhara Manseriche District New Zealand Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Vogtlandkreis Ilocos Sur Erzgebirgskreis West Sulawesi Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara Tambopata North Sulawesi Province Basilan Australia Tornquist Aurora Bataan Chimbu Province Austria Tacna District Giessen Government Region Darmstadt Government Region Mountain Province Brussels Junín Region Moquegua District Locumba Västmanland County Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla North Sumatra Province Ambo District Kalinga Isabela Iloilo Saint Pierre and Miquelon La Union Chimbote District Iquitos District South-West Africa Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Pariñas District Puquio District Kiev Oblast Falkland Islands Huaytará District Tarma District Bali Jauja District Minsk Region Arequipa Alzey-Worms Misamis Occidental Cerro Azul District Anguilla Gorizia and Gradisca Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Tarata San Cayetano Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Catanduanes Norrbotten County Papua New Guinea Saint Vincent and the Grenadines Capiz Contamana District German-speaking Community of Belgium Pachangara District Davao Occidental County of Burgundy Leipzig Lincoln Partido Chiclayo District Nordsachsen Candarave Schweinfurt Ayacucho District Galicia Hersfeld-Rotenburg Fulda Zakarpattia Oblast Waldeck-Frankenberg Kassel Vorpommern-Greifswald District Werra-Meißner-Kreis Almirante Brown Huánuco District Cloppenburg Kalimantan Barat Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon Llipa District British Raj Jenaro Herrera District Mar Chiquita Partido Davao del Sur Cotabato Davao del Norte Ifugao Ilocos Norte Guimaras Indiana District, Maynas Antigua and Barbuda Altmarkkreis Salzwedel Catalonia County of Bentheim Chicama District Lambayeque District Valencian Country Montserrat Aschaffenburg Miltenberg New France Guadalupe District Leipzig District Vinnytsia Oblast Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Maluku Province Metropolitan City of Florence Papua West Papua Kingdom of Syunik Bermuda Río Tambo District General Pueyrredón Moyobamba District Magdeburg Government Region Villarino South East Sulawesi Province Moho District Bolívar Partido Central Java Province South Sulawesi Union of South Africa Batanes Chancay District Ascope District Batangas Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Potsdam District Catacaos Rostock District Amazonas Region Chernivtsi Oblast South Moravian Region Ivano-Frankivsk Oblast West Sumatra Rizal Kassel  Government Region Plzeň Region Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Skaraborg County Juli District Gangwon Province Acomayo District Friesland Chalhuanca District Yucay District Huaraz District Walloon Region Värmland County Urubamba District Callería Mala District Zlín Region Bellavista District Quinua District Cusco Region South Bohemia Region Manantay Cottbus Casitas Huancabamba District politics of Edinburgh Tandil Aceh Maguindanao Leyte Masbate Marinduque Lanao del Norte Laguna Lanao del Sur Saposoa District Pausa District Jõgeva County Hradec Králové Region Dominion of New Zealand Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Kronoberg County Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon Coronel Suárez Monsefú District Puan Grenada Solomon Islands Jämtland County Sächsische Schweiz Saint Kitts and Nevis County of Savoy Jamaica Jönköping County Margraviate of Baden Breisgau-Hochschwarzwald Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Meissen Yanahuanca Görlitz Lampung Province Karl-Marx-Stadt District Abancay District East Java Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Tarlac Tawi-Tawi Surigao del Sur Omate District Zambales Zamboanga del Norte Kalimantan Selatan North Kalimantan Later Qin Agusan del Norte Middle Franconia Abra Trujillo District Raimondi Jesús District Oxapampa District Adolfo Gonzales Chaves Niesky District County of Artois Huancavelica Region Bangka–Belitung Islands Chuschi District Tumbes department Västra Götaland County Sullana District Eastern Samar Ilkhanate Chavín de Huantar District Misamis Oriental Dinagat Islands Davao Oriental General Alvarado Partido Nieva District Germany Dresden Government Region Coburg Santa Cruz District Schellenberg Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Neutral Moresnet Bagua Grande District Kimbiri District Västerbotten county Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Södermanland County Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde County of Veldenz Lamas District Vysočina Region Biliran Benguet Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Manú Pamparomas District County of Hainaut Neubrandenburg District Odenwaldkreis Kreis Bergstraße Darmstadt-Dieburg Groß-Gerau Offenbach Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Hochtaunuskreis Chaupimarca District Canada Banten Province Corongo District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Rosenheim Karlovy Vary Region Samuel Pastor District Regen Freyung-Grafenau Kristianstad County Nazca District Rupa-Rupa District Putina District Pampanga Pangasinan Quezon Quirino West Java Province Romblon Samar Sarangani Siquijor Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region Frankfurt (Oder) San Martín Region Erfurt Lima Region Mittelsachsen Pacasmayo District Cajamarca Swabia Upper Franconia Upper Palatinate Vorpommern-Rügen District Aramango District Enga Province Mecklenburgische Seenplatte District Lower Bavaria Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Sumy Oblast County of Hoya British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome Ilo District Härnösand County Östergötland County La Oroya District Gomel Region
610
action count
action less
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find_reverse
entity Main-Spessart
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:capital_of ?z . ?t rdf:type ontology:human_settlement . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:capital_of resource:Main-Spessart . ?i rdf:type ontology:human_settlement } } . FILTER ( ?q < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1643355
P1001
Q12737077
USER
Which occupation applies to jurisdiction over San Martín del Castañar ?
(c(Q12737077),P1001,Q1643355)
action filter_type
action find_reverse
entity Q1643355
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q1643355']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q1643355 . ?i rdf:type ontology:Q12737077 }
San Martín del Castañar
action filter_type
action find_reverse
entity San Martín del Castañar
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'San Martín del Castañar']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:San_Martín_del_Castañar . ?i rdf:type ontology:occupation }
[]
occupation
Q26694045
SYSTEM
mayor of San Martín del Castañar
Q26694045
(c(Q12737077),P1001,Q1643355)
action filter_type
action find_reverse
entity Q1643355
relation P1001
type Q12737077
The [ANSWER] applies to jurisdiction over San Martín del Castañar
[{'concept': 'Q12737077'}, 'P1001', 'Q1643355']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q1643355 . ?i rdf:type ontology:Q12737077 }
mayor of San Martín del Castañar
The mayor of San Martín del Castañar applies to jurisdiction over San Martín del Castañar
mayor of San Martín del Castañar
action filter_type
action find_reverse
entity San Martín del Castañar
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'San Martín del Castañar']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:San_Martín_del_Castañar . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1643355
P47
Q486972
USER
Which human settlements share border with that one ?
(c(Q486972),P47,Q26694045)
action filter_type
action find_reverse
entity Q1643355
relation P47
type Q486972
[{'concept': 'Q486972'}, 'P47', 'Q26694045']
SELECT DISTINCT ?n WHERE { ?n property:P47 resource:Q1643355 . ?n rdf:type ontology:Q486972 }
San Martín del Castañar
action filter_type
action find_reverse
entity San Martín del Castañar
relation shares border with
type human settlement
[{'concept': 'human settlement'}, 'shares border with', 'mayor of San Martín del Castañar']
SELECT DISTINCT ?n WHERE { ?n property:shares_border_with resource:San_Martín_del_Castañar . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q1640703 Q1910893
SYSTEM
Las Casas del Conde, Mogarraz
Q1640703 Q1910893
(c(Q486972),P47,Q26694045)
action filter_type
action find_reverse
entity Q1643355
relation P47
type Q486972
[ANSWERS] share border with that one
[{'concept': 'Q486972'}, 'P47', 'Q26694045']
SELECT DISTINCT ?n WHERE { ?n property:P47 resource:Q1643355 . ?n rdf:type ontology:Q486972 }
Las Casas del Conde Mogarraz
Las Casas del Conde and Mogarraz share border with that one
Las Casas del Conde Mogarraz
action filter_type
action find_reverse
entity San Martín del Castañar
relation shares border with
type human settlement
[{'concept': 'human settlement'}, 'shares border with', 'mayor of San Martín del Castañar']
SELECT DISTINCT ?n WHERE { ?n property:shares_border_with resource:San_Martín_del_Castañar . ?n rdf:type ontology:human_settlement }
[]