Simple Question (Direct)
Simple Question
Q381486
P20
Q56061
USER
Where did the expiration of Nour El-Sherif occur ?
(Q381486,P20,c(Q56061))
action filter_type
action find
entity Q381486
relation P20
type Q56061
['Q381486', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q381486 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Nour El-Sherif
action filter_type
action find
entity Nour El-Sherif
relation place of death
type administrative territorial entity
['Nour El-Sherif', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Nour_El-Sherif property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q85
SYSTEM
Cairo
Q85
(Q381486,P20,c(Q56061))
action filter_type
action find
entity Q381486
relation P20
type Q56061
The expiration of Nour El-Sherif occurred in [ANSWER]
['Q381486', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q381486 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Cairo
The expiration of Nour El-Sherif occurred in Cairo
Cairo
action filter_type
action find
entity Nour El-Sherif
relation place of death
type administrative territorial entity
['Nour El-Sherif', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Nour_El-Sherif property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q85
P206
Q355304
USER
Which watercourse is located in the neighbourhood of that administrative territory ?
(Q85,P206,c(Q355304))
action filter_type
action find
entity Q85
relation P206
type Q355304
['Q85', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q85 property:P206 ?c . ?c rdf:type ontology:Q355304 }
Cairo
action filter_type
action find
entity Cairo
relation located next to body of water
type watercourse
['Cairo', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Cairo property:located_next_to_body_of_water ?c . ?c rdf:type ontology:watercourse }
[]
watercourse
Q3392
SYSTEM
Nile
Q3392
(Q85,P206,c(Q355304))
action filter_type
action find
entity Q85
relation P206
type Q355304
Of [ANSWER] is located in the neighbourhood of that administrative territory
['Q85', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q85 property:P206 ?c . ?c rdf:type ontology:Q355304 }
Nile
Of Nile is located in the neighbourhood of that administrative territory
Nile
action filter_type
action find
entity Cairo
relation located next to body of water
type watercourse
['Cairo', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Cairo property:located_next_to_body_of_water ?c . ?c rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3392
P17
Q15617994
USER
How many administrative territories are Nile situated in ?
(Q3392,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3392
relation P17
type Q15617994
['Q3392', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Q3392 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Nile
action count
action filter_type
action find
entity Nile
relation country
type designation for an administrative territorial entity
['Nile', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Nile property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
11
Q1036 Q1037 Q967 Q974 Q986 Q115 Q114 Q79 Q924 Q958 Q1049
(Q3392,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3392
relation P17
type Q15617994
[ANSWER]
['Q3392', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Q3392 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Uganda Rwanda Burundi Democratic Republic of the Congo Eritrea Ethiopia Kenya Egypt Tanzania South Sudan Sudan
11
action count
action filter_type
action find
entity Nile
relation country
type designation for an administrative territorial entity
['Nile', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { resource:Nile property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3392
P974
Q355304
USER
Which rivers have that one as their parent rive ?
action filter_type
action find
entity Q3392
relation P974
type Q355304
SELECT DISTINCT ?c WHERE { resource:Q3392 property:P974 ?c . ?c rdf:type ontology:Q355304 }
Nile
action filter_type
action find
entity Nile
relation tributary
type watercourse
SELECT DISTINCT ?c WHERE { resource:Nile property:tributary ?c . ?c rdf:type ontology:watercourse }
[]
watercourse
Q4814791 Q882739 Q753897
SYSTEM
White Nile, Blue Nile, Atbarah River
Q803634 Q821911 Q882739 Q4814791 Q753897
action filter_type
action find
entity Q3392
relation P974
type Q355304
[ANSWERS] have that one as their parent rive
SELECT DISTINCT ?c WHERE { resource:Q3392 property:P974 ?c . ?c rdf:type ontology:Q355304 }
Bahr el Ghazal River Sobat River Blue Nile White Nile Atbarah River
White Nile, Blue Nile and Atbarah River have that one as their parent rive
White Nile Blue Nile Atbarah River
action filter_type
action find
entity Nile
relation tributary
type watercourse
SELECT DISTINCT ?c WHERE { resource:Nile property:tributary ?c . ?c rdf:type ontology:watercourse }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P974
Q355304
USER
How many watercourses have that watercourse as their tributary ?
(c(Q355304),P974,Q753897)
[{'concept': 'Q355304'}, 'P974', 'Q753897']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q159675 resource:Q753897 . ?z rdf:type ontology:Q355304 }
[{'concept': 'watercourse'}, 'tributary', 'Atbarah River']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:tributary resource:Atbarah_River . ?z rdf:type ontology:watercourse }
[]
watercourse
Quantitative|Count|Single entity type|Clarification
Q4814791
SYSTEM
Did you mean White Nile ?
(c(Q355304),P974,Q4814791) (c(Q355304),P974,Q882739) (c(Q355304),P974,Q753897)
[ANSWER]
[{'concept': 'Q355304'}, 'P974', 'Q4814791'] [{'concept': 'Q355304'}, 'P974', 'Q882739'] [{'concept': 'Q355304'}, 'P974', 'Q753897']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q159675 resource:Q753897 . ?z rdf:type ontology:Q355304 }
Did you mean White Nile ?
White Nile
[{'concept': 'watercourse'}, 'tributary', 'White Nile'] [{'concept': 'watercourse'}, 'tributary', 'Blue Nile'] [{'concept': 'watercourse'}, 'tributary', 'Atbarah River']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:tributary resource:Atbarah_River . ?z rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Atbarah River. Could you tell me the answer for that?
(c(Q355304),P974,Q753897)
Q753897
[{'concept': 'Q355304'}, 'P974', 'Q753897']
[{'concept': 'watercourse'}, 'tributary', 'Atbarah River']
[]
SYSTEM
1
Q3392
(c(Q355304),P974,Q753897)
[ANSWER]
[{'concept': 'Q355304'}, 'P974', 'Q753897']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q159675 resource:Q753897 . ?z rdf:type ontology:Q355304 }
Nile
1
[{'concept': 'watercourse'}, 'tributary', 'Atbarah River']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:tributary resource:Atbarah_River . ?z rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4814791
P403
Q355304
USER
Where does the drainage of White Nile end ?
(Q4814791,P403,c(Q355304))
action filter_type
action find
entity Q4814791
relation P403
type Q355304
['Q4814791', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q355304 . resource:Q4814791 property:P403 ?p }
White Nile
action filter_type
action find
entity White Nile
relation mouth of the watercourse
type watercourse
['White Nile', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:watercourse . resource:White_Nile property:mouth_of_the_watercourse ?p }
[]
watercourse
Q3392
SYSTEM
Nile
Q3392
(Q4814791,P403,c(Q355304))
action filter_type
action find
entity Q4814791
relation P403
type Q355304
The drainage of White [ANSWER] ends of [ANSWER]
['Q4814791', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q355304 . resource:Q4814791 property:P403 ?p }
Nile
The drainage of White Nile ends of Nile
Nile
action filter_type
action find
entity White Nile
relation mouth of the watercourse
type watercourse
['White Nile', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:watercourse . resource:White_Nile property:mouth_of_the_watercourse ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2464726
Q355304
USER
And how about Šešuvis?
(Q2464726,P403,c(Q355304))
action filter_type
action find
entity Q2464726
relation P403
type Q355304
['Q2464726', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q355304 . resource:Q2464726 property:P403 ?r }
Šešuvis
action filter_type
action find
entity Šešuvis
relation mouth of the watercourse
type watercourse
['Šešuvis', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:watercourse . resource:Šešuvis property:mouth_of_the_watercourse ?r }
[]
watercourse
Q1332574
SYSTEM
Jūra
Q1332574
(Q2464726,P403,c(Q355304))
action filter_type
action find
entity Q2464726
relation P403
type Q355304
[ANSWER]
['Q2464726', 'P403', {'concept': 'Q355304'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q355304 . resource:Q2464726 property:P403 ?r }
Jūra
Jūra
action filter_type
action find
entity Šešuvis
relation mouth of the watercourse
type watercourse
['Šešuvis', 'mouth of the watercourse', {'concept': 'watercourse'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:watercourse . resource:Šešuvis property:mouth_of_the_watercourse ?r }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q85
P21 P20
Q502895
USER
Which people died in Cairo and are a male ?
AND((c(Q502895),P20,Q85), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q85
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q85'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q85 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
male Cairo
action filter_type
action intersection
action find_reverse
entity Cairo
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Cairo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Cairo . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
common name
Q2827458 Q3479534 Q574136 Q386694 Q6932523 Q7030511 Q7675373 Q12223685 Q2583279 Q104392
SYSTEM
Some of them are Ahmad al-Tifashi, Serge Sauneron, Anthony Wilkin, William Willcocks, Muhammad Imaaduddeen VI, Nicos Nicolaides, Taha Basry, Abdallah Kamal, Ibrahim Sultan Ali, Muhammad Naguib
Q10989102 Q377018 Q3469510 Q6943304 Q15690454 Q611914 Q386694 Q7107101 Q400919 Q2827448 Q949665 Q285947 Q12238301 Q4166051 Q755840 Q4819583 Q293551 Q3331514 Q3351887 Q63043 Q4822624 Q2993475 Q4116114 Q2086849 Q3340184 Q379886 Q468432 Q4164765 Q1361405 Q335443 Q989568 Q20393371 Q12881814 Q2365699 Q62219 Q2468387 Q4165430 Q217915 Q4162238 Q1448439 Q249121 Q3773338 Q981905 Q1606486 Q368209 Q471116 Q658401 Q307231 Q12810870 Q1615021 Q3588324 Q1112754 Q5754889 Q1391733 Q4724986 Q1297318 Q286573 Q3653165 Q4118638 Q12217542 Q2376886 Q7030511 Q2362588 Q98163 Q6932472 Q4664743 Q1586250 Q1059713 Q2213803 Q558305 Q12223685 Q7418403 Q1041315 Q11950807 Q467895 Q319302 Q2827555 Q2525540 Q5410881 Q336421 Q403535 Q477834 Q6893171 Q293604 Q4157256 Q926452 Q1040466 Q5917207 Q16028972 Q4003474 Q1054731 Q6355364 Q257745 Q317257 Q646776 Q16123151 Q1756250 Q3840078 Q503389 Q4118552 Q401491 Q2160858 Q68751 Q262642 Q61136 Q286542 Q2628607 Q643691 Q1241081 Q287492 Q846536 Q3196037 Q3196036 Q5351117 Q4164786 Q1391679 Q574136 Q128245 Q335243 Q366744 Q699336 Q2821444 Q944677 Q2988864 Q2528405 Q17626519 Q1459134 Q2827458 Q944472 Q733984 Q344226 Q5661461 Q155540 Q4166439 Q401563 Q3328262 Q1509035 Q42013 Q446851 Q1447476 Q1749070 Q492277 Q4681547 Q4681540 Q4165823 Q3318681 Q365600 Q6082351 Q736571 Q735036 Q365930 Q158765 Q734018 Q3573108 Q2869336 Q705722 Q2669418 Q20961825 Q2131230 Q76858 Q1640082 Q471046 Q203142 Q307226 Q311839 Q3932761 Q4664581 Q981929 Q4174272 Q559554 Q1039329 Q3866924 Q557896 Q319146 Q3318647 Q699342 Q18214811 Q168705 Q274909 Q2335746 Q560101 Q6734388 Q2874705 Q12190169 Q4695916 Q718690 Q334703 Q3594808 Q6734407 Q3318946 Q4054450 Q1655892 Q1709387 Q285731 Q4116132 Q328734 Q6943267 Q7357951 Q100569 Q11047654 Q1257 Q496850 Q4275609 Q127398 Q293771 Q3271495 Q1858439 Q17492437 Q981803 Q3557640 Q1262212 Q248996 Q3132612 Q330616 Q154373 Q3107917 Q602543 Q202650 Q280412 Q202308 Q312611 Q403740 Q2827501 Q7282963 Q1850060 Q1391690 Q11021162 Q2834385 Q94027 Q381486 Q10973369 Q19893845 Q1261256 Q166458 Q12223589 Q551961 Q288067 Q14950598 Q3383166 Q3361986 Q1033917 Q7176 Q3734372 Q3306117 Q16582686 Q3385887 Q982549 Q308535 Q2198528 Q1031954 Q1961122 Q2977410 Q328765 Q1528957 Q4165393 Q740282 Q1710270 Q557812 Q11104 Q3085906 Q3492890 Q2338934 Q12181794 Q607102 Q307784 Q285953 Q307629 Q358669 Q4668194 Q2499944 Q1531298 Q170515 Q4896165 Q3605297 Q17057004 Q307814 Q4118657 Q4663751 Q3743671 Q515980 Q307244 Q261691 Q2019161 Q459921 Q325513 Q1397028 Q969085 Q4164807 Q4724890 Q1396750 Q182781 Q730190 Q3945294 Q481499 Q6734433 Q5639874 Q376678 Q12227261 Q4792637 Q4115732 Q433773 Q4073406 Q2899011 Q4164775 Q1722834 Q6932523 Q648272 Q48703 Q6758211 Q2843357 Q5709862 Q5981584 Q305962 Q2916865 Q400643 Q365919 Q2084797 Q12269623 Q2118574 Q681041 Q3036367 Q3384927 Q2583279 Q431323 Q4119356 Q4119425 Q4119354 Q350911 Q968721 Q4841100 Q284627 Q913423 Q423563 Q1399375 Q370251 Q104392 Q2916044 Q2829271 Q2480151 Q602794 Q745216 Q2850118 Q305063 Q560307 Q39691 Q2223815 Q16623831 Q332475 Q946928 Q4890164 Q3380886 Q3479534 Q401372 Q16142836 Q6355383 Q311789 Q2456929 Q6386825 Q5949853 Q4165417 Q116430 Q327199 Q3131689 Q2067933 Q2897186 Q11773846 Q960740 Q6535677 Q481505 Q293505 Q3102466 Q7675373 Q12208663 Q2571543 Q1884962 Q2920562 Q16019028 Q340519 Q5496775 Q98196 Q9294 Q2640707 Q18811793 Q6650154 Q537626 Q1699205 Q2137982 Q981221 Q4076227 Q39524 Q3056901 Q286532 Q2226265 Q211379 Q3741641 Q230291 Q786839 Q6807696 Q4702676 Q11904692 Q1909294
AND((c(Q502895),P20,Q85), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q85
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] died in Cairo and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q85'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q85 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
Mahmoud Shokoko Mírzá Abu'l-Fadl Salah Abu Seif Mustafa Mashhur Enrique Otal y Ric Walter IV, Count of Brienne William Willcocks Osman Saleh Sabbe Ahmad al-Qalqashandi Ahmad Muhammad Shakir Raimondo Franchetti Al-Faiz Max Meyerhof Suleiman Khater Atef Sedki Mehmed Ertuğrul Efendi Ahmed Mohammed al-Maqqari Abdel Rahman el-Abnudi Omar Osman Rabeh Günther Quandt Zeyneddin Karaca Bey Hafez Ibrahim Zakariyya Ahmad Az-Zâhir Sayf ad-Dîn Khuchqadam Nicolas Champy Shirkuh Al-Suyuti Abdel Moneim Madbouly Gustave Revilliod Al-Mu'izz li-Din Allah Félix Éboué Hassan El-Seify Nikolaos Kounelakis Eliyahu Bet-Zuri Hussein el-Shafei Mohamed Abdel Ghani el-Gamasy Kamal el-Shennawi Piri Reis Ignaz Tiegerman Franz Oppenheim Al Mansur Qalawun Gabriel Alomar i Villalonga Farid Shawki Henry Bacon Salama Moussa Ibn Hajar al-Asqalani Abd al-Rahman al-Jabarti Abd al-Halim Abu Ghazala Mihran Damadian Mahmoud Abdel Aziz Émile Baraize Muhammad ibn Abi Bakr Charles-Edouard Geisendorf Farag Foda Ali Mahmoud Taha E. Herbert Norman Al-Salih Hajji Arpiar Arpiarian Bahgat Osman Sayed Zayan Hédi Saidi Nicos Nicolaides Muhammad Husayn Haykal Günther Roeder Muhammad Hamid Abu al-Nasr Abdel Hadi Al Gazzar Mohamed el-Bisatie Khalil Mutran Salah Ragab Baibars II Abdallah Kamal Sanjar al-Jawli Karl von Diebitsch Tala'i' ibn Ruzzik Mohammed Abdel Wahab Jean Baptiste Kléber Ahmed Fouad Negm Mahmoud Mokhtar El-Tetsh Muḥammad Ibn-Ibrāhīm Ibn-Ǧamāʿa Robert Crewe-Milnes, 1st Marquess of Crewe Mustafa Fahmi Pasha Pope Macarius III of Alexandria Mohammed Karim Al-Maqrizi Sergei Nikolaevich Delwig Saad el-Shazly Carl Schmidt Hovhannes Setian Abdel-Kader Telmissany Umberto Ricci Yervant Odian Kamal Adham Badr al-Din al-Ayni Abdel Hamid Badawi Ahmed Asmat Abdel-Meguid Ali Abd al Latif Mustafa Sabri Luigi Razza Stéphanos II Ghattas Alexander Saroukhan Ahmed Shawqi Chaim Nahum Johann von Leers Boutros Ghali Gottfried von Cramm Al-Aziz Billah Thabet El-Batal David Holden Johannes von Phanijoit Ali ibn Ridwan Ibn al-Adim Khalil Kalfat Khalil Morsi El Deif Ahmed Emad Hamdy Mahmoud an-Nukrashi Pasha Anthony Wilkin Mohammad Reza Pahlavi Abu Rawka Sa'id of Egypt Mahmoud Fawzi Abdullah al-Qasemi Lee Stack Salah Abdel Sabour Mahmoud Sami el-Baroudi Cecil Campbell Mahmoud Mokhtar Ahmad al-Tifashi Louis Pierre Mouillard Pope Cyril VI of Alexandria Hovsep Aznavur Harold Lang Hans von Bülow Naguib Pasha Mahfouz Ahmed Zaki Mussad Nur Georges Parcq Anwar el Sadat Ali Sabri Franz Josef Bucher Nasser Al-Kharafi Andon Zako Çajupi Adel Amin Hafez Adel Adham Ismail Yasin Mohammed Leftah Adolph von Koerber Ömer Faruk Osmanoğlu Hassan al-Hudaybi Mohamed Hassanein Heikal Hussein Kamel of Egypt George Herbert, 5th Earl of Carnarvon Gamal El-Ghitani Yuhanna al-Armani Atef Salem Oswald Chambers Mustafa Kamil Pasha Farag Foda Raouf Salama Moussa Theodor Bilharz Abu Hayyan al-Gharnati Rashid Rida Ibn al-Farid Abdel Hakim Amer Fuad I of Egypt Renato Prunas Abd al-Rahim ibn al-Husain al-'Iraqi Rifa'a al-Tahtawi Armenak Yekarian Jawhar al-Siqilli Khumarawayh ibn Ahmad ibn Tulun Muhammad Husayn al-Dhahabi Tuman bay II Ibn al-Nafis Mohamed Khan Labib Habachi Pierre Gauchat Al-Masudi Émile Bayard Simon the Tanner Hassan Fathy Mahmoud Mohamed Shaker Awni Abd al-Hadi Izz al-Din ibn 'Abd al-Salam Ahmed Mohamed Gulaid John Ledyard Abu Bakr Khairat Abd Al-Wahhab bin Ahmad Al-Misri Al-Sharani Mahmoud Salem Mohammad Nouh Abdel Latif Boghdadi Ibn Nubata Ahmad Izzat al-Abid Al-Hafiz Hayır Bey Saad Zaghloul Mustafa Ibn Umar El-Kanemi of Borno Roger Carmichael Robert Owen Patrick Leclercq Saeed Saleh Boutros Boutros-Ghali René Guénon Charles MacGregor Maimonides Ahmad ibn Muhammad al-Tahawi Léonard Duval Umar al-Tilmisani Jakob Pallenberg Dhul-Nun al-Misri Victor de Compiègne Jurji Zaydan Barquq Henry Barakat Al-Damiri Aribert Heim Giulio Adamoli Moshe Marzouk Abd el-Krim As-Sàlih Ismaïl Evliya Çelebi Youssef Chahine Mustafa Khalil Ahmed Batrawi Ragheb Moftah Joseph Walshe Louis Awad Ahmed Marei Alexeï Smirnov Ali Treki Nour El-Sherif Hamo Ohanjanyan Ahmad ibn al-Amin al-Shinqiti Georges Anawati Gamal al-Banna Abdullah ibn Muhammad Muhammad ibn Abd al-Wahhab Alessandro Barsanti Al-Nuwayri Hussein Kamel Montasser Markos II Khouzam Stephan Rosti Wasfi al-Tal Naguib Mahfouz Eugenio Griffini Vahan Tekeyan Nizar al-Mustafa li-din Allah Pierre Leclerc d'Ostein Gustave Le Gray Abdul Basit 'Abd us-Samad Ahmad ibn Yusuf Ihsan Abdel Quddous Eliyahu Hakim Claude François Thévenod Taha Hussein Ali Pasha Mubarak Hussein Kamal Qasim Amin Jamil Mardam Bey Barsbay Ibn al-Ḥaytham François Thomas Galbaud-Dufort Onofrio Abbate Talaat Sadat Ibrāhīm ibn ‘Abd al-Ghaffar al-Dasūqī Shukri Mustafa Abdul Khalek Hassouna Al-Zafir Abdullah al-Mahdi Billah Edwar al-Kharrat Abo El Seoud El Ebiary Abd al-Rahman al-Kawakibi Dominique Martin Dupuy Omar Sharif Şah Budak Bey Adi'b Ishaq ad-Dimashqi Khair al-Din al-Zirikli Abdul Rahman Hassan Azzam Elias Moadab Abbas Fares Kamal El Sheikh Reda Mahmoud Hafez Mohamed Abdel Hamid al-Sarraj Ali Bey Al-Kabir Tawfiq al-Hakim Ibn Yunus Mahmud Shaltut Ibn Manzur Ignatius Ephrem II Rahmani Isaac Fanous Ali Ibrahim Faris ad-Din Aktai Muhammad Ali Pasha Chris Harman Salama Soliman Ibn Taghribirdi Mahmoud Younis Haji Bashir Ismail Yusuf Yahya Haqqi Essam Baheeg Armand Muhammad Tawfiq Nasim Pasha Bernard Lyot Aziz El-Shawan Bernhard Grdseloff Salah Jahin Kamal Hassan Ali Muhammad Imaaduddeen VI Ali Hassan Kuban Al-Muzani Jalaluddin al-Mahalli Amin El Maalouf Helmy Bahgat Badawi Loutfy Boulos Abbas el-Akkad 'Aziz 'Ali al-Misri Ahmad Fuad Mohieddin Ahmed Orabi Pahor Labib Andrea Debono Ammar El Sherei Thomas Seddon Stephen IV of Cilicia Pierre Eustache Leduc Ibrahim Sultan Ali Al-Mughith Umar Raouf Abbas Magdi Mehanna Fekry Abaza Ian Brownlie Mustafa Mahmud Badr al-Jamali Al-Hakim I Mohamed Abdelwahab Abd al-Ghani al-Maqdisi Ibrahim al-Yaziji Subbayya Sivasankaranarayana Pillai Muhammad Naguib Paul Kraus Al-Qastallani Abd al-Hamid Kishk Antonio Lasciac Soliman Pasha Anis Mansour Sheikh Imam Nasr Abu Zayd Johann Ludwig Burckhardt Abdel Rahman Badawi Zaki Osman Walter Guinness, 1st Baron Moyne Joseph Sulkowski Benoît Jules Mure Ezzel Dine Zulficar Serge Sauneron Ahmad Maher Amer Abdel Maksoud Kamal Amin Ibrahim Pasha of Egypt Youssef Wahba Kemal Faruki Hussein Refki Pasha Youssef Wahbi Idris of Libya Abu l-Fadl Hasdai ibn Yusuf ibn Hasdai Henri Munier Stéphanos I Sidarouss Samuel Vital Cyril Dušek Louis Maurice Adolphe Linant de Bellefonds Ibn Daqiq al-Eid Abu al-Misk Kafur Al-Nasir Muhammad Georges Chehata Anawati Taha Basry Hamada Emam Talaat Harb Mahmoud Riad David Conforte Diaa al-Din Dawoud Ahimaaz ben Paltiel Freddie Mwila Jr. Hans Eisele Ibn Khaldun Musa Bigiev Giambattista Bietti Mohammed Naghi Muhammad abd-al-Salam Faraj John Beasley Greene Reginald Engelbach Fathi Arafat Eugene Balabin Gamal Abdel Nasser Ernest Coquebert de Montbret Sayf ad-Din Inal Makram Ebeid Sayyid Qutb Federico Bonola Hassan al-Banna Yaqub ibn Killis Shawqi Daif Al-Kawthari Al-'Adil ibn al-Sallar Matta El Meskeen
Ahmad al-Tifashi, Serge Sauneron, Anthony Wilkin, William Willcocks, Muhammad Imaaduddeen VI, Nicos Nicolaides, Taha Basry, Abdallah Kamal, Ibrahim Sultan Ali and Muhammad Naguib died in Cairo and are a male
Ahmad al-Tifashi Serge Sauneron Anthony Wilkin William Willcocks Muhammad Imaaduddeen VI Nicos Nicolaides Taha Basry Abdallah Kamal Ibrahim Sultan Ali Muhammad Naguib
action filter_type
action intersection
action find_reverse
entity Cairo
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Cairo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Cairo . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12223685
P39
Q12737077
USER
What was the position held by that person ?
(Q12223685,P39,c(Q12737077))
action filter_type
action find
entity Q12223685
relation P39
type Q12737077
['Q12223685', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q12223685 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Abdallah Kamal
action filter_type
action find
entity Abdallah Kamal
relation position held
type occupation
['Abdallah Kamal', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Abdallah_Kamal property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q6932523
SYSTEM
Did you mean Muhammad Imaaduddeen VI ?
Q2827458 Q3479534 Q574136 Q386694 Q6932523 Q7030511 Q7675373 Q12223685 Q2583279 Q104392
(Q2827458,P39,c(Q12737077)) (Q3479534,P39,c(Q12737077)) (Q574136,P39,c(Q12737077)) (Q386694,P39,c(Q12737077)) (Q6932523,P39,c(Q12737077)) (Q7030511,P39,c(Q12737077)) (Q7675373,P39,c(Q12737077)) (Q12223685,P39,c(Q12737077)) (Q2583279,P39,c(Q12737077)) (Q104392,P39,c(Q12737077))
[ANSWER]
['Q2827458', 'P39', {'concept': 'Q12737077'}] ['Q3479534', 'P39', {'concept': 'Q12737077'}] ['Q574136', 'P39', {'concept': 'Q12737077'}] ['Q386694', 'P39', {'concept': 'Q12737077'}] ['Q6932523', 'P39', {'concept': 'Q12737077'}] ['Q7030511', 'P39', {'concept': 'Q12737077'}] ['Q7675373', 'P39', {'concept': 'Q12737077'}] ['Q12223685', 'P39', {'concept': 'Q12737077'}] ['Q2583279', 'P39', {'concept': 'Q12737077'}] ['Q104392', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q12223685 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Ahmad al-Tifashi Serge Sauneron Anthony Wilkin William Willcocks Muhammad Imaaduddeen VI Nicos Nicolaides Taha Basry Abdallah Kamal Ibrahim Sultan Ali Muhammad Naguib
Did you mean Muhammad Imaaduddeen VI ?
Muhammad Imaaduddeen VI
['Ahmad al-Tifashi', 'position held', {'concept': 'occupation'}] ['Serge Sauneron', 'position held', {'concept': 'occupation'}] ['Anthony Wilkin', 'position held', {'concept': 'occupation'}] ['William Willcocks', 'position held', {'concept': 'occupation'}] ['Muhammad Imaaduddeen VI', 'position held', {'concept': 'occupation'}] ['Nicos Nicolaides', 'position held', {'concept': 'occupation'}] ['Taha Basry', 'position held', {'concept': 'occupation'}] ['Abdallah Kamal', 'position held', {'concept': 'occupation'}] ['Ibrahim Sultan Ali', 'position held', {'concept': 'occupation'}] ['Muhammad Naguib', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Abdallah_Kamal property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Abdallah Kamal. Could you tell me the answer for that?
(Q12223685,P39,c(Q12737077))
Q12223685
['Q12223685', 'P39', {'concept': 'Q12737077'}]
['Abdallah Kamal', 'position held', {'concept': 'occupation'}]
[]
Q19359412
SYSTEM
Member of the Shura Council
Q19359412
(Q12223685,P39,c(Q12737077))
action filter_type
action find
entity Q12223685
relation P39
type Q12737077
The position held by that person was [ANSWER]
['Q12223685', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q12223685 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of the Shura Council
The position held by that person was Member of the Shura Council
Member of the Shura Council
action filter_type
action find
entity Abdallah Kamal
relation position held
type occupation
['Abdallah Kamal', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Abdallah_Kamal property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q85 Q613
P190
Q56061
USER
How many administrative territories are twin city of Cairo and Emirate of Dubai ?
(c(Q56061),P190,Q85) (c(Q56061),P190,Q613)
action count
action intersection
action filter_type
action find_reverse
entity Q85
relation P190
type Q56061
action filter_type
action find_reverse
entity Q613
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q85'] [{'concept': 'Q56061'}, 'P190', 'Q613']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P190 resource:Q85 . ?l rdf:type ontology:Q56061 . ?l property:P190 resource:Q613 . ?l rdf:type ontology:Q56061 }
Cairo Emirate of Dubai
action count
action intersection
action filter_type
action find_reverse
entity Cairo
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Emirate of Dubai
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Cairo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Emirate of Dubai']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:sister_city resource:Cairo . ?l rdf:type ontology:administrative_territorial_entity . ?l property:sister_city resource:Emirate_of_Dubai . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q3766 Q3820 Q406
(c(Q56061),P190,Q85) (c(Q56061),P190,Q613)
action count
action intersection
action filter_type
action find_reverse
entity Q85
relation P190
type Q56061
action filter_type
action find_reverse
entity Q613
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q85'] [{'concept': 'Q56061'}, 'P190', 'Q613']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P190 resource:Q85 . ?l rdf:type ontology:Q56061 . ?l property:P190 resource:Q613 . ?l rdf:type ontology:Q56061 }
Damascus Beirut Istanbul
3
action count
action intersection
action filter_type
action find_reverse
entity Cairo
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Emirate of Dubai
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Cairo'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Emirate of Dubai']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:sister_city resource:Cairo . ?l rdf:type ontology:administrative_territorial_entity . ?l property:sister_city resource:Emirate_of_Dubai . ?l rdf:type ontology:administrative_territorial_entity }
[]