Simple Question (Direct)
Simple Question
Q8004303
P39
Q12737077
USER
What was the position for which William Alfred Galliher was appointed ?
(Q8004303,P39,c(Q12737077))
action filter_type
action find
entity Q8004303
relation P39
type Q12737077
['Q8004303', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q8004303 property:P39 ?b }
William Alfred Galliher
action filter_type
action find
entity William Alfred Galliher
relation position held
type occupation
['William Alfred Galliher', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:William_Alfred_Galliher property:position_held ?b }
[]
occupation
Q15964890
SYSTEM
member of the House of Commons of Canada
Q15964890
(Q8004303,P39,c(Q12737077))
action filter_type
action find
entity Q8004303
relation P39
type Q12737077
And [ANSWER]
['Q8004303', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q8004303 property:P39 ?b }
member of the House of Commons of Canada
And member of the House of Commons of Canada
member of the House of Commons of Canada
action filter_type
action find
entity William Alfred Galliher
relation position held
type occupation
['William Alfred Galliher', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:William_Alfred_Galliher property:position_held ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8004303
P21
Q290
USER
What is the sex of that person ?
(Q15964890,P21,c(Q290))
action filter_type
action find
entity Q8004303
relation P21
type Q290
['Q15964890', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q8004303 property:P21 ?w . ?w rdf:type ontology:Q290 }
William Alfred Galliher
action filter_type
action find
entity William Alfred Galliher
relation gender
type sex
['member of the House of Commons of Canada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:William_Alfred_Galliher property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15964890,P21,c(Q290))
action filter_type
action find
entity Q8004303
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q15964890', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q8004303 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity William Alfred Galliher
relation gender
type sex
['member of the House of Commons of Canada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:William_Alfred_Galliher property:gender ?w . ?w rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q178706 Q1307214 Q12737077
USER
Which occupations are appointed by min number of institutions and forms of government ?
(c(Q12737077),P748,c(Q178706)|c(Q1307214))
action argmin
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?o WHERE { { ?o property:P748 ?u . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q178706 } UNION { ?o property:P748 ?u . ?u rdf:type ontology:Q1307214 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?l WHERE { { ?l property:P748 ?v . ?v rdf:type ontology:Q178706 . ?l rdf:type ontology:Q12737077 } UNION { ?l property:P748 ?v . ?l rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q1307214 } } GROUP BY ?l } . FILTER ( ?w = ?k ) }
action argmin
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?o WHERE { { ?o property:appointed_by ?u . ?o rdf:type ontology:occupation . ?u rdf:type ontology:institution } UNION { ?o property:appointed_by ?u . ?u rdf:type ontology:form_of_government . ?o rdf:type ontology:occupation } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?l WHERE { { ?l property:appointed_by ?v . ?v rdf:type ontology:institution . ?l rdf:type ontology:occupation } UNION { ?l property:appointed_by ?v . ?l rdf:type ontology:occupation . ?v rdf:type ontology:form_of_government } } GROUP BY ?l } . FILTER ( ?w = ?k ) }
[]
institution form of government occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q2631987 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q20891385 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q21384866 Q596123 Q7444340 Q1723031 Q20194364 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 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q592866 Q1790154 Q6866422 Q3251818 Q6866427 Q26721218 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q178706)|c(Q1307214))
action argmin
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
The [ANSWERS] are appointed by min number of institutions and forms of government
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?o WHERE { { ?o property:P748 ?u . ?o rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q178706 } UNION { ?o property:P748 ?u . ?u rdf:type ontology:Q1307214 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?l WHERE { { ?l property:P748 ?v . ?v rdf:type ontology:Q178706 . ?l rdf:type ontology:Q12737077 } UNION { ?l property:P748 ?v . ?l rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q1307214 } } GROUP BY ?l } . FILTER ( ?w = ?k ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury 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 United States Secretary of the Air Force Mayor of Gorinchem Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach United States Secretary of Agriculture 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 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 President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland 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 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 municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs 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 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 municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor 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 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 President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Chief of Naval Operations President of the Parliament of Catalonia Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs 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 President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum 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 Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen 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 Prime Minister of Tuvalu Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere 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 Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
The Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and President of the People's Republic of China are appointed by min number of institutions and forms of government
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action argmin
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?o WHERE { { ?o property:appointed_by ?u . ?o rdf:type ontology:occupation . ?u rdf:type ontology:institution } UNION { ?o property:appointed_by ?u . ?u rdf:type ontology:form_of_government . ?o rdf:type ontology:occupation } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?l WHERE { { ?l property:appointed_by ?v . ?v rdf:type ontology:institution . ?l rdf:type ontology:occupation } UNION { ?l property:appointed_by ?v . ?l rdf:type ontology:occupation . ?v rdf:type ontology:form_of_government } } GROUP BY ?l } . FILTER ( ?w = ?k ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q687075 Q1749063 Q655407
P17
Q15617994
USER
Which administrative territories are those occupations situated in ?
(Q687075,P17,c(Q15617994)) (Q1749063,P17,c(Q15617994)) (Q655407,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q687075', 'P17', {'concept': 'Q15617994'}] ['Q1749063', 'P17', {'concept': 'Q15617994'}] ['Q655407', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?v property:P17 ?w . VALUES ( ?v ) { ( resource:Q15934457 ) ( resource:Q7643465 ) ( resource:Q27650845 ) } . ?w rdf:type ontology:Q15617994 }
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Prime Minister of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister for Foreign Affairs of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}] ["President of the People's Republic of China", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?v property:country ?w . VALUES ( ?v ) { ( resource:Minister_of_Transport ) ( resource:Superintendent_of_Finance_of_the_United_States ) ( resource:member_of_the_Provincial_Executive_of_Utrecht ) } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34 Q34 Q148
SYSTEM
People's Republic of China for 3rd, Sweden for 1st, 2nd
Q34 Q34 Q148
(Q687075,P17,c(Q15617994)) (Q1749063,P17,c(Q15617994)) (Q655407,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q687075', 'P17', {'concept': 'Q15617994'}] ['Q1749063', 'P17', {'concept': 'Q15617994'}] ['Q655407', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?v property:P17 ?w . VALUES ( ?v ) { ( resource:Q15934457 ) ( resource:Q7643465 ) ( resource:Q27650845 ) } . ?w rdf:type ontology:Q15617994 }
Sweden Sweden People's Republic of China
Those occupations are situated in Sweden, Sweden and People's Republic of China
Sweden Sweden People's Republic of China
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Prime Minister of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister for Foreign Affairs of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}] ["President of the People's Republic of China", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?v property:country ?w . VALUES ( ?v ) { ( resource:Minister_of_Transport ) ( resource:Superintendent_of_Finance_of_the_United_States ) ( resource:member_of_the_Provincial_Executive_of_Utrecht ) } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P127
Q811979
USER
Which architectural structures are under posessision of People's Republic of China ?
(c(Q811979),P127,Q148)
action filter_type
action find_reverse
entity Q148
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q148']
SELECT DISTINCT ?n WHERE { ?n property:P127 resource:Q148 . ?n rdf:type ontology:Q811979 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', "People's Republic of China"]
SELECT DISTINCT ?n WHERE { ?n property:owned_by resource:People's_Republic_of_China . ?n rdf:type ontology:architectural_structure }
[]
architectural structure
Q18346044 Q376606
SYSTEM
Chaonei No. 81, Laoshan Velodrome
Q18346044 Q376606
(c(Q811979),P127,Q148)
action filter_type
action find_reverse
entity Q148
relation P127
type Q811979
[ANSWERS] are under posessision of People's Republic of China
[{'concept': 'Q811979'}, 'P127', 'Q148']
SELECT DISTINCT ?n WHERE { ?n property:P127 resource:Q148 . ?n rdf:type ontology:Q811979 }
Chaonei No. 81 Laoshan Velodrome
Chaonei No. 81 and Laoshan Velodrome are under posessision of People's Republic of China
Chaonei No. 81 Laoshan Velodrome
action filter_type
action find_reverse
entity People's Republic of China
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', "People's Republic of China"]
SELECT DISTINCT ?n WHERE { ?n property:owned_by resource:People's_Republic_of_China . ?n rdf:type ontology:architectural_structure }
[]
Clarification
Simple Question|Single Entity|Indirect
Q376606
P641
Q349
USER
Which sport was that architectural structure a part of ?
(Q376606,P641,c(Q349))
action filter_type
action find
entity Q376606
relation P641
type Q349
['Q376606', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q376606 property:P641 ?p . ?p rdf:type ontology:Q349 }
Laoshan Velodrome
action filter_type
action find
entity Laoshan Velodrome
relation sport
type sport
['Laoshan Velodrome', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Laoshan_Velodrome property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q376606
SYSTEM
Did you mean Laoshan Velodrome ?
Q18346044 Q376606
(Q18346044,P641,c(Q349)) (Q376606,P641,c(Q349))
[ANSWER]
['Q18346044', 'P641', {'concept': 'Q349'}] ['Q376606', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q376606 property:P641 ?p . ?p rdf:type ontology:Q349 }
Chaonei No. 81 Laoshan Velodrome
Did you mean Laoshan Velodrome ?
Laoshan Velodrome
['Chaonei No. 81', 'sport', {'concept': 'sport'}] ['Laoshan Velodrome', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Laoshan_Velodrome property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
Yes
(Q376606,P641,c(Q349))
['Q376606', 'P641', {'concept': 'Q349'}]
['Laoshan Velodrome', 'sport', {'concept': 'sport'}]
[]
Q2215841
SYSTEM
cycle sport
Q2215841
(Q376606,P641,c(Q349))
action filter_type
action find
entity Q376606
relation P641
type Q349
[ANSWER] was that architectural structure a part of
['Q376606', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q376606 property:P641 ?p . ?p rdf:type ontology:Q349 }
cycle sport
Cycle sport was that architectural structure a part of
cycle sport
action filter_type
action find
entity Laoshan Velodrome
relation sport
type sport
['Laoshan Velodrome', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Laoshan_Velodrome property:sport ?p . ?p rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2215841 Q6483441
P641
Q502895
USER
Is Lance Kinzer associated with playing that sport ?
(Q6483441,P641,Q2215841)
action is_in
entity Q6483441
action find
entity Q2215841
relation P641
['Q6483441', 'P641', 'Q2215841']
ASK WHERE { resource:Q2215841 property:P641 resource:Q6483441 }
cycle sport Lance Kinzer
action is_in
entity Lance Kinzer
action find
entity cycle sport
relation sport
['Lance Kinzer', 'sport', 'cycle sport']
ASK WHERE { resource:cycle_sport property:sport resource:Lance_Kinzer }
[]
common name
SYSTEM
NO
(Q6483441,P641,Q2215841)
action is_in
entity Q6483441
action find
entity Q2215841
relation P641
[ANSWER]
['Q6483441', 'P641', 'Q2215841']
ASK WHERE { resource:Q2215841 property:P641 resource:Q6483441 }
No
action is_in
entity Lance Kinzer
action find
entity cycle sport
relation sport
['Lance Kinzer', 'sport', 'cycle sport']
ASK WHERE { resource:cycle_sport property:sport resource:Lance_Kinzer }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2215841
P361
Q878123
USER
What is a part of that sport ?
action filter_type
action find_reverse
entity Q2215841
relation P361
type Q878123
SELECT DISTINCT ?w WHERE { ?w property:P361 resource:Q2215841 . ?w rdf:type ontology:Q878123 }
cycle sport
action filter_type
action find_reverse
entity cycle sport
relation part of
type racing
SELECT DISTINCT ?w WHERE { ?w property:part_of resource:cycle_sport . ?w rdf:type ontology:racing }
[]
racing
Q1498024
SYSTEM
criterium
Q1498024
action filter_type
action find_reverse
entity Q2215841
relation P361
type Q878123
A part of that sport is the [ANSWER]
SELECT DISTINCT ?w WHERE { ?w property:P361 resource:Q2215841 . ?w rdf:type ontology:Q878123 }
criterium
A part of that sport is the criterium
criterium
action filter_type
action find_reverse
entity cycle sport
relation part of
type racing
SELECT DISTINCT ?w WHERE { ?w property:part_of resource:cycle_sport . ?w rdf:type ontology:racing }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q13539802 Q878123
USER
How many places with town privileges do the journey end for approximately 1 racing ?
(c(Q878123),P1444,c(Q13539802))
action count
action approx
action find_reverse_tuple_counts
relation P1444
type Q13539802
type Q878123
value 1
[{'concept': 'Q878123'}, 'P1444', {'concept': 'Q13539802'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P1444 ?k . ?k rdf:type ontology:Q13539802 . ?s rdf:type ontology:Q878123 } GROUP BY ?k } }
action count
action approx
action find_reverse_tuple_counts
relation destination point
type place with town rights and privileges
type racing
value 1
[{'concept': 'racing'}, 'destination point', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:destination_point ?k . ?k rdf:type ontology:place_with_town_rights_and_privileges . ?s rdf:type ontology:racing } GROUP BY ?k } }
[]
place with town rights and privileges racing
SYSTEM
4
Q194037 Q173219 Q152748 Q220145
(c(Q878123),P1444,c(Q13539802))
action count
action approx
action find_reverse_tuple_counts
relation P1444
type Q13539802
type Q878123
value 1
[ANSWER]
[{'concept': 'Q878123'}, 'P1444', {'concept': 'Q13539802'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P1444 ?k . ?k rdf:type ontology:Q13539802 . ?s rdf:type ontology:Q878123 } GROUP BY ?k } }
Seraing Tournai Sankt Vith Mouscron
4
action count
action approx
action find_reverse_tuple_counts
relation destination point
type place with town rights and privileges
type racing
value 1
[{'concept': 'racing'}, 'destination point', {'concept': 'place with town rights and privileges'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:destination_point ?k . ?k rdf:type ontology:place_with_town_rights_and_privileges . ?s rdf:type ontology:racing } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q206763
P366
Q349 Q8205328 Q6671777
USER
How many sports are considered as the main functionality of more number of artefacts or structures than floorball ?
(c(Q8205328)|c(Q6671777),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q8205328
type Q6671777
[[{'concept': 'Q8205328'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P366 resource:Q206763 . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:Q8205328 ) ( ontology:Q6671777 ) } } } } . FILTER ( ?i > ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?i ) WHERE { { ?z property:P366 ?n . ?n rdf:type ontology:Q349 . ?z rdf:type ontology:Q8205328 } UNION { ?z property:P366 ?n . ?n rdf:type ontology:Q349 . ?z rdf:type ontology:Q6671777 } } GROUP BY ?n } }
floorball
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type artefact
type structure
[[{'concept': 'artefact'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:use resource:floorball . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:artefact ) ( ontology:structure ) } } } } . FILTER ( ?i > ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?i ) WHERE { { ?z property:use ?n . ?n rdf:type ontology:sport . ?z rdf:type ontology:artefact } UNION { ?z property:use ?n . ?n rdf:type ontology:sport . ?z rdf:type ontology:structure } } GROUP BY ?n } }
[]
sport artefact structure
SYSTEM
4
Q14300548 Q36908 Q108429 Q22857
(c(Q8205328)|c(Q6671777),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action count
action filter_multi_types
action find_reverse
entity Q206763
relation P366
type Q8205328
type Q6671777
[ANSWER]
[[{'concept': 'Q8205328'}, {'concept': 'Q6671777'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P366 resource:Q206763 . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:Q8205328 ) ( ontology:Q6671777 ) } } } } . FILTER ( ?i > ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?i ) WHERE { { ?z property:P366 ?n . ?n rdf:type ontology:Q349 . ?z rdf:type ontology:Q8205328 } UNION { ?z property:P366 ?n . ?n rdf:type ontology:Q349 . ?z rdf:type ontology:Q6671777 } } GROUP BY ?n } }
skating mountaineering archery climbing
4
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type structure
action count
action filter_multi_types
action find_reverse
entity floorball
relation use
type artefact
type structure
[[{'concept': 'artefact'}, {'concept': 'structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:use resource:floorball . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:artefact ) ( ontology:structure ) } } } } . FILTER ( ?i > ?h ) . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?i ) WHERE { { ?z property:use ?n . ?n rdf:type ontology:sport . ?z rdf:type ontology:artefact } UNION { ?z property:use ?n . ?n rdf:type ontology:sport . ?z rdf:type ontology:structure } } GROUP BY ?n } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18963050 Q18346044
P17
Q15617994
USER
Which administrative territories are Chaonei No. 81 or Bosdijk a part of ?
OR((Q18346044,P17,c(Q15617994)), (Q18963050,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18346044
relation P17
action find
entity Q18963050
relation P17
type Q15617994
{'OR': [['Q18346044', 'P17', {'concept': 'Q15617994'}], ['Q18963050', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { VALUES ( ?d ) { ( resource:Q18346044 ) ( resource:Q18963050 ) } . ?d property:P17 ?a } }
Bosdijk Chaonei No. 81
action filter_type
action union
action find
entity Chaonei No. 81
relation country
action find
entity Bosdijk
relation country
type designation for an administrative territorial entity
{'OR': [['Chaonei No. 81', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bosdijk', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?d ) { ( resource:Chaonei_No._81 ) ( resource:Bosdijk ) } . ?d property:country ?a } }
[]
designation for an administrative territorial entity
Q148 Q55
SYSTEM
People's Republic of China, Netherlands
Q148 Q55
OR((Q18346044,P17,c(Q15617994)), (Q18963050,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18346044
relation P17
action find
entity Q18963050
relation P17
type Q15617994
[ANSWERS] are Chaonei No. 81 or Bosdijk a part of
{'OR': [['Q18346044', 'P17', {'concept': 'Q15617994'}], ['Q18963050', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { VALUES ( ?d ) { ( resource:Q18346044 ) ( resource:Q18963050 ) } . ?d property:P17 ?a } }
People's Republic of China Netherlands
People's Republic of China and Netherlands are Chaonei No. 81 or Bosdijk a part of
People's Republic of China Netherlands
action filter_type
action union
action find
entity Chaonei No. 81
relation country
action find
entity Bosdijk
relation country
type designation for an administrative territorial entity
{'OR': [['Chaonei No. 81', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bosdijk', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?d ) { ( resource:Chaonei_No._81 ) ( resource:Bosdijk ) } . ?d property:country ?a } }
[]