Simple Question (Direct)
Simple Question
Q3298330
P106
Q12737077
USER
Which occupations have Gertrude Simmons Burlingham as his/her 's career ?
(Q3298330,P106,c(Q12737077))
action filter_type
action find
entity Q3298330
relation P106
type Q12737077
['Q3298330', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q3298330 property:P106 ?r }
Gertrude Simmons Burlingham
action filter_type
action find
entity Gertrude Simmons Burlingham
relation occupation
type occupation
['Gertrude Simmons Burlingham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Gertrude_Simmons_Burlingham property:occupation ?r }
[]
occupation
Q864503 Q2374149
SYSTEM
biologist, botanist
Q864503 Q2374149
(Q3298330,P106,c(Q12737077))
action filter_type
action find
entity Q3298330
relation P106
type Q12737077
[ANSWERS]
['Q3298330', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q3298330 property:P106 ?r }
biologist botanist
biologist botanist
action filter_type
action find
entity Gertrude Simmons Burlingham
relation occupation
type occupation
['Gertrude Simmons Burlingham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Gertrude_Simmons_Burlingham property:occupation ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2374149
P39
Q502895
USER
Which person was appointed for the position of that occupation ?
(c(Q502895),P39,Q2374149)
action filter_type
action find_reverse
entity Q2374149
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q2374149']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P39 resource:Q2374149 }
botanist
action filter_type
action find_reverse
entity botanist
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'botanist']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:position_held resource:botanist }
[]
common name
Clarification for simple ques.
Q2374149
SYSTEM
Did you mean botanist ?
Q864503 Q2374149
(c(Q502895),P39,Q864503) (c(Q502895),P39,Q2374149)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q864503'] [{'concept': 'Q502895'}, 'P39', 'Q2374149']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P39 resource:Q2374149 }
biologist botanist
Did you mean botanist ?
botanist
[{'concept': 'common name'}, 'position held', 'biologist'] [{'concept': 'common name'}, 'position held', 'botanist']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:position_held resource:botanist }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P39,Q2374149)
[{'concept': 'Q502895'}, 'P39', 'Q2374149']
[{'concept': 'common name'}, 'position held', 'botanist']
[]
Q8017516
SYSTEM
William Rich
Q8017516
(c(Q502895),P39,Q2374149)
action filter_type
action find_reverse
entity Q2374149
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q2374149']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P39 resource:Q2374149 }
William Rich
William Rich
action filter_type
action find_reverse
entity botanist
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'botanist']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:position_held resource:botanist }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8017516
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q8017516,P39,c(Q12737077))
action filter_type
action find
entity Q8017516
relation P39
type Q12737077
['Q8017516', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q8017516 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
William Rich
action filter_type
action find
entity William Rich
relation position held
type occupation
['William Rich', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:William_Rich property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q2374149
SYSTEM
botanist
Q2374149
(Q8017516,P39,c(Q12737077))
action filter_type
action find
entity Q8017516
relation P39
type Q12737077
[ANSWER]
['Q8017516', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q8017516 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
botanist
botanist
action filter_type
action find
entity William Rich
relation position held
type occupation
['William Rich', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:William_Rich property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8017516
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2374149,P27,c(Q15617994))
action filter_type
action find
entity Q8017516
relation P27
type Q15617994
['Q2374149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q8017516 property:P27 ?t }
William Rich
action filter_type
action find
entity William Rich
relation country of citizenship
type designation for an administrative territorial entity
['botanist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_Rich property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2374149,P27,c(Q15617994))
action filter_type
action find
entity Q8017516
relation P27
type Q15617994
[ANSWER]
['Q2374149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q8017516 property:P27 ?t }
United States of America
United States of America
action filter_type
action find
entity William Rich
relation country of citizenship
type designation for an administrative territorial entity
['botanist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_Rich property:country_of_citizenship ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q578346
P17
Q15617994
USER
Is United States of America a part of Crosby Garrett ?
(Q30,P17,Q578346)
action is_in
entity Q578346
action find
entity Q30
relation P17
['Q30', 'P17', 'Q578346']
ASK WHERE { resource:Q30 property:P17 resource:Q578346 }
United States of America Crosby Garrett
action is_in
entity Crosby Garrett
action find
entity United States of America
relation country
['United States of America', 'country', 'Crosby Garrett']
ASK WHERE { resource:United_States_of_America property:country resource:Crosby_Garrett }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q30,P17,Q578346)
action is_in
entity Q578346
action find
entity Q30
relation P17
[ANSWER]
['Q30', 'P17', 'Q578346']
ASK WHERE { resource:Q30 property:P17 resource:Q578346 }
No
action is_in
entity Crosby Garrett
action find
entity United States of America
relation country
['United States of America', 'country', 'Crosby Garrett']
ASK WHERE { resource:United_States_of_America property:country resource:Crosby_Garrett }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q11204 Q701632 Q12737077
USER
Which occupations did min number of legislatures and municipal councils appoint ?
(c(Q12737077),P748,c(Q11204)|c(Q701632))
action argmin
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q701632
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?s WHERE { FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?s WHERE { { ?s property:P748 ?c . ?s rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q11204 } UNION { ?s property:P748 ?c . ?s rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q701632 } } GROUP BY ?s } . { SELECT DISTINCT ( MIN ( ?l ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?t WHERE { { ?t property:P748 ?p . ?p rdf:type ontology:Q11204 . ?t rdf:type ontology:Q12737077 } UNION { ?t property:P748 ?p . ?t rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q701632 } } GROUP BY ?t } } }
action argmin
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?s WHERE { FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?s WHERE { { ?s property:appointed_by ?c . ?s rdf:type ontology:occupation . ?c rdf:type ontology:legislature } UNION { ?s property:appointed_by ?c . ?s rdf:type ontology:occupation . ?c rdf:type ontology:municipal_council } } GROUP BY ?s } . { SELECT DISTINCT ( MIN ( ?l ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?t WHERE { { ?t property:appointed_by ?p . ?p rdf:type ontology:legislature . ?t rdf:type ontology:occupation } UNION { ?t property:appointed_by ?p . ?t rdf:type ontology:occupation . ?p rdf:type ontology:municipal_council } } GROUP BY ?t } } }
[]
legislature municipal council occupation
Q687075 Q1749063 Q22955080
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, president of FIFA
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 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 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 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 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 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 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q11204)|c(Q701632))
action argmin
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q701632
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?s WHERE { FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?s WHERE { { ?s property:P748 ?c . ?s rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q11204 } UNION { ?s property:P748 ?c . ?s rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q701632 } } GROUP BY ?s } . { SELECT DISTINCT ( MIN ( ?l ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?t WHERE { { ?t property:P748 ?p . ?p rdf:type ontology:Q11204 . ?t rdf:type ontology:Q12737077 } UNION { ?t property:P748 ?p . ?t rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q701632 } } GROUP BY ?t } } }
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 Chief of Staff of the United States Air Force King's Commissioner of Utrecht Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council 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 Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources 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 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 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 President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands 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 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 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 High Representative of the Union for Foreign Affairs and Security Policy President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs 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
Prime Minister of Sweden Minister for Foreign Affairs of Sweden president of FIFA
action argmin
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?s WHERE { FILTER ( ?j = ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?s WHERE { { ?s property:appointed_by ?c . ?s rdf:type ontology:occupation . ?c rdf:type ontology:legislature } UNION { ?s property:appointed_by ?c . ?s rdf:type ontology:occupation . ?c rdf:type ontology:municipal_council } } GROUP BY ?s } . { SELECT DISTINCT ( MIN ( ?l ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?t WHERE { { ?t property:appointed_by ?p . ?p rdf:type ontology:legislature . ?t rdf:type ontology:occupation } UNION { ?t property:appointed_by ?p . ?t rdf:type ontology:occupation . ?p rdf:type ontology:municipal_council } } GROUP BY ?t } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q1190554 Q223557 Q15617994
USER
Which administrative territories are named after min number of events and physical objects ?
(c(Q15617994),P138,c(Q1190554)|c(Q223557))
action argmin
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q223557
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?x WHERE { { ?x property:P138 ?i . ?x rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1190554 } UNION { ?x property:P138 ?i . ?x rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q223557 } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) ?q WHERE { { ?q property:P138 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1190554 } UNION { ?q property:P138 ?z . ?z rdf:type ontology:Q223557 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } . FILTER ( ?p = ?o ) }
action argmin
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'physical object'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?x WHERE { { ?x property:named_after ?i . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:event } UNION { ?x property:named_after ?i . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:physical_object } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) ?q WHERE { { ?q property:named_after ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:event } UNION { ?q property:named_after ?z . ?z rdf:type ontology:physical_object . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . FILTER ( ?p = ?o ) }
[]
event physical object designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q27 Q1011 Q1013 Q480103 Q4149 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q1190554)|c(Q223557))
action argmin
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q223557
[ANSWERS]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?x WHERE { { ?x property:P138 ?i . ?x rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1190554 } UNION { ?x property:P138 ?i . ?x rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q223557 } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) ?q WHERE { { ?q property:P138 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1190554 } UNION { ?q property:P138 ?z . ?z rdf:type ontology:Q223557 . ?q rdf:type ontology:Q15617994 } } GROUP BY ?q } . FILTER ( ?p = ?o ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
Brazil United States of America Georgia
action argmin
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'physical object'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) ?x WHERE { { ?x property:named_after ?i . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:event } UNION { ?x property:named_after ?i . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:physical_object } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) ?q WHERE { { ?q property:named_after ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:event } UNION { ?q property:named_after ?z . ?z rdf:type ontology:physical_object . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . FILTER ( ?p = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26436639 Q578346
P17
Q15617994
USER
Which administrative territories are Crosby Garrett or The Cottage present in ?
OR((Q578346,P17,c(Q15617994)), (Q26436639,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q578346
relation P17
action find
entity Q26436639
relation P17
type Q15617994
{'OR': [['Q578346', 'P17', {'concept': 'Q15617994'}], ['Q26436639', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?h ) { ( resource:Q578346 ) ( resource:Q26436639 ) } . ?h property:P17 ?o } . ?o rdf:type ontology:Q15617994 }
The Cottage Crosby Garrett
action filter_type
action union
action find
entity Crosby Garrett
relation country
action find
entity The Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Crosby Garrett', 'country', {'concept': 'designation for an administrative territorial entity'}], ['The Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?h ) { ( resource:Crosby_Garrett ) ( resource:The_Cottage ) } . ?h property:country ?o } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
OR((Q578346,P17,c(Q15617994)), (Q26436639,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q578346
relation P17
action find
entity Q26436639
relation P17
type Q15617994
[ANSWER]
{'OR': [['Q578346', 'P17', {'concept': 'Q15617994'}], ['Q26436639', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?h ) { ( resource:Q578346 ) ( resource:Q26436639 ) } . ?h property:P17 ?o } . ?o rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action union
action find
entity Crosby Garrett
relation country
action find
entity The Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Crosby Garrett', 'country', {'concept': 'designation for an administrative territorial entity'}], ['The Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?h ) { ( resource:Crosby_Garrett ) ( resource:The_Cottage ) } . ?h property:country ?o } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q145 Q2076988
P27
Q502895
USER
Is Peter McMullen a civilian of that administrative territory ?
(Q2076988,P27,Q145)
action is_in
entity Q145
action find
entity Q2076988
relation P27
['Q2076988', 'P27', 'Q145']
ASK WHERE { resource:Q2076988 property:P27 resource:Q145 }
United Kingdom Peter McMullen
action is_in
entity United Kingdom
action find
entity Peter McMullen
relation country of citizenship
['Peter McMullen', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Peter_McMullen property:country_of_citizenship resource:United_Kingdom }
[]
common name
SYSTEM
YES
(Q2076988,P27,Q145)
action is_in
entity Q145
action find
entity Q2076988
relation P27
[ANSWER]
['Q2076988', 'P27', 'Q145']
ASK WHERE { resource:Q2076988 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Peter McMullen
relation country of citizenship
['Peter McMullen', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Peter_McMullen property:country_of_citizenship resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3298330 Q49088
P69
Q163740
USER
Is Gertrude Simmons Burlingham an alumni of Columbia University ?
(Q3298330,P69,Q49088)
action is_in
entity Q49088
action find
entity Q3298330
relation P69
['Q3298330', 'P69', 'Q49088']
ASK WHERE { resource:Q3298330 property:P69 resource:Q49088 }
Gertrude Simmons Burlingham Columbia University
action is_in
entity Columbia University
action find
entity Gertrude Simmons Burlingham
relation educated at
['Gertrude Simmons Burlingham', 'educated at', 'Columbia University']
ASK WHERE { resource:Gertrude_Simmons_Burlingham property:educated_at resource:Columbia_University }
[]
nonprofit organization
SYSTEM
YES
(Q3298330,P69,Q49088)
action is_in
entity Q49088
action find
entity Q3298330
relation P69
[ANSWER]
['Q3298330', 'P69', 'Q49088']
ASK WHERE { resource:Q3298330 property:P69 resource:Q49088 }
Yes
action is_in
entity Columbia University
action find
entity Gertrude Simmons Burlingham
relation educated at
['Gertrude Simmons Burlingham', 'educated at', 'Columbia University']
ASK WHERE { resource:Gertrude_Simmons_Burlingham property:educated_at resource:Columbia_University }
[]