Simple Question (Direct)
Simple Question
Q2194604
P27
Q15617994
USER
Which administrative territory does Martin Brozius belong to ?
(Q2194604,P27,c(Q15617994))
action filter_type
action find
entity Q2194604
relation P27
type Q15617994
['Q2194604', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2194604 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Martin Brozius
action filter_type
action find
entity Martin Brozius
relation country of citizenship
type designation for an administrative territorial entity
['Martin Brozius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Martin_Brozius property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2194604,P27,c(Q15617994))
action filter_type
action find
entity Q2194604
relation P27
type Q15617994
Martin Brozius belongs to [ANSWER]
['Q2194604', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2194604 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Martin Brozius belongs to Kingdom of the Netherlands
Kingdom of the Netherlands
action filter_type
action find
entity Martin Brozius
relation country of citizenship
type designation for an administrative territorial entity
['Martin Brozius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Martin_Brozius property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2194604
P106
Q12737077
USER
What are the job of that person ?
(Q29999,P106,c(Q12737077))
action filter_type
action find
entity Q2194604
relation P106
type Q12737077
['Q29999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2194604 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Martin Brozius
action filter_type
action find
entity Martin Brozius
relation occupation
type occupation
['Kingdom of the Netherlands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Martin_Brozius property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q10798782 Q947873 Q33999
SYSTEM
television actor, television presenter, actor
Q10798782 Q33999 Q13590141 Q947873 Q15214752
(Q29999,P106,c(Q12737077))
action filter_type
action find
entity Q2194604
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q29999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2194604 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
television actor actor presenter television presenter cabaret artist
The job of that person are the television actor, television presenter and actor
television actor television presenter actor
action filter_type
action find
entity Martin Brozius
relation occupation
type occupation
['Kingdom of the Netherlands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Martin_Brozius property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q70730 Q2194604
P106
Q12737077
USER
Or Arovane?
OR((Q2194604,P106,c(Q12737077)), (Q70730,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2194604
relation P106
action find
entity Q70730
relation P106
type Q12737077
{'OR': [['Q2194604', 'P106', {'concept': 'Q12737077'}], ['Q70730', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . { { resource:Q2194604 property:P106 ?d } UNION { resource:Q70730 property:P106 ?d } } }
Arovane Martin Brozius
action filter_type
action union
action find
entity Martin Brozius
relation occupation
action find
entity Arovane
relation occupation
type occupation
{'OR': [['Martin Brozius', 'occupation', {'concept': 'occupation'}], ['Arovane', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . { { resource:Martin_Brozius property:occupation ?d } UNION { resource:Arovane property:occupation ?d } } }
[]
occupation
Q36834 Q10798782 Q947873 Q639669 Q13590141 Q33999 Q15214752
SYSTEM
composer, television actor, television presenter, musician, presenter, actor, cabaret artist
Q36834 Q10798782 Q947873 Q639669 Q13590141 Q33999 Q15214752
OR((Q2194604,P106,c(Q12737077)), (Q70730,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2194604
relation P106
action find
entity Q70730
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q2194604', 'P106', {'concept': 'Q12737077'}], ['Q70730', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . { { resource:Q2194604 property:P106 ?d } UNION { resource:Q70730 property:P106 ?d } } }
composer television actor television presenter musician presenter actor cabaret artist
composer television actor television presenter musician presenter actor cabaret artist
action filter_type
action union
action find
entity Martin Brozius
relation occupation
action find
entity Arovane
relation occupation
type occupation
{'OR': [['Martin Brozius', 'occupation', {'concept': 'occupation'}], ['Arovane', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . { { resource:Martin_Brozius property:occupation ?d } UNION { resource:Arovane property:occupation ?d } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15304810
P748
Q701632 Q1752346 Q12737077
USER
Which occupations did around the same number of municipal councils and assemblies appoint as Prime Minister of Romania ?
(c(Q12737077),P748,c(Q701632)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q15304810
relation P748
type Q701632
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?x WHERE { { ?x property:P748 ?k . ?x rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q1752346 } UNION { ?x property:P748 ?k . ?x rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q701632 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q15304810 property:P748 ?v . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?r = ?d ) }
Prime Minister of Romania
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity Prime Minister of Romania
relation appointed by
type municipal council
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?x WHERE { { ?x property:appointed_by ?k . ?x rdf:type ontology:occupation . ?k rdf:type ontology:assembly } UNION { ?x property:appointed_by ?k . ?x rdf:type ontology:occupation . ?k rdf:type ontology:municipal_council } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Prime_Minister_of_Romania property:appointed_by ?v . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:municipal_council ) ( ontology:assembly ) } } } } . FILTER ( ?r = ?d ) }
[]
municipal council assembly occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 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 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q835586 Q12376089 Q4970706 Q27516521 Q1161813 Q6572133 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q596123 Q7444340 Q1723031 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 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 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 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 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 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 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 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q15304810
relation P748
type Q701632
type Q1752346
The [ANSWERS] around the same number of municipal councils and assemblies appointed as Prime Minister of Romania
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?x WHERE { { ?x property:P748 ?k . ?x rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q1752346 } UNION { ?x property:P748 ?k . ?x rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q701632 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q15304810 property:P748 ?v . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?r = ?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 Chair of the Federal Reserve 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 Chief of Staff of the United States Air Force King's Commissioner of Utrecht 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 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 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 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 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 president of Bangladesh Secretary of State for Dominion Affairs 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 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 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 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 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 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 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 President of the Parliament of Catalonia 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 Premier of the People's Republic of China 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 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 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 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 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
The Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and President of the People's Republic of China around the same number of municipal councils and assemblies appointed as Prime Minister of Romania
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity Prime Minister of Romania
relation appointed by
type municipal council
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?x WHERE { { ?x property:appointed_by ?k . ?x rdf:type ontology:occupation . ?k rdf:type ontology:assembly } UNION { ?x property:appointed_by ?k . ?x rdf:type ontology:occupation . ?k rdf:type ontology:municipal_council } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Prime_Minister_of_Romania property:appointed_by ?v . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:municipal_council ) ( ontology:assembly ) } } } } . FILTER ( ?r = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1362216
P748
Q701632 Q1752346 Q12737077
USER
And how about First Minister of Scotland?
(c(Q12737077),P748,c(Q701632)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q1362216
relation P748
type Q701632
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } . ?q rdf:type ?f } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { { ?s rdf:type ontology:Q701632 } UNION { ?s rdf:type ontology:Q1752346 } } . resource:Q1362216 property:P748 ?s } } . FILTER ( ?m = ?n ) }
First Minister of Scotland
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity First Minister of Scotland
relation appointed by
type municipal council
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:municipal_council ) ( ontology:assembly ) } . ?q rdf:type ?f } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { { ?s rdf:type ontology:municipal_council } UNION { ?s rdf:type ontology:assembly } } . resource:First_Minister_of_Scotland property:appointed_by ?s } } . FILTER ( ?m = ?n ) }
[]
municipal council assembly occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 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 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q835586 Q12376089 Q4970706 Q27516521 Q1161813 Q6572133 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q596123 Q7444340 Q1723031 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 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 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 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 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 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 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 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q1362216
relation P748
type Q701632
type Q1752346
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } . ?q rdf:type ?f } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { { ?s rdf:type ontology:Q701632 } UNION { ?s rdf:type ontology:Q1752346 } } . resource:Q1362216 property:P748 ?s } } . FILTER ( ?m = ?n ) }
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 Chair of the Federal Reserve 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 Chief of Staff of the United States Air Force King's Commissioner of Utrecht 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 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 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 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 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 president of Bangladesh Secretary of State for Dominion Affairs 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 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 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 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 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 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 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 President of the Parliament of Catalonia 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 Premier of the People's Republic of China 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 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 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 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 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
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity First Minister of Scotland
relation appointed by
type municipal council
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?m ) WHERE { VALUES ( ?f ) { ( ontology:municipal_council ) ( ontology:assembly ) } . ?q rdf:type ?f } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { { ?s rdf:type ontology:municipal_council } UNION { ?s rdf:type ontology:assembly } } . resource:First_Minister_of_Scotland property:appointed_by ?s } } . FILTER ( ?m = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1930187
P921
Q12737077 Q838948 Q191067
USER
How many occupations were the main subjects in the work greater number of works of art and articles than journalist ?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q1930187
relation P921
type Q838948
type Q191067
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P921 resource:Q1930187 . { VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?y rdf:type ?w } } } . FILTER ( ?b > ?x ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?c WHERE { { ?s property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P921 ?c . ?s rdf:type ontology:Q191067 . ?c rdf:type ontology:Q12737077 } } GROUP BY ?c } }
journalist
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity journalist
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:main_subject resource:journalist . { VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:article ) } . ?y rdf:type ?w } } } . FILTER ( ?b > ?x ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?c WHERE { { ?s property:main_subject ?c . ?c rdf:type ontology:occupation . ?s rdf:type ontology:work_of_art } UNION { ?s property:main_subject ?c . ?s rdf:type ontology:article . ?c rdf:type ontology:occupation } } GROUP BY ?c } }
[]
occupation work of art article
SYSTEM
5
Q33999 Q9402 Q164236 Q16746569 Q33231
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q1930187
relation P921
type Q838948
type Q191067
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P921 resource:Q1930187 . { VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?y rdf:type ?w } } } . FILTER ( ?b > ?x ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?c WHERE { { ?s property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P921 ?c . ?s rdf:type ontology:Q191067 . ?c rdf:type ontology:Q12737077 } } GROUP BY ?c } }
actor ninja war correspondent high school student photographer
5
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity journalist
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:main_subject resource:journalist . { VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:article ) } . ?y rdf:type ?w } } } . FILTER ( ?b > ?x ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) ?c WHERE { { ?s property:main_subject ?c . ?c rdf:type ontology:occupation . ?s rdf:type ontology:work_of_art } UNION { ?s property:main_subject ?c . ?s rdf:type ontology:article . ?c rdf:type ontology:occupation } } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q378622
P921
Q12737077 Q838948 Q191067
USER
And also tell me about racing driver?
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q378622
relation P921
type Q838948
type Q191067
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?c ) WHERE { ?q rdf:type ?r . VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } } GROUP BY ?y } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P921 resource:Q378622 . { { ?x rdf:type ontology:Q191067 } UNION { ?x rdf:type ontology:Q838948 } } } } }
racing driver
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity racing driver
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?c ) WHERE { ?q rdf:type ?r . VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:article ) } } GROUP BY ?y } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:main_subject resource:racing_driver . { { ?x rdf:type ontology:article } UNION { ?x rdf:type ontology:work_of_art } } } } }
[]
occupation work of art article
SYSTEM
28
Q172907 Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q7358 Q1930187 Q9402 Q2961580 Q101539 Q316070 Q510373 Q205375 Q164236 Q152002 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q732358 Q2095549 Q182436 Q1674312 Q16003532
(c(Q838948)|c(Q191067),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q378622
relation P921
type Q838948
type Q191067
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?c ) WHERE { ?q rdf:type ?r . VALUES ( ?r ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } } GROUP BY ?y } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P921 resource:Q378622 . { { ?x rdf:type ontology:Q191067 } UNION { ?x rdf:type ontology:Q838948 } } } } }
praetor industrialist business magnate physician lumberjack astronaut actor writer clown journalist ninja taxi driver flight attendant Fletcher Christian Lord High Steward inventor war correspondent pastor nanny high school student elementary school student comedian photographer Nomarch aviator librarian rag-and-bone man middle school student
28
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity racing driver
relation main subject
type work of art
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?c ) WHERE { ?q rdf:type ?r . VALUES ( ?r ) { ( ontology:work_of_art ) ( ontology:article ) } } GROUP BY ?y } . FILTER ( ?c > ?v ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:main_subject resource:racing_driver . { { ?x rdf:type ontology:article } UNION { ?x rdf:type ontology:work_of_art } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P463
Q484652
USER
Which international organizations were Kingdom of the Netherlands a member of ?
(Q29999,P463,c(Q484652))
action filter_type
action find
entity Q29999
relation P463
type Q484652
['Q29999', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q484652 . resource:Q29999 property:P463 ?n }
Kingdom of the Netherlands
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type international organization
['Kingdom of the Netherlands', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:international_organization . resource:Kingdom_of_the_Netherlands property:member_of ?n }
[]
international organization
Q1065 Q678524 Q842490
SYSTEM
United Nations, Netherlands-Indonesian Union, Organisation for the Prohibition of Chemical Weapons
Q678524 Q1043527 Q1065 Q188822 Q842490
(Q29999,P463,c(Q484652))
action filter_type
action find
entity Q29999
relation P463
type Q484652
[ANSWERS] were Kingdom of the Netherlands a member of
['Q29999', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q484652 . resource:Q29999 property:P463 ?n }
Netherlands-Indonesian Union Multilateral Investment Guarantee Agency United Nations Asian Development Bank Organisation for the Prohibition of Chemical Weapons
United Nations, Netherlands-Indonesian Union and Organisation for the Prohibition of Chemical Weapons were Kingdom of the Netherlands a member of
United Nations Netherlands-Indonesian Union Organisation for the Prohibition of Chemical Weapons
action filter_type
action find
entity Kingdom of the Netherlands
relation member of
type international organization
['Kingdom of the Netherlands', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:international_organization . resource:Kingdom_of_the_Netherlands property:member_of ?n }
[]