Simple Question (Direct)
Simple Question
Q1558970
P1196
Q1931388
USER
What manner did Gérard Defaux die ?
(Q1558970,P1196,c(Q1931388))
action filter_type
action find
entity Q1558970
relation P1196
type Q1931388
['Q1558970', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1931388 . resource:Q1558970 property:P1196 ?t }
Gérard Defaux
action filter_type
action find
entity Gérard Defaux
relation manner of death
type cause of death
['Gérard Defaux', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:cause_of_death . resource:Gérard_Defaux property:manner_of_death ?t }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1558970,P1196,c(Q1931388))
action filter_type
action find
entity Q1558970
relation P1196
type Q1931388
Gérard Defaux died of [ANSWER]
['Q1558970', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1931388 . resource:Q1558970 property:P1196 ?t }
natural causes
Gérard Defaux died of natural causes
natural causes
action filter_type
action find
entity Gérard Defaux
relation manner of death
type cause of death
['Gérard Defaux', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:cause_of_death . resource:Gérard_Defaux property:manner_of_death ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1558970
P119
Q39614
USER
Which cemetery is the place of burial of Gérard Defaux ?
(Q1558970,P119,c(Q39614))
action filter_type
action find
entity Q1558970
relation P119
type Q39614
['Q1558970', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?f WHERE { resource:Q1558970 property:P119 ?f . ?f rdf:type ontology:Q39614 }
Gérard Defaux
action filter_type
action find
entity Gérard Defaux
relation place of burial
type cemetery
['Gérard Defaux', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?f WHERE { resource:Gérard_Defaux property:place_of_burial ?f . ?f rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q1558970,P119,c(Q39614))
action filter_type
action find
entity Q1558970
relation P119
type Q39614
The [ANSWER] the place of burial of Gérard Defaux
['Q1558970', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?f WHERE { resource:Q1558970 property:P119 ?f . ?f rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The Père Lachaise Cemetery the place of burial of Gérard Defaux
Père Lachaise Cemetery
action filter_type
action find
entity Gérard Defaux
relation place of burial
type cemetery
['Gérard Defaux', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?f WHERE { resource:Gérard_Defaux property:place_of_burial ?f . ?f rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1558970
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q311,P19,c(Q56061))
action filter_type
action find
entity Q1558970
relation P19
type Q56061
['Q311', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1558970 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Gérard Defaux
action filter_type
action find
entity Gérard Defaux
relation place of birth
type administrative territorial entity
['Père Lachaise Cemetery', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Gérard_Defaux property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q311,P19,c(Q56061))
action filter_type
action find
entity Q1558970
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q311', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1558970 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Paris
Paris is the birthplace of that person
Paris
action filter_type
action find
entity Gérard Defaux
relation place of birth
type administrative territorial entity
['Père Lachaise Cemetery', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Gérard_Defaux property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1558970
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q1558970
relation P106
type Q12737077
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1558970 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Gérard Defaux
action filter_type
action find
entity Gérard Defaux
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Gérard_Defaux property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q1558970
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1558970 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
university teacher
The university teacher is the profession of that person
university teacher
action filter_type
action find
entity Gérard Defaux
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Gérard_Defaux property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q511456 Q1558970
P106
Q12737077
USER
Or Igor Trandenkov?
OR((Q1558970,P106,c(Q12737077)), (Q511456,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1558970
relation P106
action find
entity Q511456
relation P106
type Q12737077
{'OR': [['Q1558970', 'P106', {'concept': 'Q12737077'}], ['Q511456', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?d ) { ( resource:Q1558970 ) ( resource:Q511456 ) } . ?d property:P106 ?k } . ?k rdf:type ontology:Q12737077 }
Igor Trandenkov Gérard Defaux
action filter_type
action union
action find
entity Gérard Defaux
relation occupation
action find
entity Igor Trandenkov
relation occupation
type occupation
{'OR': [['Gérard Defaux', 'occupation', {'concept': 'occupation'}], ['Igor Trandenkov', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?d ) { ( resource:Gérard_Defaux ) ( resource:Igor_Trandenkov ) } . ?d property:occupation ?k } . ?k rdf:type ontology:occupation }
[]
occupation
Q13464497 Q1622272
SYSTEM
pole vaulter, university teacher
Q13464497 Q1622272
OR((Q1558970,P106,c(Q12737077)), (Q511456,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1558970
relation P106
action find
entity Q511456
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q1558970', 'P106', {'concept': 'Q12737077'}], ['Q511456', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?d ) { ( resource:Q1558970 ) ( resource:Q511456 ) } . ?d property:P106 ?k } . ?k rdf:type ontology:Q12737077 }
pole vaulter university teacher
pole vaulter university teacher
action filter_type
action union
action find
entity Gérard Defaux
relation occupation
action find
entity Igor Trandenkov
relation occupation
type occupation
{'OR': [['Gérard Defaux', 'occupation', {'concept': 'occupation'}], ['Igor Trandenkov', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?d ) { ( resource:Gérard_Defaux ) ( resource:Igor_Trandenkov ) } . ?d property:occupation ?k } . ?k rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q386724 Q838948
USER
Which occupations were the main subjects of max number of works and works of art 's work ?
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?g WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?h WHERE { { ?h rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q386724 . ?t property:P921 ?h } UNION { ?t property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?x = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?g WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:work ) ( ontology:work_of_art ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?h WHERE { { ?h rdf:type ontology:occupation . ?t rdf:type ontology:work . ?t property:main_subject ?h } UNION { ?t property:main_subject ?h . ?h rdf:type ontology:occupation . ?t rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?x = ?c ) }
[]
occupation work work of art
Q9402
SYSTEM
ninja
Q9402
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
[ANSWER] was the main subjects of max number of works and works of art 's work
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?g WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?h WHERE { { ?h rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q386724 . ?t property:P921 ?h } UNION { ?t property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?x = ?c ) }
ninja
Ninja was the main subjects of max number of works and works of art 's work
ninja
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?g WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:work ) ( ontology:work_of_art ) } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?h WHERE { { ?h rdf:type ontology:occupation . ?t rdf:type ontology:work . ?t property:main_subject ?h } UNION { ?t property:main_subject ?h . ?h rdf:type ontology:occupation . ?t rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?x = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q740126
P748
Q701632 Q178706 Q12737077
USER
How many occupations are appointed by lesser number of municipal councils or institutions than President of the European Parliament ?
(c(Q12737077),P748,c(Q701632)|c(Q178706))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q740126
relation P748
type Q701632
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?r WHERE { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:Q701632 ) ( ontology:Q178706 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q740126 property:P748 ?h . { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q701632 ) ( ontology:Q178706 ) } } } } . FILTER ( ?k < ?n ) }
President of the European Parliament
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity President of the European Parliament
relation appointed by
type municipal council
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?r WHERE { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:municipal_council ) ( ontology:institution ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:President_of_the_European_Parliament property:appointed_by ?h . { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:municipal_council ) ( ontology:institution ) } } } } . FILTER ( ?k < ?n ) }
[]
municipal council institution occupation
SYSTEM
295
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 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 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q6572133 Q796593 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 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 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 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 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 Q1370482 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 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q592866 Q1281611 Q1790154 Q6866422 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q178706))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q740126
relation P748
type Q701632
type Q178706
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?r WHERE { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:Q701632 ) ( ontology:Q178706 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:Q740126 property:P748 ?h . { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q701632 ) ( ontology:Q178706 ) } } } } . FILTER ( ?k < ?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 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 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 Governor of İstanbul President of Malta 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 Speaker of the Hellenic Parliament 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 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 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 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 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 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 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 Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs 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 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
295
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity President of the European Parliament
relation appointed by
type municipal council
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?r WHERE { ?q rdf:type ?b . VALUES ( ?b ) { ( ontology:municipal_council ) ( ontology:institution ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { resource:President_of_the_European_Parliament property:appointed_by ?h . { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:municipal_council ) ( ontology:institution ) } } } } . FILTER ( ?k < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q20859388
P748
Q701632 Q178706 Q12737077
USER
And how about municipal executive of Mierlo?
(c(Q12737077),P748,c(Q701632)|c(Q178706))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q20859388
relation P748
type Q701632
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { FILTER ( ?v < ?b ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q20859388 property:P748 ?m . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:Q701632 ) ( ontology:Q178706 ) } } } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?k WHERE { { ?k property:P748 ?d . ?k rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q701632 } UNION { ?k property:P748 ?d . ?k rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q178706 } } GROUP BY ?k } }
municipal executive of Mierlo
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity municipal executive of Mierlo
relation appointed by
type municipal council
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { FILTER ( ?v < ?b ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:municipal_executive_of_Mierlo property:appointed_by ?m . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:municipal_council ) ( ontology:institution ) } } } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?k WHERE { { ?k property:appointed_by ?d . ?k rdf:type ontology:occupation . ?d rdf:type ontology:municipal_council } UNION { ?k property:appointed_by ?d . ?k rdf:type ontology:occupation . ?d rdf:type ontology:institution } } GROUP BY ?k } }
[]
municipal council institution occupation
SYSTEM
295
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 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 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q6572133 Q796593 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 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 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 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 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 Q1370482 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 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q592866 Q1281611 Q1790154 Q6866422 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q178706))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q20859388
relation P748
type Q701632
type Q178706
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { FILTER ( ?v < ?b ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:Q20859388 property:P748 ?m . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:Q701632 ) ( ontology:Q178706 ) } } } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?k WHERE { { ?k property:P748 ?d . ?k rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q701632 } UNION { ?k property:P748 ?d . ?k rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q178706 } } GROUP BY ?k } }
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 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 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 Governor of İstanbul President of Malta 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 Speaker of the Hellenic Parliament 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 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 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 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 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 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 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 Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs 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 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
295
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity municipal executive of Mierlo
relation appointed by
type municipal council
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { FILTER ( ?v < ?b ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { resource:municipal_executive_of_Mierlo property:appointed_by ?m . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:municipal_council ) ( ontology:institution ) } } } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) ?k WHERE { { ?k property:appointed_by ?d . ?k rdf:type ontology:occupation . ?d rdf:type ontology:municipal_council } UNION { ?k property:appointed_by ?d . ?k rdf:type ontology:occupation . ?d rdf:type ontology:institution } } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q133485
P180
Q12737077 Q340169 Q3305213
USER
How many occupations are depicted in approximately the same number of medias or paintings as rabbi ?
(c(Q340169)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q133485
relation P180
type Q340169
type Q3305213
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { FILTER ( ?l = ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P180 resource:Q133485 . { VALUES ( ?i ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } . ?n rdf:type ?i } } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?l ) WHERE { { ?x property:P180 ?j . ?x rdf:type ontology:Q340169 . ?j rdf:type ontology:Q12737077 } UNION { ?x property:P180 ?j . ?x rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q12737077 } } GROUP BY ?j } }
rabbi
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity rabbi
relation depicts
type media
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { FILTER ( ?l = ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:depicts resource:rabbi . { VALUES ( ?i ) { ( ontology:media ) ( ontology:painting ) } . ?n rdf:type ?i } } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?l ) WHERE { { ?x property:depicts ?j . ?x rdf:type ontology:media . ?j rdf:type ontology:occupation } UNION { ?x property:depicts ?j . ?x rdf:type ontology:painting . ?j rdf:type ontology:occupation } } GROUP BY ?j } }
[]
occupation media painting
SYSTEM
183
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q16735601 Q37226 Q27621374 Q152355 Q1218776 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q161944 Q472898 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 Q11900058 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q12902372 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q15954519 Q2981922 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q1104153 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q1627992 Q2309784 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q340169)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q133485
relation P180
type Q340169
type Q3305213
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { FILTER ( ?l = ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P180 resource:Q133485 . { VALUES ( ?i ) { ( ontology:Q340169 ) ( ontology:Q3305213 ) } . ?n rdf:type ?i } } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?l ) WHERE { { ?x property:P180 ?j . ?x rdf:type ontology:Q340169 . ?j rdf:type ontology:Q12737077 } UNION { ?x property:P180 ?j . ?x rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q12737077 } } GROUP BY ?j } }
fiddler acrobat milkmaid worker standard-bearer sheep shearer florist teacher bear hunter cobbler arriero sewing executor astronaut cooper house painter organist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model deacon wet nurse clown spinner butcher military personnel midwife stonemason explorer civil servant sower abbé architect street musician parson flautist mathematician mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman alchemist American pioneer bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper canon discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor courtier judge matador goldsmith waterseller pretender astronomer surgeon domestic worker cook Kassandra high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker lady's maid sport cyclist apprentice King of France woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric basketry mail carrier artisan bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
183
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity rabbi
relation depicts
type media
type painting
[[{'concept': 'media'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { FILTER ( ?l = ?y ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:depicts resource:rabbi . { VALUES ( ?i ) { ( ontology:media ) ( ontology:painting ) } . ?n rdf:type ?i } } } . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?l ) WHERE { { ?x property:depicts ?j . ?x rdf:type ontology:media . ?j rdf:type ontology:occupation } UNION { ?x property:depicts ?j . ?x rdf:type ontology:painting . ?j rdf:type ontology:occupation } } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311
P800
Q502895
USER
Who has Père Lachaise Cemetery as their notable work ?
(c(Q502895),P800,Q311)
action filter_type
action find_reverse
entity Q311
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q311']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q311 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Père Lachaise Cemetery']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:notable_work resource:Père_Lachaise_Cemetery }
[]
common name
Q1342645
SYSTEM
Alexandre-Théodore Brongniart
Q1342645
(c(Q502895),P800,Q311)
action filter_type
action find_reverse
entity Q311
relation P800
type Q502895
[ANSWER] has Père Lachaise Cemetery as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q311']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q311 }
Alexandre-Théodore Brongniart
Alexandre-Théodore Brongniart has Père Lachaise Cemetery as their notable work
Alexandre-Théodore Brongniart
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Père Lachaise Cemetery']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:notable_work resource:Père_Lachaise_Cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1342645
P7
Q502895
USER
Who is that one a brother of ?
(c(Q502895),P7,Q1342645)
action filter_type
action find
entity Q1342645
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q1342645']
SELECT DISTINCT ?q WHERE { resource:Q1342645 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Alexandre-Théodore Brongniart
action filter_type
action find
entity Alexandre-Théodore Brongniart
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Alexandre-Théodore Brongniart']
SELECT DISTINCT ?q WHERE { resource:Alexandre-Théodore_Brongniart property:brother ?q . ?q rdf:type ontology:common_name }
[]
common name
Q2853513
SYSTEM
Antoine-Louis Brongniart
Q2853513
(c(Q502895),P7,Q1342645)
action filter_type
action find
entity Q1342645
relation P7
type Q502895
That one a brother of is [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q1342645']
SELECT DISTINCT ?q WHERE { resource:Q1342645 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Antoine-Louis Brongniart
That one a brother of is Antoine-Louis Brongniart
Antoine-Louis Brongniart
action filter_type
action find
entity Alexandre-Théodore Brongniart
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Alexandre-Théodore Brongniart']
SELECT DISTINCT ?q WHERE { resource:Alexandre-Théodore_Brongniart property:brother ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2853513
P802
Q502895
USER
Who was a notable student of that one ?
(c(Q502895),P802,Q2853513)
action filter_type
action find_reverse
entity Q2853513
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q2853513']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P802 resource:Q2853513 }
Antoine-Louis Brongniart
action filter_type
action find_reverse
entity Antoine-Louis Brongniart
relation student
type common name
[{'concept': 'common name'}, 'student', 'Antoine-Louis Brongniart']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:student resource:Antoine-Louis_Brongniart }
[]
common name
Q902573
SYSTEM
Guillaume-François Rouelle
Q902573
(c(Q502895),P802,Q2853513)
action filter_type
action find_reverse
entity Q2853513
relation P802
type Q502895
Was a notable student of that one [ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q2853513']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P802 resource:Q2853513 }
Guillaume-François Rouelle
Was a notable student of that one Guillaume-François Rouelle
Guillaume-François Rouelle
action filter_type
action find_reverse
entity Antoine-Louis Brongniart
relation student
type common name
[{'concept': 'common name'}, 'student', 'Antoine-Louis Brongniart']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:student resource:Antoine-Louis_Brongniart }
[]