Simple Question (Direct)
Simple Question
Q1050952
P39
Q12737077
USER
What were the positions for which Catherine Dean May were appointed ?
(Q1050952,P39,c(Q12737077))
action filter_type
action find
entity Q1050952
relation P39
type Q12737077
['Q1050952', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1050952 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Catherine Dean May
action filter_type
action find
entity Catherine Dean May
relation position held
type occupation
['Catherine Dean May', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Catherine_Dean_May property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q13218630 Q17598395
SYSTEM
United States representative, member of the Washington House of Representatives
Q13218630 Q17598395
(Q1050952,P39,c(Q12737077))
action filter_type
action find
entity Q1050952
relation P39
type Q12737077
The [ANSWERS]
['Q1050952', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1050952 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
United States representative member of the Washington House of Representatives
The United States representative and member of the Washington House of Representatives
United States representative member of the Washington House of Representatives
action filter_type
action find
entity Catherine Dean May
relation position held
type occupation
['Catherine Dean May', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Catherine_Dean_May property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17598395
P361
Q18608569
USER
Which lower house of U.S. state legislature is that occupation a part of ?
(Q17598395,P361,c(Q18608569))
action filter_type
action find
entity Q17598395
relation P361
type Q18608569
['Q17598395', 'P361', {'concept': 'Q18608569'}]
SELECT DISTINCT ?s WHERE { resource:Q17598395 property:P361 ?s . ?s rdf:type ontology:Q18608569 }
member of the Washington House of Representatives
action filter_type
action find
entity member of the Washington House of Representatives
relation part of
type lower house of U.S. state legislature
['member of the Washington House of Representatives', 'part of', {'concept': 'lower house of U.S. state legislature'}]
SELECT DISTINCT ?s WHERE { resource:member_of_the_Washington_House_of_Representatives property:part_of ?s . ?s rdf:type ontology:lower_house_of_U.S._state_legislature }
[]
lower house of U.S. state legislature
Clarification for simple ques.
Q17598395
SYSTEM
Did you mean member of the Washington House of Representatives ?
Q13218630 Q17598395
(Q13218630,P361,c(Q18608569)) (Q17598395,P361,c(Q18608569))
[ANSWER]
['Q13218630', 'P361', {'concept': 'Q18608569'}] ['Q17598395', 'P361', {'concept': 'Q18608569'}]
SELECT DISTINCT ?s WHERE { resource:Q17598395 property:P361 ?s . ?s rdf:type ontology:Q18608569 }
United States representative member of the Washington House of Representatives
Did you mean member of the Washington House of Representatives ?
member of the Washington House of Representatives
['United States representative', 'part of', {'concept': 'lower house of U.S. state legislature'}] ['member of the Washington House of Representatives', 'part of', {'concept': 'lower house of U.S. state legislature'}]
SELECT DISTINCT ?s WHERE { resource:member_of_the_Washington_House_of_Representatives property:part_of ?s . ?s rdf:type ontology:lower_house_of_U.S._state_legislature }
[]
Simple Question (Coreferenced)
USER
Yes
(Q17598395,P361,c(Q18608569))
['Q17598395', 'P361', {'concept': 'Q18608569'}]
['member of the Washington House of Representatives', 'part of', {'concept': 'lower house of U.S. state legislature'}]
[]
Q1802872
SYSTEM
Washington House of Representatives
Q1802872
(Q17598395,P361,c(Q18608569))
action filter_type
action find
entity Q17598395
relation P361
type Q18608569
[ANSWER] is that occupation a part of
['Q17598395', 'P361', {'concept': 'Q18608569'}]
SELECT DISTINCT ?s WHERE { resource:Q17598395 property:P361 ?s . ?s rdf:type ontology:Q18608569 }
Washington House of Representatives
Washington House of Representatives is that occupation a part of
Washington House of Representatives
action filter_type
action find
entity member of the Washington House of Representatives
relation part of
type lower house of U.S. state legislature
['member of the Washington House of Representatives', 'part of', {'concept': 'lower house of U.S. state legislature'}]
SELECT DISTINCT ?s WHERE { resource:member_of_the_Washington_House_of_Representatives property:part_of ?s . ?s rdf:type ontology:lower_house_of_U.S._state_legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Who has politician as the associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?d WHERE { resource:Q82955 property:P425 ?d . ?d rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?d WHERE { resource:politician property:field_of_this_occupation ?d . ?d rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has politician as the associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?d WHERE { resource:Q82955 property:P425 ?d . ?d rdf:type ontology:Q3769299 }
politics
Politics has politician as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?d WHERE { resource:politician property:field_of_this_occupation ?d . ?d rdf:type ontology:human_behaviour }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q118081
P417
Q502895 Q12737077
USER
Which people are the patron saint of more number of occupations than Pope Celestine V ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q118081
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P417 ?c . ?r rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q118081 property:P417 ?i . ?i rdf:type ontology:Q502895 } } . FILTER ( ?g > ?d ) }
Pope Celestine V
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Pope Celestine V
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:patron_saint ?c . ?r rdf:type ontology:occupation . ?c rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Pope_Celestine_V property:patron_saint ?i . ?i rdf:type ontology:common_name } } . FILTER ( ?g > ?d ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q118081
relation P417
type Q502895
[ANSWERS] are the patron saint of more number of occupations than Pope Celestine V
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P417 ?c . ?r rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q118081 property:P417 ?i . ?i rdf:type ontology:Q502895 } } . FILTER ( ?g > ?d ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the patron saint of more number of occupations than Pope Celestine V
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Pope Celestine V
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:patron_saint ?c . ?r rdf:type ontology:occupation . ?c rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Pope_Celestine_V property:patron_saint ?i . ?i rdf:type ontology:common_name } } . FILTER ( ?g > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q9200
P417
Q502895 Q12737077
USER
And also tell me about Paul?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q9200
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P417 ?d . ?d rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q9200 property:P417 ?f } } . FILTER ( ?t > ?w ) }
Paul
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Paul
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:patron_saint ?d . ?d rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:common_name . resource:Paul property:patron_saint ?f } } . FILTER ( ?t > ?w ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q9200
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P417 ?d . ?d rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q9200 property:P417 ?f } } . FILTER ( ?t > ?w ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
Isidore of Seville Catherine of Siena Jerome
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Paul
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:patron_saint ?d . ?d rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f rdf:type ontology:common_name . resource:Paul property:patron_saint ?f } } . FILTER ( ?t > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q735015
P748
Q895526 Q11204 Q12737077
USER
How many occupations were appointed by lesser number of authority organs and legislatures than United States Secretary of Defense ?
(c(Q12737077),P748,c(Q895526)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q735015
relation P748
type Q895526
type Q11204
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?k WHERE { { ?k property:P748 ?s . ?k rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q895526 } UNION { ?k property:P748 ?s . ?k rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q11204 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q735015 property:P748 ?t . { { ?t rdf:type ontology:Q11204 } UNION { ?t rdf:type ontology:Q895526 } } } } . FILTER ( ?z < ?r ) }
United States Secretary of Defense
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity United States Secretary of Defense
relation appointed by
type authority organ
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?k WHERE { { ?k property:appointed_by ?s . ?k rdf:type ontology:occupation . ?s rdf:type ontology:authority_organ } UNION { ?k property:appointed_by ?s . ?k rdf:type ontology:occupation . ?s rdf:type ontology:legislature } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:United_States_Secretary_of_Defense property:appointed_by ?t . { { ?t rdf:type ontology:legislature } UNION { ?t rdf:type ontology:authority_organ } } } } . FILTER ( ?z < ?r ) }
[]
authority organ legislature occupation
SYSTEM
280
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q191954 Q6865958 Q3251824 Q1846384 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q1507619 Q737115 Q6578215 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1753754 Q1476458 Q15407843 Q2484309 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q531471 Q274948 Q21384866 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q182762 Q20859386 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q735015
relation P748
type Q895526
type Q11204
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?k WHERE { { ?k property:P748 ?s . ?k rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q895526 } UNION { ?k property:P748 ?s . ?k rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q11204 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q735015 property:P748 ?t . { { ?t rdf:type ontology:Q11204 } UNION { ?t rdf:type ontology:Q895526 } } } } . FILTER ( ?z < ?r ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions Secretary of State for International Development Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan municipal executive of Rotterdam Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Prime Minister of Algeria Mayor of Mierlo Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan Leader of the Government in the House of Commons Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
280
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity United States Secretary of Defense
relation appointed by
type authority organ
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?k WHERE { { ?k property:appointed_by ?s . ?k rdf:type ontology:occupation . ?s rdf:type ontology:authority_organ } UNION { ?k property:appointed_by ?s . ?k rdf:type ontology:occupation . ?s rdf:type ontology:legislature } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:United_States_Secretary_of_Defense property:appointed_by ?t . { { ?t rdf:type ontology:legislature } UNION { ?t rdf:type ontology:authority_organ } } } } . FILTER ( ?z < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q940135
P748
Q895526 Q11204 Q12737077
USER
And also tell me about United States Secretary of the Navy?
(c(Q12737077),P748,c(Q895526)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q940135
relation P748
type Q895526
type Q11204
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?k WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q11204 ) ( ontology:Q895526 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q940135 property:P748 ?j . { { ?j rdf:type ontology:Q895526 } UNION { ?j rdf:type ontology:Q11204 } } } } . FILTER ( ?c < ?a ) }
United States Secretary of the Navy
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity United States Secretary of the Navy
relation appointed by
type authority organ
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?k WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:legislature ) ( ontology:authority_organ ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:United_States_Secretary_of_the_Navy property:appointed_by ?j . { { ?j rdf:type ontology:authority_organ } UNION { ?j rdf:type ontology:legislature } } } } . FILTER ( ?c < ?a ) }
[]
authority organ legislature occupation
SYSTEM
280
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q191954 Q6865958 Q3251824 Q1846384 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q1507619 Q737115 Q6578215 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1753754 Q1476458 Q15407843 Q2484309 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q20172329 Q531471 Q274948 Q21384866 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q182762 Q20859386 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q2505890 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action count
action filter_multi_types
action find
entity Q940135
relation P748
type Q895526
type Q11204
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?k WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:Q11204 ) ( ontology:Q895526 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:Q940135 property:P748 ?j . { { ?j rdf:type ontology:Q895526 } UNION { ?j rdf:type ontology:Q11204 } } } } . FILTER ( ?c < ?a ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions Secretary of State for International Development Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan municipal executive of Rotterdam Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Prime Minister of Algeria Mayor of Mierlo Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan Leader of the Government in the House of Commons Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
280
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type legislature
action count
action filter_multi_types
action find
entity United States Secretary of the Navy
relation appointed by
type authority organ
type legislature
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?k WHERE { ?s rdf:type ?o . VALUES ( ?o ) { ( ontology:legislature ) ( ontology:authority_organ ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { resource:United_States_Secretary_of_the_Navy property:appointed_by ?j . { { ?j rdf:type ontology:authority_organ } UNION { ?j rdf:type ontology:legislature } } } } . FILTER ( ?c < ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P841
Q186081 Q573 Q502895
USER
How many people have exactly 3 time intervals or days as their principal feast day ?
(c(Q502895),P841,c(Q186081)|c(Q573))
action count
action equal
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
value 3
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?z ) WHERE { { ?a property:P841 ?f . ?a rdf:type ontology:Q502895 . ?f rdf:type ontology:Q573 } UNION { ?a rdf:type ontology:Q502895 . ?f rdf:type ontology:Q186081 . ?a property:P841 ?f } } GROUP BY ?a } . FILTER ( ?z = 3 ) }
action count
action equal
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
value 3
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?z ) WHERE { { ?a property:feast_day ?f . ?a rdf:type ontology:common_name . ?f rdf:type ontology:day } UNION { ?a rdf:type ontology:common_name . ?f rdf:type ontology:time_interval . ?a property:feast_day ?f } } GROUP BY ?a } . FILTER ( ?z = 3 ) }
[]
time interval day common name
SYSTEM
2
Q724454 Q18691847
(c(Q502895),P841,c(Q186081)|c(Q573))
action count
action equal
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
value 3
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?z ) WHERE { { ?a property:P841 ?f . ?a rdf:type ontology:Q502895 . ?f rdf:type ontology:Q573 } UNION { ?a rdf:type ontology:Q502895 . ?f rdf:type ontology:Q186081 . ?a property:P841 ?f } } GROUP BY ?a } . FILTER ( ?z = 3 ) }
Julian of Antioch Saint Ilar
2
action count
action equal
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
value 3
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?z ) WHERE { { ?a property:feast_day ?f . ?a rdf:type ontology:common_name . ?f rdf:type ontology:day } UNION { ?a rdf:type ontology:common_name . ?f rdf:type ontology:time_interval . ?a property:feast_day ?f } } GROUP BY ?a } . FILTER ( ?z = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q166876
P7
Q502895
USER
How many people are Isidore of Seville a sibling of ?
(Q166876,P7,c(Q502895))
action count
action filter_type
action find
entity Q166876
relation P7
type Q502895
['Q166876', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q166876 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Isidore of Seville
action count
action filter_type
action find
entity Isidore of Seville
relation brother
type common name
['Isidore of Seville', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Isidore_of_Seville property:brother ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q577125 Q2616176
(Q166876,P7,c(Q502895))
action count
action filter_type
action find
entity Q166876
relation P7
type Q502895
[ANSWER]
['Q166876', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q166876 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Leander of Seville Fulgentius of Cartagena
2
action count
action filter_type
action find
entity Isidore of Seville
relation brother
type common name
['Isidore of Seville', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Isidore_of_Seville property:brother ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q739327
P7
Q502895
USER
And what about Peter, Count of Perche and Alençon?
(Q739327,P7,c(Q502895))
action count
action filter_type
action find
entity Q739327
relation P7
type Q502895
['Q739327', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q739327 property:P7 ?g . ?g rdf:type ontology:Q502895 }
Peter, Count of Perche and Alençon
action count
action filter_type
action find
entity Peter, Count of Perche and Alençon
relation brother
type common name
['Peter, Count of Perche and Alençon', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Peter,_Count_of_Perche_and_Alençon property:brother ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q648617 Q1875299 Q172203 Q266309 Q14752200
(Q739327,P7,c(Q502895))
action count
action filter_type
action find
entity Q739327
relation P7
type Q502895
[ANSWER]
['Q739327', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q739327 property:P7 ?g . ?g rdf:type ontology:Q502895 }
John Tristan, Count of Valois Louis of France Philip III of France Robert, Count of Clermont John of France
5
action count
action filter_type
action find
entity Peter, Count of Perche and Alençon
relation brother
type common name
['Peter, Count of Perche and Alençon', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Peter,_Count_of_Perche_and_Alençon property:brother ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q172061
Q502895
USER
And what about Suleiman II?
(Q172061,P7,c(Q502895))
action count
action filter_type
action find
entity Q172061
relation P7
type Q502895
['Q172061', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Q172061 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Suleiman II
action count
action filter_type
action find
entity Suleiman II
relation brother
type common name
['Suleiman II', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Suleiman_II property:brother ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q172061,P7,c(Q502895))
action count
action filter_type
action find
entity Q172061
relation P7
type Q502895
[ANSWER]
['Q172061', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Q172061 property:P7 ?t . ?t rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Suleiman II
relation brother
type common name
['Suleiman II', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Suleiman_II property:brother ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172061
P40
Q502895
USER
Which people have that one as a child ?
action filter_type
action find_reverse
entity Q172061
relation P40
type Q502895
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q172061 . ?e rdf:type ontology:Q502895 }
Suleiman II
action filter_type
action find_reverse
entity Suleiman II
relation child
type common name
SELECT DISTINCT ?e WHERE { ?e property:child resource:Suleiman_II . ?e rdf:type ontology:common_name }
[]
common name
Q2682344 Q168776
SYSTEM
Saliha Dilâşub Sultan, Ibrahim I
Q2682344 Q168776
action filter_type
action find_reverse
entity Q172061
relation P40
type Q502895
[ANSWERS] have that one as a child
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q172061 . ?e rdf:type ontology:Q502895 }
Saliha Dilâşub Sultan Ibrahim I
Saliha Dilâşub Sultan and Ibrahim I have that one as a child
Saliha Dilâşub Sultan Ibrahim I
action filter_type
action find_reverse
entity Suleiman II
relation child
type common name
SELECT DISTINCT ?e WHERE { ?e property:child resource:Suleiman_II . ?e rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q320341
P1303
Q34379 Q502895
USER
How many musical instruments do lesser number of people know to play than celesta ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q320341
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:Q502895 . ?i property:P1303 resource:Q320341 } } . FILTER ( ?b < ?k ) }
celesta
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity celesta
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:common_name . ?i property:instrument resource:celesta } } . FILTER ( ?b < ?k ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q320341
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:Q502895 . ?i property:P1303 resource:Q320341 } } . FILTER ( ?b < ?k ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity celesta
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:common_name . ?i property:instrument resource:celesta } } . FILTER ( ?b < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q873588
P1303
Q34379 Q502895
USER
And how about Jinghu?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q873588
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ontology:Q502895 . ?y property:P1303 resource:Q873588 } } . FILTER ( ?c < ?o ) }
Jinghu
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Jinghu
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ontology:common_name . ?y property:instrument resource:Jinghu } } . FILTER ( ?c < ?o ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q873588
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ontology:Q502895 . ?y property:P1303 resource:Q873588 } } . FILTER ( ?c < ?o ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Jinghu
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?c ) WHERE { ?h property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y rdf:type ontology:common_name . ?y property:instrument resource:Jinghu } } . FILTER ( ?c < ?o ) }
[]