Simple Question (Direct)
Simple Question
Q4761362
P106
Q12737077
USER
What does Andy Straden do for a living ?
(Q4761362,P106,c(Q12737077))
action filter_type
action find
entity Q4761362
relation P106
type Q12737077
['Q4761362', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4761362 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Andy Straden
action filter_type
action find
entity Andy Straden
relation occupation
type occupation
['Andy Straden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Andy_Straden property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4761362,P106,c(Q12737077))
action filter_type
action find
entity Q4761362
relation P106
type Q12737077
Andy Straden does an [ANSWER] for a living
['Q4761362', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4761362 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
Andy Straden does an association football player for a living
association football player
action filter_type
action find
entity Andy Straden
relation occupation
type occupation
['Andy Straden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Andy_Straden property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4761362
P21
Q290
USER
What is the sex of that person ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q4761362
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q4761362 property:P21 ?l . ?l rdf:type ontology:Q290 }
Andy Straden
action filter_type
action find
entity Andy Straden
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Andy_Straden property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q4761362
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q4761362 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Andy Straden
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Andy_Straden property:gender ?l . ?l rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q895526 Q502895 Q12737077
USER
How many occupations did atmost 6 authority organs or people appoint ?
(c(Q12737077),P748,c(Q895526)|c(Q502895))
action count
action atmost
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 6
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?o WHERE { VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q895526 ) } . ?y rdf:type ?v } GROUP BY ?o } . FILTER ( ?m <= 6 ) }
action count
action atmost
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type common name
value 6
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?o WHERE { VALUES ( ?v ) { ( ontology:common_name ) ( ontology:authority_organ ) } . ?y rdf:type ?v } GROUP BY ?o } . FILTER ( ?m <= 6 ) }
[]
authority organ common name occupation
SYSTEM
317
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 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 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q890030 Q27516521 Q1161813 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 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 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 Q213107 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 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 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q502895))
action count
action atmost
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 6
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?o WHERE { VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q895526 ) } . ?y rdf:type ?v } GROUP BY ?o } . FILTER ( ?m <= 6 ) }
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 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 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 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 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 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 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 Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria 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 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 Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs 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 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 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 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
317
action count
action atmost
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type common name
value 6
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?o WHERE { VALUES ( ?v ) { ( ontology:common_name ) ( ontology:authority_organ ) } . ?y rdf:type ?v } GROUP BY ?o } . FILTER ( ?m <= 6 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q5672481 Q4761362
P54
Q1194951
USER
Which national sports teams are Andy Straden and Harry Smith a member of ?
AND((Q4761362,P54,c(Q1194951)), (Q5672481,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q4761362
relation P54
action find
entity Q5672481
relation P54
type Q1194951
{'AND': [['Q4761362', 'P54', {'concept': 'Q1194951'}], ['Q5672481', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?x WHERE { resource:Q4761362 property:P54 ?x . resource:Q5672481 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Harry Smith Andy Straden
action filter_type
action intersection
action find
entity Andy Straden
relation member of sports team
action find
entity Harry Smith
relation member of sports team
type national sports team
{'AND': [['Andy Straden', 'member of sports team', {'concept': 'national sports team'}], ['Harry Smith', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?x WHERE { resource:Andy_Straden property:member_of_sports_team ?x . resource:Harry_Smith property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Q164134
SYSTEM
United States men's national soccer team
Q164134
AND((Q4761362,P54,c(Q1194951)), (Q5672481,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q4761362
relation P54
action find
entity Q5672481
relation P54
type Q1194951
The [ANSWER] is Andy Straden and Harry Smith a member of
{'AND': [['Q4761362', 'P54', {'concept': 'Q1194951'}], ['Q5672481', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?x WHERE { resource:Q4761362 property:P54 ?x . resource:Q5672481 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
United States men's national soccer team
The United States men's national soccer team is Andy Straden and Harry Smith a member of
United States men's national soccer team
action filter_type
action intersection
action find
entity Andy Straden
relation member of sports team
action find
entity Harry Smith
relation member of sports team
type national sports team
{'AND': [['Andy Straden', 'member of sports team', {'concept': 'national sports team'}], ['Harry Smith', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?x WHERE { resource:Andy_Straden property:member_of_sports_team ?x . resource:Harry_Smith property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q164134
P1344
Q16510064
USER
Which sporting event did that national sports team take part in ?
(Q164134,P1344,c(Q16510064))
action filter_type
action find
entity Q164134
relation P1344
type Q16510064
['Q164134', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q16510064 . resource:Q164134 property:P1344 ?k }
United States men's national soccer team
action filter_type
action find
entity United States men's national soccer team
relation participant of
type sporting event
["United States men's national soccer team", 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sporting_event . resource:United_States_men's_national_soccer_team property:participant_of ?k }
[]
sporting event
Q159181
SYSTEM
football at the 1972 Summer Olympics
Q159181
(Q164134,P1344,c(Q16510064))
action filter_type
action find
entity Q164134
relation P1344
type Q16510064
That national sports team took in part in [ANSWER]
['Q164134', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q16510064 . resource:Q164134 property:P1344 ?k }
football at the 1972 Summer Olympics
That national sports team took in part in football at the 1972 Summer Olympics
football at the 1972 Summer Olympics
action filter_type
action find
entity United States men's national soccer team
relation participant of
type sporting event
["United States men's national soccer team", 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sporting_event . resource:United_States_men's_national_soccer_team property:participant_of ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q159181 Q2981624 Q5930330
P641
Q349
USER
Is football at the 1972 Summer Olympics involved in playing Codeball and Ultimate Tazer Ball ?
(Q159181,P641,Q2981624) (Q159181,P641,Q5930330)
action is_in
entity Q159181
action intersection
action find_reverse
entity Q2981624
relation P641
action find_reverse
entity Q5930330
relation P641
['Q159181', 'P641', 'Q2981624'] ['Q159181', 'P641', 'Q5930330']
ASK WHERE { resource:Q159181 property:P641 resource:Q2981624 . resource:Q159181 property:P641 resource:Q5930330 }
football at the 1972 Summer Olympics Codeball Ultimate Tazer Ball
action is_in
entity football at the 1972 Summer Olympics
action intersection
action find_reverse
entity Codeball
relation sport
action find_reverse
entity Ultimate Tazer Ball
relation sport
['football at the 1972 Summer Olympics', 'sport', 'Codeball'] ['football at the 1972 Summer Olympics', 'sport', 'Ultimate Tazer Ball']
ASK WHERE { resource:football_at_the_1972_Summer_Olympics property:sport resource:Codeball . resource:football_at_the_1972_Summer_Olympics property:sport resource:Ultimate_Tazer_Ball }
[]
sport
SYSTEM
NO
(Q159181,P641,Q2981624) (Q159181,P641,Q5930330)
action is_in
entity Q159181
action intersection
action find_reverse
entity Q2981624
relation P641
action find_reverse
entity Q5930330
relation P641
[ANSWER]
['Q159181', 'P641', 'Q2981624'] ['Q159181', 'P641', 'Q5930330']
ASK WHERE { resource:Q159181 property:P641 resource:Q2981624 . resource:Q159181 property:P641 resource:Q5930330 }
No
action is_in
entity football at the 1972 Summer Olympics
action intersection
action find_reverse
entity Codeball
relation sport
action find_reverse
entity Ultimate Tazer Ball
relation sport
['football at the 1972 Summer Olympics', 'sport', 'Codeball'] ['football at the 1972 Summer Olympics', 'sport', 'Ultimate Tazer Ball']
ASK WHERE { resource:football_at_the_1972_Summer_Olympics property:sport resource:Codeball . resource:football_at_the_1972_Summer_Olympics property:sport resource:Ultimate_Tazer_Ball }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q937857 Q2736 Q2348250
P425
Q349
USER
Does association football and team time trial belong to association football player ?
(Q937857,P425,Q2736) (Q937857,P425,Q2348250)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q2348250
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q2348250']
ASK WHERE { resource:Q937857 property:P425 resource:Q2348250 . resource:Q937857 property:P425 resource:Q2736 }
association football player association football team time trial
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity team time trial
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'team time trial']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:team_time_trial . resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q2348250)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q2348250
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q2348250']
ASK WHERE { resource:Q937857 property:P425 resource:Q2348250 . resource:Q937857 property:P425 resource:Q2736 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity team time trial
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'team time trial']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:team_time_trial . resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159181
P1346
Q6979593
USER
Which national association football team was the champion of football at the 1972 Summer Olympics ?
(Q159181,P1346,c(Q6979593))
action filter_type
action find
entity Q159181
relation P1346
type Q6979593
['Q159181', 'P1346', {'concept': 'Q6979593'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q6979593 . resource:Q159181 property:P1346 ?r }
football at the 1972 Summer Olympics
action filter_type
action find
entity football at the 1972 Summer Olympics
relation winner
type national association football team
['football at the 1972 Summer Olympics', 'winner', {'concept': 'national association football team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:national_association_football_team . resource:football_at_the_1972_Summer_Olympics property:winner ?r }
[]
national association football team
Q3073431
SYSTEM
Poland Olympic football team
Q3073431
(Q159181,P1346,c(Q6979593))
action filter_type
action find
entity Q159181
relation P1346
type Q6979593
[ANSWER] was the champion of football at the 1972 Summer Olympics
['Q159181', 'P1346', {'concept': 'Q6979593'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q6979593 . resource:Q159181 property:P1346 ?r }
Poland Olympic football team
Poland Olympic football team was the champion of football at the 1972 Summer Olympics
Poland Olympic football team
action filter_type
action find
entity football at the 1972 Summer Olympics
relation winner
type national association football team
['football at the 1972 Summer Olympics', 'winner', {'concept': 'national association football team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:national_association_football_team . resource:football_at_the_1972_Summer_Olympics property:winner ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3073431
P1532
Q15617994
USER
Which administrative territory did that national association football team play for ?
(Q3073431,P1532,c(Q15617994))
action filter_type
action find
entity Q3073431
relation P1532
type Q15617994
['Q3073431', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3073431 property:P1532 ?l . ?l rdf:type ontology:Q15617994 }
Poland Olympic football team
action filter_type
action find
entity Poland Olympic football team
relation country for sport
type designation for an administrative territorial entity
['Poland Olympic football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Poland_Olympic_football_team property:country_for_sport ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q3073431,P1532,c(Q15617994))
action filter_type
action find
entity Q3073431
relation P1532
type Q15617994
That national association football team played in [ANSWER]
['Q3073431', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3073431 property:P1532 ?l . ?l rdf:type ontology:Q15617994 }
Poland
That national association football team played in Poland
Poland
action filter_type
action find
entity Poland Olympic football team
relation country for sport
type designation for an administrative territorial entity
['Poland Olympic football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Poland_Olympic_football_team property:country_for_sport ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36 Q7944971
P27
Q502895
USER
Is Jacek Jarosz a native of that administrative territory ?
(Q7944971,P27,Q36)
action is_in
entity Q36
action find
entity Q7944971
relation P27
['Q7944971', 'P27', 'Q36']
ASK WHERE { resource:Q7944971 property:P27 resource:Q36 }
Poland Jacek Jarosz
action is_in
entity Poland
action find
entity Jacek Jarosz
relation country of citizenship
['Jacek Jarosz', 'country of citizenship', 'Poland']
ASK WHERE { resource:Jacek_Jarosz property:country_of_citizenship resource:Poland }
[]
common name
SYSTEM
YES
(Q7944971,P27,Q36)
action is_in
entity Q36
action find
entity Q7944971
relation P27
[ANSWER]
['Q7944971', 'P27', 'Q36']
ASK WHERE { resource:Q7944971 property:P27 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Jacek Jarosz
relation country of citizenship
['Jacek Jarosz', 'country of citizenship', 'Poland']
ASK WHERE { resource:Jacek_Jarosz property:country_of_citizenship resource:Poland }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12642
P1376
Q15617994 Q515 Q56061
USER
How many administrative territories have greater number of cities or administrative territories as their capital than Morbihan ?
(c(Q515)|c(Q56061),P1376,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q12642
relation P1376
type Q515
type Q56061
[[{'concept': 'Q515'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?x WHERE { VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?s rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P1376 resource:Q12642 . { { ?e rdf:type ontology:Q515 } UNION { ?e rdf:type ontology:Q56061 } } } } . FILTER ( ?m > ?i ) }
Morbihan
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Morbihan
relation capital of
type city
type administrative territorial entity
[[{'concept': 'city'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?x WHERE { VALUES ( ?n ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?s rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:capital_of resource:Morbihan . { { ?e rdf:type ontology:city } UNION { ?e rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?m > ?i ) }
[]
designation for an administrative territorial entity city administrative territorial entity
SYSTEM
399
Q805 Q804 Q801 Q800 Q1098820 Q419 Q414 Q55 Q783 Q784 Q786 Q568833 Q1452650 Q2998020 Q252 Q399 Q398 Q258 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q1974 Q611074 Q2007299 Q1254171 Q220249 Q979470 Q1270648 Q1899307 Q30675 Q983 Q730 Q734 Q736 Q1280 Q1282 Q1338277 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q1390630 Q1452 Q815731 Q31074 Q31075 Q96 Q1050 Q311803 Q298 Q29937 Q115 Q114 Q117 Q30786 Q1270638 Q1788988 Q1544445 Q466061 Q1515346 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q34020 Q760 Q14762300 Q696651 Q3528124 Q2719360 Q948 Q1243 Q945 Q639100 Q855327 Q328134 Q1237 Q701 Q702 Q968630 Q705 Q707 Q4450475 Q668 Q1093 Q1090684 Q1263830 Q833 Q3509886 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q1232680 Q889 Q884 Q881 Q231168 Q241 Q1965 Q242 Q1437719 Q1244497 Q29965 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q302479 Q541095 Q2567535 Q3068 Q3389 Q30644 Q236 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q129003 Q1101 Q1206596 Q3139 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q694 Q695 Q754 Q752 Q750 Q2562901 Q31068 Q31067 Q31065 Q1773268 Q30835 Q30831 Q574 Q1558632 Q191 Q79 Q77 Q199688 Q878 Q46130 Q3044651 Q3044714 Q3044715 Q30682 Q30683 Q1951 Q2091235 Q2006764 Q1952 Q669802 Q753795 Q1256 Q1250 Q452565 Q3305157 Q684030 Q2567507 Q3044623 Q651394 Q30946 Q3044781 Q712 Q711 Q710 Q717 Q3044777 Q12770 Q657 Q1789890 Q12538 Q954 Q1393469 Q953 Q2001966 Q1886098 Q958 Q986 Q219 Q957825 Q826 Q822 Q689837 Q1142326 Q153136 Q2621010 Q1974486 Q153091 Q693658 Q1508927 Q1948 Q654849 Q2038939 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q227 Q225 Q30650 Q223 Q222 Q221 Q47261 Q311668 Q229 Q228 Q1410315 Q1989 Q60011 Q967 Q963 Q2921370 Q2921378 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q2380910 Q1438 Q686 Q30832 Q891165 Q817 Q810 Q811 Q813 Q18046648 Q819 Q29 Q617646 Q72670 Q12545 Q2309262 Q863 Q2023 Q869 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q2009 Q12820 Q265 Q3342 Q842 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2003 Q3240 Q2662372 Q686924 Q517333 Q30669 Q30662 Q4628 Q455705 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1447 Q2360428 Q30656 Q12717 Q1045 Q1044 Q1042 Q1041 Q31070 Q3336 Q30797 Q1904 Q347 Q3462133 Q30815 Q17 Q153402 Q3207 Q894973 Q894972 Q894971 Q894970 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q244 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q4464271 Q2502354 Q30630 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q678 Q8575586 Q1579364 Q31079 Q2629692 Q549746 Q695660
(c(Q515)|c(Q56061),P1376,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q12642
relation P1376
type Q515
type Q56061
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?x WHERE { VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?s rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P1376 resource:Q12642 . { { ?e rdf:type ontology:Q515 } UNION { ?e rdf:type ontology:Q56061 } } } } . FILTER ( ?m > ?i ) }
Yemen Panama Israel Costa Rica Gênes Peru Argentina Netherlands Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Corse Indonesia Armenia Bahrain South Africa Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde British Columbia Mopani District Municipality OR Tambo District Municipality Dr Ruth Segomotsi Mompati District Municipality Eden District Municipality Seine-et-Oise Sieg Overberg District Municipality Minya Governorate Equatorial Guinea Suriname Guyana Ecuador Umbria Lazio Sambre-et-Meuse John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Ourthe Basilicata Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Swaziland Umgungundlovu District Municipality Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Rhine Trasimène Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Samoa Principality of Wales Province of Brescia Isère Ruhr Niue Saint Lucia single-tier municipality Saxe-Eisenach Tibre Duchy of Luxembourg Tunisia Veneto Togo Principality of Reuss-Gera Kouilou Department 6th of October Governorate Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Talitsky District India Limburg Montserrat Frances Baard District Municipality Malaysia Sègre-Ter Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Portugal Turkey Greece El Salvador Haiti Iraq Iran Ithaque Afghanistan South Korea Vietnam Zuyderzée Cuba New Brunswick Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Asyut Governorate Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Ems-Occidental Rhin-et-Moselle Pô Loire-Atlantique Finistère Damietta Governorate Montenegro Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine French Southern and Antarctic Lands North Brabant Deux-Nèthes Alpes-Maritimes Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe South Holland Palau Trinidad and Tobago Groningen Bolivia West Coast District Municipality Dakahlia Governorate Ismailia Governorate Qena Governorate ZF Mgcawu District Municipality Gharbia Governorate Red Sea Governorate East Timor Rome Estonia Egypt Uruguay Almohad United Arab Emirates Rhône Louverture Ouest Ozama Matrouh Governorate Beni Suef Governorate Alberta Ugu District Municipality Xhariep District Municipality Nova Scotia Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Mella Principality of Serbia Arno Cibao Ramensky District Kafr el-Sheikh Governorate Sud Fiji Mongolia Kiribati Venezuela Nord Somme Chad West Rand District Municipality Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Pixley ka Seme District Municipality South Sudan Eritrea Bulgaria Yssel-Supérieur Maldives Lebanon Spanish Sahara Seine Habsburg Empire Principality of Vitebsk Cape Winelands District Municipality Duchy of Prussia Izabal Department Méditerranée Manitoba Joe Gqabi District Municipality Sedibeng District Municipality iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Albania Republic of Macedonia Duchy of Bavaria UThungulu District Municipality Cyprus Andorra Fezile Dabi District Municipality Saskatchewan Kars Oblast Burundi Botswana Bouches-de-l'Èbre-Montserrat Bouches-de-l'Èbre Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Duchy of Zaslawye Campania Vanuatu Giza Governorate Bojanala Platinum District Municipality Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Spain Namakwa District Municipality Batumi Oblast Hérault Zululand District Municipality Tajikistan Nunavut Thailand Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Yukon Yvelines Uzbekistan Côte-d'Or Oman Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Mer-Égée Principality of Polotsk Sohag Governorate North Sinai Governorate Faroe Islands Amathole District Municipality Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Apulia Tijuana Municipality Faiyum Governorate Bas-Rhin Somalia Sierra Leone Seychelles Senegal Suez Governorate Corse-du-Sud Luxor Governorate Ontario Liechtenstein Saxe-Coburg and Gotha South Sinai Governorate Japan Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Bouches-de-la-Meuse Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Barbados Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Principality of Trubetsk Principality of Goroden Beheira Governorate Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Tonga Umayyad Caliphate Lys Port Said Governorate Simferopol municipality Sisonke District Municipality Guatemala Department
399
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Morbihan
relation capital of
type city
type administrative territorial entity
[[{'concept': 'city'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?x WHERE { VALUES ( ?n ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?s rdf:type ?n } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:capital_of resource:Morbihan . { { ?e rdf:type ontology:city } UNION { ?e rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?m > ?i ) }
[]