Simple Question (Direct)
Simple Question
Q4275848
P641
Q349
USER
Which sport was Doug McMillan a part of ?
(Q4275848,P641,c(Q349))
action filter_type
action find
entity Q4275848
relation P641
type Q349
['Q4275848', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q4275848 property:P641 ?e }
Doug McMillan
action filter_type
action find
entity Doug McMillan
relation sport
type sport
['Doug McMillan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Doug_McMillan property:sport ?e }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4275848,P641,c(Q349))
action filter_type
action find
entity Q4275848
relation P641
type Q349
Which sport was Doug McMillan a part of
['Q4275848', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q4275848 property:P641 ?e }
association football
Which sport was Doug McMillan a part of
association football
action filter_type
action find
entity Doug McMillan
relation sport
type sport
['Doug McMillan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Doug_McMillan property:sport ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4275848
P106
Q12737077
USER
What are the job of Doug McMillan ?
(Q4275848,P106,c(Q12737077))
action filter_type
action find
entity Q4275848
relation P106
type Q12737077
['Q4275848', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4275848 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Doug McMillan
action filter_type
action find
entity Doug McMillan
relation occupation
type occupation
['Doug McMillan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Doug_McMillan property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q4275848,P106,c(Q12737077))
action filter_type
action find
entity Q4275848
relation P106
type Q12737077
The job of Doug McMillan are both [ANSWERS]
['Q4275848', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4275848 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football manager association football player
The job of Doug McMillan are both association football manager and association football player
association football manager association football player
action filter_type
action find
entity Doug McMillan
relation occupation
type occupation
['Doug McMillan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Doug_McMillan property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4275848
P21
Q290
USER
Which sex does Doug McMillan belong to ?
(Q4275848,P21,c(Q290))
action filter_type
action find
entity Q4275848
relation P21
type Q290
['Q4275848', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q4275848 property:P21 ?p . ?p rdf:type ontology:Q290 }
Doug McMillan
action filter_type
action find
entity Doug McMillan
relation gender
type sex
['Doug McMillan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Doug_McMillan property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4275848,P21,c(Q290))
action filter_type
action find
entity Q4275848
relation P21
type Q290
Doug McMillan belongs to [ANSWER]
['Q4275848', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q4275848 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Doug McMillan belongs to male
male
action filter_type
action find
entity Doug McMillan
relation gender
type sex
['Doug McMillan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Doug_McMillan property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17560966
Q290
USER
And how about Esmat Shanwary?
(Q17560966,P21,c(Q290))
action filter_type
action find
entity Q17560966
relation P21
type Q290
['Q17560966', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q17560966 property:P21 ?k . ?k rdf:type ontology:Q290 }
Esmat Shanwary
action filter_type
action find
entity Esmat Shanwary
relation gender
type sex
['Esmat Shanwary', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Esmat_Shanwary property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17560966,P21,c(Q290))
action filter_type
action find
entity Q17560966
relation P21
type Q290
[ANSWER]
['Q17560966', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q17560966 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Esmat Shanwary
relation gender
type sex
['Esmat Shanwary', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Esmat_Shanwary property:gender ?k . ?k rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2274046 Q17560966
P19 P190
Q515
USER
Which cities are the birthplace of Esmat Shanwary or are the sister cities of Serre Chevalier ?
OR((Q17560966,P19,c(Q515)), (Q2274046,P190,c(Q515)))
action filter_type
action union
action find
entity Q17560966
relation P19
action find
entity Q2274046
relation P190
type Q515
{'OR': [['Q17560966', 'P19', {'concept': 'Q515'}], ['Q2274046', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q2274046 property:P190 ?a } UNION { resource:Q17560966 property:P19 ?a } } . ?a rdf:type ontology:Q515 }
Serre Chevalier Esmat Shanwary
action filter_type
action union
action find
entity Esmat Shanwary
relation place of birth
action find
entity Serre Chevalier
relation sister city
type city
{'OR': [['Esmat Shanwary', 'place of birth', {'concept': 'city'}], ['Serre Chevalier', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Serre_Chevalier property:sister_city ?a } UNION { resource:Esmat_Shanwary property:place_of_birth ?a } } . ?a rdf:type ontology:city }
[]
city
Q5838 Q11194
SYSTEM
Kabul, Sarajevo
Q5838 Q11194
OR((Q17560966,P19,c(Q515)), (Q2274046,P190,c(Q515)))
action filter_type
action union
action find
entity Q17560966
relation P19
action find
entity Q2274046
relation P190
type Q515
[ANSWERS] are the birthplace of Esmat Shanwary or are the sister cities of Serre Chevalier
{'OR': [['Q17560966', 'P19', {'concept': 'Q515'}], ['Q2274046', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q2274046 property:P190 ?a } UNION { resource:Q17560966 property:P19 ?a } } . ?a rdf:type ontology:Q515 }
Kabul Sarajevo
Kabul and Sarajevo are the birthplace of Esmat Shanwary or are the sister cities of Serre Chevalier
Kabul Sarajevo
action filter_type
action union
action find
entity Esmat Shanwary
relation place of birth
action find
entity Serre Chevalier
relation sister city
type city
{'OR': [['Esmat Shanwary', 'place of birth', {'concept': 'city'}], ['Serre Chevalier', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Serre_Chevalier property:sister_city ?a } UNION { resource:Esmat_Shanwary property:place_of_birth ?a } } . ?a rdf:type ontology:city }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1376
Q15617994
USER
How many administrative territories have that city have their center of administration ?
(Q5838,P1376,c(Q15617994))
['Q5838', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16938735 property:P1376 ?z . ?z rdf:type ontology:Q15617994 }
['Kabul', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kabul property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q5838
SYSTEM
Did you mean Kabul ?
(Q5838,P1376,c(Q15617994)) (Q11194,P1376,c(Q15617994))
[ANSWER]
['Q5838', 'P1376', {'concept': 'Q15617994'}] ['Q11194', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16938735 property:P1376 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Kabul ?
Kabul
['Kabul', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Sarajevo', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kabul property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q5838,P1376,c(Q15617994))
['Q5838', 'P1376', {'concept': 'Q15617994'}]
['Kabul', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q889
(Q5838,P1376,c(Q15617994))
[ANSWER]
['Q5838', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q16938735 property:P1376 ?z . ?z rdf:type ontology:Q15617994 }
Afghanistan
1
['Kabul', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kabul property:capital_of ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503865
P27
Q15617994
USER
Which administrative territory is the native country of Lucian Răduţă ?
(Q503865,P27,c(Q15617994))
action filter_type
action find
entity Q503865
relation P27
type Q15617994
['Q503865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q503865 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Lucian Răduţă
action filter_type
action find
entity Lucian Răduţă
relation country of citizenship
type designation for an administrative territorial entity
['Lucian Răduţă', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Lucian_Răduţă property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q503865,P27,c(Q15617994))
action filter_type
action find
entity Q503865
relation P27
type Q15617994
[ANSWER] is the native country of Lucian Răduţă
['Q503865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q503865 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Romania
Romania is the native country of Lucian Răduţă
Romania
action filter_type
action find
entity Lucian Răduţă
relation country of citizenship
type designation for an administrative territorial entity
['Lucian Răduţă', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Lucian_Răduţă property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4686297 Q503865
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Lucian Răduţă and are Valea Mare River present in ?
AND((Q503865,P27,c(Q15617994)), (Q4686297,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q503865
relation P27
action find
entity Q4686297
relation P17
type Q15617994
{'AND': [['Q503865', 'P27', {'concept': 'Q15617994'}], ['Q4686297', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q503865 property:P27 ?r . resource:Q4686297 property:P17 ?r }
Valea Mare River Lucian Răduţă
action filter_type
action intersection
action find
entity Lucian Răduţă
relation country of citizenship
action find
entity Valea Mare River
relation country
type designation for an administrative territorial entity
{'AND': [['Lucian Răduţă', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valea Mare River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lucian_Răduţă property:country_of_citizenship ?r . resource:Valea_Mare_River property:country ?r }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
AND((Q503865,P27,c(Q15617994)), (Q4686297,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q503865
relation P27
action find
entity Q4686297
relation P17
type Q15617994
[ANSWER] is the native countriesof Lucian Răduţă and is Valea Mare River present in
{'AND': [['Q503865', 'P27', {'concept': 'Q15617994'}], ['Q4686297', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q503865 property:P27 ?r . resource:Q4686297 property:P17 ?r }
Romania
Romania is the native countriesof Lucian Răduţă and is Valea Mare River present in
Romania
action filter_type
action intersection
action find
entity Lucian Răduţă
relation country of citizenship
action find
entity Valea Mare River
relation country
type designation for an administrative territorial entity
{'AND': [['Lucian Răduţă', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valea Mare River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lucian_Răduţă property:country_of_citizenship ?r . resource:Valea_Mare_River property:country ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q218 Q408 Q2066057
P530
Q1048835
USER
Does Romania have tactful political relations with Australia and Curvelândia ?
(Q218,P530,Q408) (Q218,P530,Q2066057)
action is_in
entity Q218
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q2066057
relation P530
['Q218', 'P530', 'Q408'] ['Q218', 'P530', 'Q2066057']
ASK WHERE { resource:Q218 property:P530 resource:Q408 . resource:Q218 property:P530 resource:Q2066057 }
Romania Australia Curvelândia
action is_in
entity Romania
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Curvelândia
relation diplomatic relation
['Romania', 'diplomatic relation', 'Australia'] ['Romania', 'diplomatic relation', 'Curvelândia']
ASK WHERE { resource:Romania property:diplomatic_relation resource:Australia . resource:Romania property:diplomatic_relation resource:Curvelândia }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q218,P530,Q408) (Q218,P530,Q2066057)
action is_in
entity Q218
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q2066057
relation P530
[ANSWER]
['Q218', 'P530', 'Q408'] ['Q218', 'P530', 'Q2066057']
ASK WHERE { resource:Q218 property:P530 resource:Q408 . resource:Q218 property:P530 resource:Q2066057 }
YES and NO respectively
action is_in
entity Romania
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Curvelândia
relation diplomatic relation
['Romania', 'diplomatic relation', 'Australia'] ['Romania', 'diplomatic relation', 'Curvelândia']
ASK WHERE { resource:Romania property:diplomatic_relation resource:Australia . resource:Romania property:diplomatic_relation resource:Curvelândia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q272471 Q5838
P19
Q502895
USER
Which people have location of birth at Kabul or Matanzas ?
OR((c(Q502895),P19,Q5838), (c(Q502895),P19,Q272471))
action filter_type
action union
action find_reverse
entity Q5838
relation P19
action find_reverse
entity Q272471
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q5838'], [{'concept': 'Q502895'}, 'P19', 'Q272471']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . { { ?g property:P19 resource:Q5838 } UNION { ?g property:P19 resource:Q272471 } } }
Matanzas Kabul
action filter_type
action union
action find_reverse
entity Kabul
relation place of birth
action find_reverse
entity Matanzas
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Kabul'], [{'concept': 'common name'}, 'place of birth', 'Matanzas']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . { { ?g property:place_of_birth resource:Kabul } UNION { ?g property:place_of_birth resource:Matanzas } } }
[]
common name
Q2800288 Q7504854 Q11729198 Q317556 Q426108 Q7399878 Q983034 Q1942656 Q6784838 Q16745324
SYSTEM
Some of them are Haroon Tanha, Shukria Barakzai, Julio Aldama, Abdullah Abdullah, Joel Isasi, Said Azimshah Garibzada, Sultan Ali Keshtmand, Mohammad Haider Zhobal, Massoud Nawabi, Fahim Hashimy
Q1178345 Q18640092 Q5353135 Q7562761 Q6785684 Q1397698 Q1317228 Q3228816 Q7197621 Q10331489 Q1896605 Q7296314 Q8065519 Q18001537 Q358788 Q7461806 Q3460756 Q317121 Q2800288 Q8065514 Q6516339 Q454270 Q461233 Q465866 Q6967303 Q11784665 Q17385914 Q11784663 Q2690181 Q7283417 Q3918301 Q7399878 Q1172817 Q983049 Q4746323 Q109035 Q539848 Q19874613 Q1951865 Q317116 Q2708944 Q6745905 Q473247 Q6065062 Q276447 Q23664426 Q16563355 Q264159 Q434583 Q18739150 Q457408 Q533318 Q5021454 Q20743331 Q6916263 Q436254 Q310247 Q3918429 Q6111252 Q486188 Q145180 Q16222397 Q16914139 Q3782853 Q7504854 Q5435270 Q10944745 Q6784838 Q815251 Q198276 Q6874895 Q372828 Q3631545 Q6071824 Q1891194 Q16745324 Q2134351 Q1312395 Q7445321 Q465872 Q2542270 Q5765897 Q7327694 Q523842 Q193116 Q914869 Q15633240 Q5640324 Q2000516 Q4500272 Q4866826 Q400679 Q3464233 Q16105712 Q1656087 Q548840 Q7403481 Q2220835 Q400692 Q462645 Q2121343 Q1585286 Q471037 Q317197 Q9138121 Q1634582 Q4807138 Q15453647 Q7352727 Q2041521 Q6705462 Q1942656 Q6891793 Q317467 Q1675772 Q1062014 Q2906605 Q299559 Q5222895 Q5644735 Q400667 Q10938636 Q22004029 Q251853 Q4895419 Q20644935 Q7429150 Q23771363 Q6892292 Q1391949 Q2515614 Q195522 Q380167 Q4022692 Q5485747 Q1703774 Q22159685 Q26817999 Q5688389 Q426108 Q6959707 Q1569990 Q1573404 Q6781986 Q741679 Q1397264 Q1382778 Q230854 Q16876019 Q154809 Q128448 Q6927980 Q983034 Q24007132 Q432276 Q21105712 Q14955870 Q10554571 Q3185946 Q3074348 Q399066 Q8064779 Q16916768 Q970037 Q16664684 Q7561738 Q9138112 Q3494402 Q6455289 Q2228529 Q19817438 Q207728 Q16493429 Q10999678 Q3489649 Q2601393 Q3713562 Q355628 Q5819015 Q317556 Q4740680 Q983046 Q704155 Q3481492 Q2886765 Q179801 Q15391394 Q437890 Q6990843 Q11325376 Q7077256 Q6509369 Q3810253 Q317395 Q5271630 Q4739389 Q5431082 Q18170218 Q11686569 Q1850124 Q21872478 Q6123249 Q288008 Q16090740 Q1032960 Q21978539 Q21035329 Q5792444 Q1709475 Q1772399 Q11342169 Q1937854 Q400698 Q152265 Q16204351 Q8061242 Q317115 Q3932022 Q21856487 Q5565512 Q16018868 Q19661266 Q17560966 Q515789 Q5711986 Q17479599 Q2972025 Q7410763 Q3119118 Q11729198 Q3131329 Q602618 Q4115693 Q16068811 Q531727 Q4665352 Q465840 Q20972445 Q16186426 Q231566 Q317385 Q11298097 Q63827 Q6784831 Q25163409 Q9383366 Q1942692 Q1953427 Q5945172 Q380474 Q2884824 Q355747 Q1303307 Q6292551 Q9138107 Q7429169 Q5796269 Q20155387 Q3660089 Q468942 Q12857584 Q447049 Q3082582 Q12419221 Q15855780 Q456323 Q9014639 Q337491 Q5488522 Q7385486 Q2281878 Q1644145 Q929071 Q7141352 Q3478816 Q5723597 Q4741907 Q20683837 Q227498 Q1922469 Q6891979 Q2092584 Q741031 Q7399965 Q3066169 Q728046 Q5941958 Q835570 Q16223208 Q2836101 Q3129316 Q1396681 Q2224651 Q2364398 Q1765889
OR((c(Q502895),P19,Q5838), (c(Q502895),P19,Q272471))
action filter_type
action union
action find_reverse
entity Q5838
relation P19
action find_reverse
entity Q272471
relation P19
type Q502895
[ANSWERS] have location of birth at Kabul or Matanzas
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q5838'], [{'concept': 'Q502895'}, 'P19', 'Q272471']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . { { ?g property:P19 resource:Q5838 } UNION { ?g property:P19 resource:Q272471 } } }
Davoud Yaqoubi Sayyid Mir Jan Elaha Soroor Soosan Firooz Masuma Esmati-Wardak Mohammad Musa Shafiq Mohammad Hashim Maiwandwal Ledis Balceiro Pir Sayed Ishaq Gailani Mohamed Anwar Kharot Mariam Kühsel-Hussaini Ravan A. G. Farhâdi Zalmai Araa Nasrin Oryakhil Gul Mohamad Zhowandai Shahla Atta Sabrina Saqeb Abdul Ghani Assar Haroon Tanha Zallascht Sadat Leena Alam Mehboba Ahdyar Francisco Aguabella Hamida Barmaki Nasrat Sharqi Mohammed Sarwar Yusufzai Fahim Fazli Mohammad Ibrahim Gharzai Mustafa Nayyem Rahim Mehryar Sayed Makhdoom Raheen Said Azimshah Garibzada Daud Rafiqpoor Nasrullah Khan Amin Saikal Lyen Wong Hangama Mirwais Jalil Muhammad Siddiq Farhang Abdul Ghafoor Breshna Siyar Bahadurzada Mamnoon Maqsoodi Habibullāh Kalakāni Wali Razaqi Marina Golbahari Humira Saqib Hiosvany Salgado Luis Alberto Pérez-Rionda Mohammad Yousef Kargar Roberto Valero Leandro Peñalver Parween Pazhwak Calixto Leicea Farhad Bitani Moshtagh Yaghoubi Hashmatullah Barakzai Mohammed Daoud Khan Ahmad Shah Khan Rolando Tarajano Humayun Zalmai Rassoul Seeta Qasemi Mustafa Zazai Hameedullah Haidary Shukria Barakzai Farid Zarif Aryana Sayeed Massoud Nawabi Balal Arezou Zia Qarizada Mirza Muhammad Hakim Mustafa Hadid Azita Ghanizada Pepe Pelayo Mansur Faqiryar Fahim Hashimy Raziq Faani Faiz Mohammad Khaksar Sediq Afghan Meena Keshwar Kamal Walid Nakschbandi Mirza Hindal Richard Maurice Andrés Aldama Khaled Hosseini Tamim Ansary Sana Safi Hakan Massoud Navabi Lida Abdul Mir Wais Hosseini Bashir Ahmad Bezan Ahmad Khan Mahmidzada Annet Mahendru Muhammed Nadir Khan Mahwash Shamsuddin Amiri Salahuddin Rabbani Sandjar Ahmadi Ahmad Milad Karimi Fariba Rezayee Qader Eshpari H. A. Habib Inayatullah Khan ʿAbd-al-Ḥakīm Ṭabībī Abdul Shacour Azimi Barbarito Torres Askari Mirza Sulaiman Masomi Robin Prendes Gulbadan Begum Lutfullah Mashal Mohammad Haider Zhobal Mohammad Aman Abdul Wahid Noorzai Ivo Díaz Francisco Ferreras Rafael Pinhasi Nur Muhammad Taraki Darisleydis Amador Hamidullah Yosufzai Ahmad Jawed Hildelisa Saralegui Boza Silvio Delgado Ángel Reyes Berta Soler J.R. Ramirez Sayed Anwar Rahmati Modjieb Jamali Mohammad Qayoumi Omar Nazar Qays Shayesteh Ahmad Zahir Jalil Zaland Yendry Diaz Frank Chamizo Jorge Betancourt Mahmoud Saikal Milad Intezar Hazrat Ali Joel Isasi Nainawaz Hakim Ludin Hamidullah Karimi María Enma Botet Dubois Farhad Darya Mohammad Yusuf Hafizullah Qadami Rohullah Nikpai Manizha Bakhtari Pérez Prado Sugar Ramos Mozhdah Jamalzadah Sultan Ali Keshtmand Murtaza Khojami Farid Ahmadi Mansur Maksudi Abdul Raufovich Mustafa Azadzoy Andy Ramos Gomez Joseíto González Humberto López y Guerra Agustín Acosta Bello Zaid Mohseni Madina Hamidi Martín Dihigo Mir Mohammad Sediq Farhang Sonia Nassery Cole Abdul Hamid Tajik Spôjmaï Zariâb José Zacarías Tallet Sayed Qassem Rishtya Jaime Einstein Mohammad Najibullah Ignacio Cárdenas Acuña Jawed Ludin Zemaryalai Tarzi Youssof Kohzad Don Marino Barreto Junior Ata Yamrali Eduardo Barrón Abdullah Abdullah Amaury Cazana Mohammad Ayub Khan Arsala Rahmani Daulat Sharif Ghalib Bashir Ahmad Saadat Atiq Rahimi Gulchehra Begum Sergio Álvarez Boulet Nelufar Hedayat Nestor Pérez Odaline de la Martinez Abdul Ghafoor Assar Joseph Miró Abdul Rahman Dianelys Pérez Amalia Aguilar Faisal Sakhizada Dania Cañizares Juan Pablo Villar Alemán Ajmal Faisal Anoush Dastgir Jahid Mohseni Ali Askar Lali Mehran Marri Hector Lombard Kanischka Taher Marzia Basel Sayed Maqsood Hashemi Suhaila Seddiqi Saba Sahar Michel Abreu Ghulam Mohammad Ghobar Ahmad Morid Mohammed Zahir Shah Eklil Ahmad Hakimi Yunesky Sánchez Abdul Ghafar Ghafoori Regla Hernández Masih Saighani Masihullah Barakzai Sayed Hamid Noori Muhammed Akbar Khan, Crown Prince of Afghanistan Esmat Shanwary Pedro Knight Aurelio Hevia Zheela Chékéba Hachemi Samuel Anderson Mithaq Kazimi Julio Aldama Zohib Islam Amiri Antonio José Ponte Fatima Bhutto Emran Barakzai Nadia Nadim Abdul Hadi Dawai Humaira Begum Omid Popalzay Naim Popal Osleidys Menéndez Abdul Rahman Ashraf Guillermo Heredia Babrak Karmal Massoud Hossaini Sayyid Mahmud Agha Yar Mohamed Barakzai Mohammad Omar Muqadar Qazizadah José Rodríguez y Díaz de Lecea Sibghatullah Mojaddedi Miguel Teurbe Tolón Obaidullah Karimi José White Lafitte José Jacinto Milanés Abdul Ghafoor Yusufzai Sayed Jalal Karim César Leante Rafael Bienvenido Cruz Carlos Lamar Pedro Juan Gutiérrez Zabihullah Mojaddidy Dora Alonso Frank Domínguez Kamran Mirza Zohre Esmaeli Lisandra Guerra José Omar Torres López Nasrat Parsa Frank Moreno Muhammad Yunus Nawandish Sidiq Walizada Luis Amarán Milad Salem Parviz Senén Suárez Mujtaba Faiz Ambrosio José Gonzales Natalia Alyakina Zubayr Amiri Ajmal Faizzada Mohammad Gul Khan Momand Abdul Ahad Kharot Khalilullah Khalili Saidel Brito Lorenzo Israfeel Kohistani Yusuf Barak José Manuel Acosta Bello Hamid Rahimi Gharanai Khwakhuzhi Ali Amiri Hedayat Amin Arsala Farid Zaland Sarban Sayd Bahodine Majrouh Miguel Faílde
Haroon Tanha, Shukria Barakzai, Julio Aldama, Abdullah Abdullah, Joel Isasi, Said Azimshah Garibzada, Sultan Ali Keshtmand, Mohammad Haider Zhobal, Massoud Nawabi and Fahim Hashimy have location of birth at Kabul or Matanzas
Haroon Tanha Shukria Barakzai Julio Aldama Abdullah Abdullah Joel Isasi Said Azimshah Garibzada Sultan Ali Keshtmand Mohammad Haider Zhobal Massoud Nawabi Fahim Hashimy
action filter_type
action union
action find_reverse
entity Kabul
relation place of birth
action find_reverse
entity Matanzas
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Kabul'], [{'concept': 'common name'}, 'place of birth', 'Matanzas']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . { { ?g property:place_of_birth resource:Kabul } UNION { ?g property:place_of_birth resource:Matanzas } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q5838
P21 P20
Q502895
USER
Which people have Kabul as the location of death and have the gender as male ?
AND((c(Q502895),P20,Q5838), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5838
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q5838'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P20 resource:Q5838 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
male Kabul
action filter_type
action intersection
action find_reverse
entity Kabul
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Kabul'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:place_of_death resource:Kabul . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
common name
Q7296616 Q188667 Q7293696 Q40427 Q473247 Q375933 Q137752 Q1317228 Q1397698 Q1798098
SYSTEM
Some of them are Ravi Datt Mehta, Burhanuddin Rabbani, Rao Tula Ram, Sher Ali Khan, Habibullāh Kalakāni, Alexander Burnes, Mohammad Hashim Khan, Mohammad Hashim Maiwandwal, Mohammad Musa Shafiq, Carsten Thomassen
Q317450 Q704155 Q365323 Q3064681 Q1397698 Q1317228 Q19661266 Q355610 Q7675493 Q7293696 Q1387765 Q167139 Q7965064 Q63831 Q3619589 Q6553136 Q16019773 Q15391471 Q1942692 Q1441135 Q313061 Q167526 Q3365444 Q3851071 Q4665492 Q207728 Q167283 Q1397705 Q4382721 Q983049 Q15924343 Q3603414 Q137752 Q152265 Q188667 Q317116 Q3511438 Q6893127 Q1911310 Q473247 Q375933 Q185450 Q5099507 Q3939211 Q299559 Q3130312 Q7296616 Q40427 Q4116632 Q310247 Q12719856 Q224534 Q1798098 Q31649 Q558626 Q3371565
AND((c(Q502895),P20,Q5838), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5838
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Kabul as the location of death and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q5838'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P20 resource:Q5838 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
Abdul Sabur Farid Kohistani Arsala Rahmani Daulat Adolph Dubs Faiz Mohammad Katib Hazara Mohammad Musa Shafiq Mohammad Hashim Maiwandwal Muhammed Akbar Khan, Crown Prince of Afghanistan Mohammed Nadir Shah Tahir Badakhshi Rao Tula Ram Mohammed Atef Abdul Qadir Walter Hamilton Hafizullah Amin Antonio Fortunato Qahar Asi Alexandros Petersen Al-aman Mirza Mohammad Omar Francesco Meriano Aurel Stein Mohammed Fahim Abdul Hai Habibi Massimiliano Randino Abdul Khaliq Hazara Mohammad Najibullah Timur Shah Durrani William Hay Macnaghten Ghulam Faruq Yaqubi Nasrullah Khan Nils Horner Abdullah Shah Mohammad Hashim Khan Mohammed Zahir Shah Burhanuddin Rabbani Abdul Ghafoor Breshna Séverin Blanchet Mohammed Hashim Watanwal Maurice Fouchet Habibullāh Kalakāni Alexander Burnes Pierre Louis Napoleon Cavagnari Chin Timur Khan Roberto Valente Nur Muhammad Taraki Henning Haslund-Christensen Ravi Datt Mehta Sher Ali Khan Akram Yari Mohammed Daoud Khan Abul Djabar Abdul Rahman Carsten Thomassen Abdur Rahman Khan Mohammed Alim Khan Abdul Shakoor Rashad
Ravi Datt Mehta, Burhanuddin Rabbani, Rao Tula Ram, Sher Ali Khan, Habibullāh Kalakāni, Alexander Burnes, Mohammad Hashim Khan, Mohammad Hashim Maiwandwal, Mohammad Musa Shafiq and Carsten Thomassen have Kabul as the location of death and have the gender as male
Ravi Datt Mehta Burhanuddin Rabbani Rao Tula Ram Sher Ali Khan Habibullāh Kalakāni Alexander Burnes Mohammad Hashim Khan Mohammad Hashim Maiwandwal Mohammad Musa Shafiq Carsten Thomassen
action filter_type
action intersection
action find_reverse
entity Kabul
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Kabul'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:place_of_death resource:Kabul . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]