Simple Question (Direct)
Simple Question
Q10556697
P641
Q349
USER
What did Branco Cardozo participate in ?
(Q10556697,P641,c(Q349))
action filter_type
action find
entity Q10556697
relation P641
type Q349
['Q10556697', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q10556697 property:P641 ?c . ?c rdf:type ontology:Q349 }
Branco Cardozo
action filter_type
action find
entity Branco Cardozo
relation sport
type sport
['Branco Cardozo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Branco_Cardozo property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10556697,P641,c(Q349))
action filter_type
action find
entity Q10556697
relation P641
type Q349
Branco Cardozo participated in [ANSWER]
['Q10556697', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q10556697 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Branco Cardozo participated in association football
association football
action filter_type
action find
entity Branco Cardozo
relation sport
type sport
['Branco Cardozo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Branco_Cardozo property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10556697
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q10556697
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q10556697 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Branco Cardozo
action filter_type
action find
entity Branco Cardozo
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Branco_Cardozo property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q10556697
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q10556697 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Branco Cardozo
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Branco_Cardozo property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10556697
P21
Q290
USER
Which sex does Branco Cardozo have ?
(Q10556697,P21,c(Q290))
action filter_type
action find
entity Q10556697
relation P21
type Q290
['Q10556697', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q10556697 property:P21 ?x }
Branco Cardozo
action filter_type
action find
entity Branco Cardozo
relation gender
type sex
['Branco Cardozo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Branco_Cardozo property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10556697,P21,c(Q290))
action filter_type
action find
entity Q10556697
relation P21
type Q290
Branco Cardozo has a [ANSWER]
['Q10556697', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q10556697 property:P21 ?x }
male
Branco Cardozo has a male
male
action filter_type
action find
entity Branco Cardozo
relation gender
type sex
['Branco Cardozo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Branco_Cardozo property:gender ?x }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P748
Q895526 Q12737077 Q12737077
USER
Which occupations were appointed by min number of authority organs and occupations ?
(c(Q12737077),P748,c(Q895526)|c(Q12737077))
action argmin
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?i ) WHERE { { ?f property:P748 ?k . ?k rdf:type ontology:Q895526 . ?f rdf:type ontology:Q12737077 } UNION { ?f property:P748 ?k . ?f rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q12737077 } } GROUP BY ?f } } . { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?r ) WHERE { VALUES ( ?c ) { ( ontology:Q895526 ) ( ontology:Q12737077 ) } . ?n rdf:type ?c } GROUP BY ?e } . FILTER ( ?r = ?j ) }
action argmin
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?i ) WHERE { { ?f property:appointed_by ?k . ?k rdf:type ontology:authority_organ . ?f rdf:type ontology:occupation } UNION { ?f property:appointed_by ?k . ?f rdf:type ontology:occupation . ?k rdf:type ontology:occupation } } GROUP BY ?f } } . { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?r ) WHERE { VALUES ( ?c ) { ( ontology:authority_organ ) ( ontology:occupation ) } . ?n rdf:type ?c } GROUP BY ?e } . FILTER ( ?r = ?j ) }
[]
authority organ occupation occupation
Q655407 Q22955080 Q81066
SYSTEM
President of the People's Republic of China, president of FIFA, United Nations Secretary-General
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q191954 Q1846384 Q11793630 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q1507619 Q376006 Q21013169 Q26209348 Q39021 Q20867494 Q740126 Q21013163 Q14984399 Q7241304 Q910308 Q1753754 Q2484309 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q20891385 Q796593 Q6865833 Q2660943 Q20172329 Q531471 Q21384866 Q596123 Q20194364 Q1476165 Q2914452 Q2636053 Q464103 Q3058109 Q3858507 Q1124265 Q273884 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2390270 Q13527933 Q583809 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q475658 Q7574264 Q182762 Q20859386 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q8882 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q5096847 Q4818607 Q152814 Q26000995 Q3409203 Q213107 Q195965 Q327948 Q19364214 Q1753094 Q1975365 Q609884 Q2741486 Q3315112 Q1123764 Q2708520 Q22955080 Q7240368 Q3297079 Q6865995 Q319145 Q3111221 Q29558 Q1044136 Q4122271 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q3315134 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q20748654 Q19328451 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q735587 Q592866 Q1281611 Q81066 Q26721218 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q25860233 Q1072341
(c(Q12737077),P748,c(Q895526)|c(Q12737077))
action argmin
action union
action find_tuple_counts
relation P748
type Q12737077
type Q895526
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
[ANSWERS] were appointed by min number of authority organs and occupations
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q895526'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?i ) WHERE { { ?f property:P748 ?k . ?k rdf:type ontology:Q895526 . ?f rdf:type ontology:Q12737077 } UNION { ?f property:P748 ?k . ?f rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q12737077 } } GROUP BY ?f } } . { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?r ) WHERE { VALUES ( ?c ) { ( ontology:Q895526 ) ( ontology:Q12737077 ) } . ?n rdf:type ?c } GROUP BY ?e } . FILTER ( ?r = ?j ) }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven President of the French Republic Secretary of State for Wales governor of national banks of Serbia and Yugoslavia King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan Deputy Prime Minister of the United Kingdom Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore Mayor of Gorinchem President of the European Parliament Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Lord Privy Seal Master of the Rolls Secretary of State for the Home Department Leader of the House of Lords Mayor of Eindhoven President pro tempore of the United States Senate Mayor of Rotterdam Secretary of State for Work and Pensions Secretary of State for International Development Lord President of the Council Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport 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 King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs Mayor of Hoogland Chancellor of the Exchequer municipal executive of Rotterdam president of Bangladesh municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Leader of the House of Commons Speaker of the House of Commons Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy List of Presidents of the Basque Autonomous Community President of South Africa Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of the Bahamas Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Prime Minister of Malaysia President of Austria Speaker of the Hellenic Parliament Prime Minister of Algeria Mayor of Mierlo Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco President of the European Commission municipal executive of Gorinchem Paymaster General Secretary of State for Health Cathaoirleach King's or Queen's Commissioner 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 President of Iran Chief Minister Attorney-General of Australia Prime Minister of Malta President of the Parliament of Catalonia President of Greece Prime Minister of Belgium Governor of Gibraltar President of Israel President of Somalia United States Postmaster General Prime Minister of Georgia First Lord of the Treasury Chief Executive of Hong Kong Minister for Defence Prime Minister of Armenia Chairman of the Communist Party of China president of FIFA Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Commonwealth Secretary-General President of Finland president of Tajikistan Premier of the People's Republic of China Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Mayor of Zoetermeer Mayor of Haarlem 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 Prime Minister of Papua New Guinea President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey United Nations Secretary-General municipal executive of Almere President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Secretary of State for Exiting the European Union Chief Minister of the Northern Territory
President of the People's Republic of China, president of FIFA and United Nations Secretary-General were appointed by min number of authority organs and occupations
President of the People's Republic of China president of FIFA United Nations Secretary-General
action argmin
action union
action find_tuple_counts
relation appointed by
type occupation
type authority organ
action find_tuple_counts
relation appointed by
type occupation
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'authority organ'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?i ) WHERE { { ?f property:appointed_by ?k . ?k rdf:type ontology:authority_organ . ?f rdf:type ontology:occupation } UNION { ?f property:appointed_by ?k . ?f rdf:type ontology:occupation . ?k rdf:type ontology:occupation } } GROUP BY ?f } } . { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?r ) WHERE { VALUES ( ?c ) { ( ontology:authority_organ ) ( ontology:occupation ) } . ?n rdf:type ?c } GROUP BY ?e } . FILTER ( ?r = ?j ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q655407 Q22955080 Q81066
P39
Q502895
USER
Which people were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q655407) (c(Q502895),P39,Q22955080) (c(Q502895),P39,Q81066)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q655407'] [{'concept': 'Q502895'}, 'P39', 'Q22955080'] [{'concept': 'Q502895'}, 'P39', 'Q81066']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . VALUES ( ?b ) { ( resource:Q7643465 ) ( resource:Q27650845 ) ( resource:Q373548 ) } . ?c property:P39 ?b }
President of the People's Republic of China president of FIFA United Nations Secretary-General
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', "President of the People's Republic of China"] [{'concept': 'common name'}, 'position held', 'president of FIFA'] [{'concept': 'common name'}, 'position held', 'United Nations Secretary-General']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . VALUES ( ?b ) { ( resource:Superintendent_of_Finance_of_the_United_States ) ( resource:member_of_the_Provincial_Executive_of_Utrecht ) ( resource:President_of_Bolivia ) } . ?c property:position_held ?b }
[]
common name
Q5816 Q1254 Q1260
SYSTEM
Mao Zedong, Kofi Annan, Kurt Waldheim
Q311413 Q17132 Q377935 Q15031 Q15029 Q16988 Q968038 Q5816 Q16597 Q116277 Q124138 Q312664 Q207358 Q311250 Q218270 Q199642 Q312662 Q483437 Q1259 Q1257 Q1254 Q1253 Q1260 Q1267 Q1264 Q1271 Q1275 Q311440
(c(Q502895),P39,Q655407) (c(Q502895),P39,Q22955080) (c(Q502895),P39,Q81066)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q655407'] [{'concept': 'Q502895'}, 'P39', 'Q22955080'] [{'concept': 'Q502895'}, 'P39', 'Q81066']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . VALUES ( ?b ) { ( resource:Q7643465 ) ( resource:Q27650845 ) ( resource:Q373548 ) } . ?c property:P39 ?b }
Li Xiannian Soong Ching-ling Yang Shangkun Xi Jinping Hu Jintao Liu Shaoqi Dong Biwu Mao Zedong Jiang Zemin Robert Guérin Gianni Infantino Arthur Drewry João Havelange Daniel Burley Woolfall Stanley Rous Jules Rimet Rodolphe Seeldrayers Sepp Blatter Javier Pérez de Cuéllar Boutros Boutros-Ghali Kofi Annan Ban Ki-moon Kurt Waldheim Dag Hammarskjöld U Thant Trygve Lie Gladwyn Jebb António Guterres
Mao Zedong, Kofi Annan and Kurt Waldheim were responsible for occupying the position of those occupations
Mao Zedong Kofi Annan Kurt Waldheim
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', "President of the People's Republic of China"] [{'concept': 'common name'}, 'position held', 'president of FIFA'] [{'concept': 'common name'}, 'position held', 'United Nations Secretary-General']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . VALUES ( ?b ) { ( resource:Superintendent_of_Finance_of_the_United_States ) ( resource:member_of_the_Provincial_Executive_of_Utrecht ) ( resource:President_of_Bolivia ) } . ?c property:position_held ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5816 Q1254 Q1260
P26
Q502895
USER
Who are the spouses of Mao Zedong, Kofi Annan and Kurt Waldheim ?
(Q5816,P26,c(Q502895)) (Q1254,P26,c(Q502895)) (Q1260,P26,c(Q502895))
action union
action filter_type
action find
entity Q5816
relation P26
type Q502895
action filter_type
action find
entity Q1254
relation P26
type Q502895
action filter_type
action find
entity Q1260
relation P26
type Q502895
['Q5816', 'P26', {'concept': 'Q502895'}] ['Q1254', 'P26', {'concept': 'Q502895'}] ['Q1260', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { resource:Q5816 property:P26 ?e . ?e rdf:type ontology:Q502895 } UNION { resource:Q1254 property:P26 ?e . ?e rdf:type ontology:Q502895 } }
Mao Zedong Kofi Annan Kurt Waldheim
action union
action filter_type
action find
entity Mao Zedong
relation spouse
type common name
action filter_type
action find
entity Kofi Annan
relation spouse
type common name
action filter_type
action find
entity Kurt Waldheim
relation spouse
type common name
['Mao Zedong', 'spouse', {'concept': 'common name'}] ['Kofi Annan', 'spouse', {'concept': 'common name'}] ['Kurt Waldheim', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { resource:Mao_Zedong property:spouse ?e . ?e rdf:type ontology:common_name } UNION { resource:Kofi_Annan property:spouse ?e . ?e rdf:type ontology:common_name } }
[]
common name
Q236017 Q284278 Q86165
SYSTEM
Jiang Qing, Yang Kaihui, Elisabeth Waldheim
Q236017 Q710752 Q272321 Q284278 Q3742229 Q86165
(Q5816,P26,c(Q502895)) (Q1254,P26,c(Q502895)) (Q1260,P26,c(Q502895))
action union
action filter_type
action find
entity Q5816
relation P26
type Q502895
action filter_type
action find
entity Q1254
relation P26
type Q502895
action filter_type
action find
entity Q1260
relation P26
type Q502895
The spouses of Mao Zedong , Kofi Annan and Kurt Waldheim are born [ANSWERS]
['Q5816', 'P26', {'concept': 'Q502895'}] ['Q1254', 'P26', {'concept': 'Q502895'}] ['Q1260', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { resource:Q5816 property:P26 ?e . ?e rdf:type ontology:Q502895 } UNION { resource:Q1254 property:P26 ?e . ?e rdf:type ontology:Q502895 } }
Jiang Qing Luo Yixiu He Zizhen Yang Kaihui Nane Annan Elisabeth Waldheim
The spouses of Mao Zedong , Kofi Annan and Kurt Waldheim are born Jiang Qing, Yang Kaihui and Elisabeth Waldheim
Jiang Qing Yang Kaihui Elisabeth Waldheim
action union
action filter_type
action find
entity Mao Zedong
relation spouse
type common name
action filter_type
action find
entity Kofi Annan
relation spouse
type common name
action filter_type
action find
entity Kurt Waldheim
relation spouse
type common name
['Mao Zedong', 'spouse', {'concept': 'common name'}] ['Kofi Annan', 'spouse', {'concept': 'common name'}] ['Kurt Waldheim', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { resource:Mao_Zedong property:spouse ?e . ?e rdf:type ontology:common_name } UNION { resource:Kofi_Annan property:spouse ?e . ?e rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q284278
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q284278)
action filter_type
action find_reverse
entity Q284278
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q284278']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q284278 . ?x rdf:type ontology:Q502895 }
Yang Kaihui
action filter_type
action find_reverse
entity Yang Kaihui
relation child
type common name
[{'concept': 'common name'}, 'child', 'Yang Kaihui']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Yang_Kaihui . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q86165
SYSTEM
Did you mean Elisabeth Waldheim ?
Q236017 Q284278 Q86165
(c(Q502895),P40,Q236017) (c(Q502895),P40,Q284278) (c(Q502895),P40,Q86165)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q236017'] [{'concept': 'Q502895'}, 'P40', 'Q284278'] [{'concept': 'Q502895'}, 'P40', 'Q86165']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q284278 . ?x rdf:type ontology:Q502895 }
Jiang Qing Yang Kaihui Elisabeth Waldheim
Did you mean Elisabeth Waldheim ?
Elisabeth Waldheim
[{'concept': 'common name'}, 'child', 'Jiang Qing'] [{'concept': 'common name'}, 'child', 'Yang Kaihui'] [{'concept': 'common name'}, 'child', 'Elisabeth Waldheim']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Yang_Kaihui . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Yang Kaihui. Could you tell me the answer for that?
(c(Q502895),P40,Q284278)
Q284278
[{'concept': 'Q502895'}, 'P40', 'Q284278']
[{'concept': 'common name'}, 'child', 'Yang Kaihui']
[]
Q14949048
SYSTEM
Yang Changji
Q14949048
(c(Q502895),P40,Q284278)
action filter_type
action find_reverse
entity Q284278
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q284278']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q284278 . ?x rdf:type ontology:Q502895 }
Yang Changji
Yang Changji has that one as a child
Yang Changji
action filter_type
action find_reverse
entity Yang Kaihui
relation child
type common name
[{'concept': 'common name'}, 'child', 'Yang Kaihui']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Yang_Kaihui . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q813571 Q10556697
P27 P17
Q15617994
USER
Which administrative territories are Branco Cardozo an inhabitant of or are Becamex Binh Duong F.C. situated in ?
OR((Q10556697,P27,c(Q15617994)), (Q813571,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10556697
relation P27
action find
entity Q813571
relation P17
type Q15617994
{'OR': [['Q10556697', 'P27', {'concept': 'Q15617994'}], ['Q813571', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q10556697 property:P27 ?k } UNION { resource:Q813571 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Becamex Binh Duong F.C. Branco Cardozo
action filter_type
action union
action find
entity Branco Cardozo
relation country of citizenship
action find
entity Becamex Binh Duong F.C.
relation country
type designation for an administrative territorial entity
{'OR': [['Branco Cardozo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Becamex Binh Duong F.C.', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Branco_Cardozo property:country_of_citizenship ?k } UNION { resource:Becamex_Binh_Duong_F.C. property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q881 Q668
SYSTEM
Vietnam, India
Q881 Q668
OR((Q10556697,P27,c(Q15617994)), (Q813571,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q10556697
relation P27
action find
entity Q813571
relation P17
type Q15617994
[ANSWERS] are Branco Cardozo an inhabitant of or are Becamex Binh Duong F.C. situated in
{'OR': [['Q10556697', 'P27', {'concept': 'Q15617994'}], ['Q813571', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q10556697 property:P27 ?k } UNION { resource:Q813571 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Vietnam India
Vietnam and India are Branco Cardozo an inhabitant of or are Becamex Binh Duong F.C. situated in
Vietnam India
action filter_type
action union
action find
entity Branco Cardozo
relation country of citizenship
action find
entity Becamex Binh Duong F.C.
relation country
type designation for an administrative territorial entity
{'OR': [['Branco Cardozo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Becamex Binh Duong F.C.', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Branco_Cardozo property:country_of_citizenship ?k } UNION { resource:Becamex_Binh_Duong_F.C. property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P495
Q659563 Q1002697
USER
How many video game genres and periodical literatures originated in that administrative territory ?
(c(Q659563),P495,Q881) (c(Q1002697),P495,Q881) (c(Q659563),P495,Q881) (c(Q1002697),P495,Q881) (c(Q659563),P495,Q668) (c(Q1002697),P495,Q668)
[{'concept': 'Q659563'}, 'P495', 'Q881'] [{'concept': 'Q1002697'}, 'P495', 'Q881'] [{'concept': 'Q659563'}, 'P495', 'Q881'] [{'concept': 'Q1002697'}, 'P495', 'Q881'] [{'concept': 'Q659563'}, 'P495', 'Q668'] [{'concept': 'Q1002697'}, 'P495', 'Q668']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q2523822 } UNION { ?y property:P495 resource:Q2523822 } UNION { ?z property:P495 resource:Q2523822 } UNION { ?y property:P495 resource:Q2523822 } UNION { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } } . ?z rdf:type ontology:Q659563 . ?y rdf:type ontology:Q1002697 }
[{'concept': 'video game genre'}, 'country of origin', 'Vietnam'] [{'concept': 'periodical literature'}, 'country of origin', 'Vietnam'] [{'concept': 'video game genre'}, 'country of origin', 'Vietnam'] [{'concept': 'periodical literature'}, 'country of origin', 'Vietnam'] [{'concept': 'video game genre'}, 'country of origin', 'India'] [{'concept': 'periodical literature'}, 'country of origin', 'India']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Vietnam } UNION { ?y property:country_of_origin resource:Vietnam } UNION { ?z property:country_of_origin resource:Vietnam } UNION { ?y property:country_of_origin resource:Vietnam } UNION { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } } . ?z rdf:type ontology:video_game_genre . ?y rdf:type ontology:periodical_literature }
[]
video game genre periodical literature
Quantitative|Count|Mult. entity type|Clarification
Q881
SYSTEM
Did you mean Vietnam ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q2523822 } UNION { ?y property:P495 resource:Q2523822 } UNION { ?z property:P495 resource:Q2523822 } UNION { ?y property:P495 resource:Q2523822 } UNION { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } } . ?z rdf:type ontology:Q659563 . ?y rdf:type ontology:Q1002697 }
Did you mean Vietnam ?
Vietnam
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Vietnam } UNION { ?y property:country_of_origin resource:Vietnam } UNION { ?z property:country_of_origin resource:Vietnam } UNION { ?y property:country_of_origin resource:Vietnam } UNION { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } } . ?z rdf:type ontology:video_game_genre . ?y rdf:type ontology:periodical_literature }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q659563),P495,Q881) (c(Q1002697),P495,Q881) (c(Q659563),P495,Q881) (c(Q1002697),P495,Q881) (c(Q659563),P495,Q668) (c(Q1002697),P495,Q668)
[{'concept': 'Q659563'}, 'P495', 'Q881'] [{'concept': 'Q1002697'}, 'P495', 'Q881'] [{'concept': 'Q659563'}, 'P495', 'Q881'] [{'concept': 'Q1002697'}, 'P495', 'Q881'] [{'concept': 'Q659563'}, 'P495', 'Q668'] [{'concept': 'Q1002697'}, 'P495', 'Q668']
[{'concept': 'video game genre'}, 'country of origin', 'Vietnam'] [{'concept': 'periodical literature'}, 'country of origin', 'Vietnam'] [{'concept': 'video game genre'}, 'country of origin', 'Vietnam'] [{'concept': 'periodical literature'}, 'country of origin', 'Vietnam'] [{'concept': 'video game genre'}, 'country of origin', 'India'] [{'concept': 'periodical literature'}, 'country of origin', 'India']
[]
SYSTEM
1 video game genres and 1 periodical literatures
Q7928280 Q5202993
(c(Q659563),P495,Q881) (c(Q1002697),P495,Q881) (c(Q659563),P495,Q881) (c(Q1002697),P495,Q881) (c(Q659563),P495,Q668) (c(Q1002697),P495,Q668)
[ANSWER]
[{'concept': 'Q659563'}, 'P495', 'Q881'] [{'concept': 'Q1002697'}, 'P495', 'Q881'] [{'concept': 'Q659563'}, 'P495', 'Q881'] [{'concept': 'Q1002697'}, 'P495', 'Q881'] [{'concept': 'Q659563'}, 'P495', 'Q668'] [{'concept': 'Q1002697'}, 'P495', 'Q668']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q2523822 } UNION { ?y property:P495 resource:Q2523822 } UNION { ?z property:P495 resource:Q2523822 } UNION { ?y property:P495 resource:Q2523822 } UNION { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } } . ?z rdf:type ontology:Q659563 . ?y rdf:type ontology:Q1002697 }
Vien Dong Daily News Cắt Tê
1 video game genres and 1 periodical literatures
[{'concept': 'video game genre'}, 'country of origin', 'Vietnam'] [{'concept': 'periodical literature'}, 'country of origin', 'Vietnam'] [{'concept': 'video game genre'}, 'country of origin', 'Vietnam'] [{'concept': 'periodical literature'}, 'country of origin', 'Vietnam'] [{'concept': 'video game genre'}, 'country of origin', 'India'] [{'concept': 'periodical literature'}, 'country of origin', 'India']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:Vietnam } UNION { ?y property:country_of_origin resource:Vietnam } UNION { ?z property:country_of_origin resource:Vietnam } UNION { ?y property:country_of_origin resource:Vietnam } UNION { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } } . ?z rdf:type ontology:video_game_genre . ?y rdf:type ontology:periodical_literature }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1825320 Q10556697
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Branco Cardozo or Egon von Bönninghausen ?
OR((Q10556697,P27,c(Q15617994)), (Q1825320,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10556697
relation P27
action find
entity Q1825320
relation P27
type Q15617994
{'OR': [['Q10556697', 'P27', {'concept': 'Q15617994'}], ['Q1825320', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q10556697 property:P27 ?e } UNION { resource:Q1825320 property:P27 ?e } } }
Egon von Bönninghausen Branco Cardozo
action filter_type
action union
action find
entity Branco Cardozo
relation country of citizenship
action find
entity Egon von Bönninghausen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Branco Cardozo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Egon von Bönninghausen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Branco_Cardozo property:country_of_citizenship ?e } UNION { resource:Egon_von_Bönninghausen property:country_of_citizenship ?e } } }
[]
designation for an administrative territorial entity
Q29999 Q668
SYSTEM
Kingdom of the Netherlands, India
Q29999 Q668
OR((Q10556697,P27,c(Q15617994)), (Q1825320,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10556697
relation P27
action find
entity Q1825320
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Branco Cardozo or Egon von Bönninghausen
{'OR': [['Q10556697', 'P27', {'concept': 'Q15617994'}], ['Q1825320', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q10556697 property:P27 ?e } UNION { resource:Q1825320 property:P27 ?e } } }
Kingdom of the Netherlands India
Kingdom of the Netherlands and India are the countries of citizenship of Branco Cardozo or Egon von Bönninghausen
Kingdom of the Netherlands India
action filter_type
action union
action find
entity Branco Cardozo
relation country of citizenship
action find
entity Egon von Bönninghausen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Branco Cardozo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Egon von Bönninghausen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Branco_Cardozo property:country_of_citizenship ?e } UNION { resource:Egon_von_Bönninghausen property:country_of_citizenship ?e } } }
[]