Simple Question (Direct)
Simple Question
Q4725075
P19
Q515
USER
Which city is the place of birth of Ali Mutashar ?
(Q4725075,P19,c(Q515))
action filter_type
action find
entity Q4725075
relation P19
type Q515
['Q4725075', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q4725075 property:P19 ?t . ?t rdf:type ontology:Q515 }
Ali Mutashar
action filter_type
action find
entity Ali Mutashar
relation place of birth
type city
['Ali Mutashar', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Ali_Mutashar property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
city
Q1530
SYSTEM
Baghdad
Q1530
(Q4725075,P19,c(Q515))
action filter_type
action find
entity Q4725075
relation P19
type Q515
[ANSWER] is the place of birth of Ali Mutashar
['Q4725075', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?t WHERE { resource:Q4725075 property:P19 ?t . ?t rdf:type ontology:Q515 }
Baghdad
Baghdad is the place of birth of Ali Mutashar
Baghdad
action filter_type
action find
entity Ali Mutashar
relation place of birth
type city
['Ali Mutashar', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?t WHERE { resource:Ali_Mutashar property:place_of_birth ?t . ?t rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1530
P159
Q43229
USER
Which organizations have their HQ location at that city ?
(c(Q43229),P159,Q1530)
action filter_type
action find_reverse
entity Q1530
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1530']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q1530 . ?p rdf:type ontology:Q43229 }
Baghdad
action filter_type
action find_reverse
entity Baghdad
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Baghdad']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:Baghdad . ?p rdf:type ontology:organization }
[]
organization
Q907655 Q4117981 Q4838508
SYSTEM
Iraqi Republic Railways, Warka Bank, Babylon Bank
Q4117981 Q4838508 Q5221891 Q4119172 Q4118708 Q4118837 Q7831929 Q1672424 Q907655 Q4118724 Q4119089 Q4119069 Q2075662 Q4118823 Q4693879 Q1369913
(c(Q43229),P159,Q1530)
action filter_type
action find_reverse
entity Q1530
relation P159
type Q43229
[ANSWERS] have their HQ location at that city
[{'concept': 'Q43229'}, 'P159', 'Q1530']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q1530 . ?p rdf:type ontology:Q43229 }
Warka Bank Babylon Bank Dar Es Salaam Investment Bank Rafidain Bank Industrial Bank of Iraq Rasheed Bank Trade Bank of Iraq Iraq National Oil Company Iraqi Republic Railways Basrah International Bank for Investment Real Estate Bank of Iraq Gulf Commercial Bank Bank of Baghdad Bank of Iraq Agricultural Cooperative Bank of Iraq Iraq Stock Exchange
Iraqi Republic Railways, Warka Bank and Babylon Bank have their HQ location at that city
Iraqi Republic Railways Warka Bank Babylon Bank
action filter_type
action find_reverse
entity Baghdad
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Baghdad']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:Baghdad . ?p rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q907655 Q4117981 Q4838508
P159
Q515
USER
Which cities are the headquarter locations of those organizations ?
(Q907655,P159,c(Q515)) (Q4117981,P159,c(Q515)) (Q4838508,P159,c(Q515))
action filter_type
action find
entity prev_answer
relation P159
type Q515
['Q907655', 'P159', {'concept': 'Q515'}] ['Q4117981', 'P159', {'concept': 'Q515'}] ['Q4838508', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . VALUES ( ?w ) { ( resource:Q4117981 ) ( resource:Q4838508 ) ( resource:Q5221891 ) } . ?w property:P159 ?m }
Iraqi Republic Railways Warka Bank Babylon Bank
action filter_type
action find
entity prev_answer
relation headquarters location
type city
['Iraqi Republic Railways', 'headquarters location', {'concept': 'city'}] ['Warka Bank', 'headquarters location', {'concept': 'city'}] ['Babylon Bank', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . VALUES ( ?w ) { ( resource:Warka_Bank ) ( resource:Babylon_Bank ) ( resource:Dar_Es_Salaam_Investment_Bank ) } . ?w property:headquarters_location ?m }
[]
city
Q1530 Q1530 Q1530
SYSTEM
Baghdad
Q1530 Q1530 Q1530
(Q907655,P159,c(Q515)) (Q4117981,P159,c(Q515)) (Q4838508,P159,c(Q515))
action filter_type
action find
entity prev_answer
relation P159
type Q515
[ANSWER], [ANSWER] and [ANSWER] are the headquarter locations of those organizations
['Q907655', 'P159', {'concept': 'Q515'}] ['Q4117981', 'P159', {'concept': 'Q515'}] ['Q4838508', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . VALUES ( ?w ) { ( resource:Q4117981 ) ( resource:Q4838508 ) ( resource:Q5221891 ) } . ?w property:P159 ?m }
Baghdad Baghdad Baghdad
Baghdad, Baghdad and Baghdad are the headquarter locations of those organizations
Baghdad Baghdad Baghdad
action filter_type
action find
entity prev_answer
relation headquarters location
type city
['Iraqi Republic Railways', 'headquarters location', {'concept': 'city'}] ['Warka Bank', 'headquarters location', {'concept': 'city'}] ['Babylon Bank', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . VALUES ( ?w ) { ( resource:Warka_Bank ) ( resource:Babylon_Bank ) ( resource:Dar_Es_Salaam_Investment_Bank ) } . ?w property:headquarters_location ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1530
P190
Q56061
USER
Which administrative territories are twin towns of Baghdad ?
(Q1530,P190,c(Q56061))
action filter_type
action find
entity Q1530
relation P190
type Q56061
['Q1530', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1530 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Baghdad
action filter_type
action find
entity Baghdad
relation sister city
type administrative territorial entity
['Baghdad', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Baghdad property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3805 Q3820 Q3551
SYSTEM
Amman, Beirut, Rabat
Q3805 Q18808 Q3551 Q3820 Q486282
(Q1530,P190,c(Q56061))
action filter_type
action find
entity Q1530
relation P190
type Q56061
[ANSWERS] are twin towns of Baghdad
['Q1530', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1530 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Amman Pyongyang Rabat Beirut Pavlodar
Amman, Beirut and Rabat are twin towns of Baghdad
Amman Beirut Rabat
action filter_type
action find
entity Baghdad
relation sister city
type administrative territorial entity
['Baghdad', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Baghdad property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3805 Q3820 Q3551
P20
Q502895
USER
Which people expired at those administrative territories ?
(c(Q502895),P20,Q3805) (c(Q502895),P20,Q3820) (c(Q502895),P20,Q3551)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q3805'] [{'concept': 'Q502895'}, 'P20', 'Q3820'] [{'concept': 'Q502895'}, 'P20', 'Q3551']
SELECT DISTINCT ?q WHERE { ?q property:P20 ?s . ?q rdf:type ontology:Q502895 . VALUES ( ?s ) { ( resource:Q3805 ) ( resource:Q18808 ) ( resource:Q3551 ) } }
Amman Beirut Rabat
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Amman'] [{'concept': 'common name'}, 'place of death', 'Beirut'] [{'concept': 'common name'}, 'place of death', 'Rabat']
SELECT DISTINCT ?q WHERE { ?q property:place_of_death ?s . ?q rdf:type ontology:common_name . VALUES ( ?s ) { ( resource:Amman ) ( resource:Pyongyang ) ( resource:Rabat ) } }
[]
common name
Q146906 Q69103 Q193874
SYSTEM
Hussein of Jordan, Hassan II of Morocco, Mohammed V of Morocco
Q4502514 Q7294932 Q1349332 Q3064473 Q12479977 Q420743 Q307318 Q12221471 Q6356584 Q298649 Q2096713 Q15267081 Q4119846 Q4116050 Q307393 Q20382795 Q524678 Q7600022 Q2257282 Q15855614 Q950579 Q6399472 Q4166013 Q12222363 Q18575874 Q3399007 Q2039672 Q169841 Q4842615 Q4054452 Q560078 Q272791 Q400824 Q6891861 Q269437 Q454863 Q146906 Q15440358 Q4118174 Q977935 Q12208238 Q24287057 Q144288 Q2508067 Q514356 Q2571610 Q380471 Q4778819 Q6880732 Q5648177 Q128906 Q4024181 Q4116097 Q315534 Q3286564 Q1871590 Q3128159 Q2094489 Q2856629 Q19829745 Q6983372 Q318505 Q2464719 Q2827441 Q7409365 Q19918124 Q607841 Q369936 Q3047967 Q2474371 Q647048 Q3416184 Q7828764 Q1555695 Q20991650 Q5076473 Q3381012 Q1608203 Q1302044 Q5949835 Q18634972 Q13039857 Q317744 Q12213939 Q3310858 Q1528279 Q1339209 Q12210813 Q2393996 Q2158890 Q2749095 Q588151 Q962101 Q1679463 Q16012037 Q1517304 Q3389824 Q2866999 Q584868 Q3128162 Q4022031 Q329235 Q19662350 Q3101783 Q164745 Q330933 Q5529586 Q732533 Q3804458 Q551153 Q733435 Q3425987 Q1472416 Q721709 Q729703 Q2038853 Q4274690 Q18634644 Q324779 Q19839767 Q1555165 Q3192317 Q984668 Q2853929 Q980758 Q2046354 Q365971 Q2470332 Q1329184 Q2378564 Q3776073 Q12409588 Q537224 Q5291108 Q380422 Q4119921 Q3180125 Q548748 Q2654973 Q16013412 Q888030 Q59981 Q396606 Q5523693 Q18551950 Q2652028 Q11158665 Q6538216 Q22210758 Q12230670 Q446826 Q6084746 Q453555 Q293669 Q467879 Q12198522 Q15265592 Q3793252 Q449407 Q543316 Q471263 Q2916336 Q3901099 Q1391669 Q733452 Q2600118 Q15281352 Q2545487 Q1567527 Q930186 Q2666876 Q6069435 Q1363528 Q516118 Q1280525 Q3318922 Q889126 Q447489 Q1605972 Q1360099 Q16030198 Q2824664 Q1871609 Q403528 Q317580 Q1344225 Q7908609 Q4115816 Q2311487 Q1396641 Q472759 Q3769897 Q7412751 Q16038540 Q17054393 Q1657602 Q913585 Q283908 Q24845821 Q610062 Q3342306 Q3596201 Q5480803 Q16124623 Q733602 Q2226193 Q4166602 Q369696 Q1639043 Q5984666 Q1507548 Q630452 Q3298980 Q2655676 Q6103143 Q6957693 Q146465 Q192778 Q16581882 Q285130 Q423228 Q328786 Q22948641 Q118272 Q2439764 Q2821129 Q3407804 Q3318631 Q652253 Q6480456 Q3052331 Q3102275 Q2827476 Q2259085 Q273791 Q3318679 Q18214763 Q3784838 Q307312 Q10524370 Q12178619 Q15726947 Q14566732 Q599506 Q1996224 Q2821293 Q3039489 Q164535 Q16011501 Q2821266 Q3318542 Q3039496 Q2627004 Q19629843 Q3830265 Q644500 Q3194523 Q307873 Q19629865 Q3318517 Q2827517 Q1355038 Q2821231 Q401160 Q15733634 Q3084022 Q3172237 Q2827530 Q242376 Q3318725 Q335436 Q718239 Q3025630 Q3318522 Q12239844 Q3277673 Q2847425 Q3084978 Q559788 Q1942619 Q710964 Q3168620 Q2413767 Q3328934 Q2359343 Q3325528 Q4296796 Q2871261 Q19606894 Q24073704 Q1368152 Q18668572 Q2827604 Q3325544 Q2827613 Q715749 Q193874 Q403220 Q3325521 Q4164692 Q3304478 Q3304471 Q2280403 Q11984953 Q3271243 Q3159402 Q2821092 Q1391212 Q514479 Q743083 Q21597596 Q1155597 Q2259128 Q2696977 Q3519491 Q308123 Q69103 Q3160303 Q3588600 Q1394004 Q314355 Q2522404 Q2840892 Q5546763 Q3318377 Q2701893 Q2479579 Q3130672 Q3050101 Q3216316 Q3576178 Q2642478 Q2821196 Q2821189 Q3125542 Q2820996 Q3217843 Q176490 Q2821031 Q16663915 Q7530002 Q3028098 Q388921
(c(Q502895),P20,Q3805) (c(Q502895),P20,Q3820) (c(Q502895),P20,Q3551)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] expired at those administrative territories
[{'concept': 'Q502895'}, 'P20', 'Q3805'] [{'concept': 'Q502895'}, 'P20', 'Q3820'] [{'concept': 'Q502895'}, 'P20', 'Q3551']
SELECT DISTINCT ?q WHERE { ?q property:P20 ?s . ?q rdf:type ontology:Q502895 . VALUES ( ?s ) { ( resource:Q3805 ) ( resource:Q18808 ) ( resource:Q3551 ) } }
Hussein ibn Nasser Rashid al-Haj Ibrahim Taha Muhie-eldin Marouf Princess Fahrelnissa Zeid Naif bin Abdullah Akram al-Hawrani Abdelmunim al-Rifai Tareq Suheimat Kamel Arekat George Habash Tawfik Abu al-Huda Qoussai Emad el-Khawalda Kassim al-Rimawi Mohammed Ghani Hikmat Abdul Rahman Arif Said al Sabeh Sulayman al-Nabulsi Stanley Wallage Irvin Yeaworth Zehdi Labib Terzi Riad Al Solh Khalid Al Romaihi Samir Ghawshah Amer Khammash Ahmad Aladdin Suleiman Mousa Michael Hughes Kenny Nazim al-Kudsi Bahjat al-Muhaisen Abdelhamid Sharaf Muhammad Nasiruddin al-Albani Çerkes Ethem Ahmad Toukan Mohammad Awad Alia al-Hussein Samir al-Rifai Hussein of Jordan Ibrāhīm Šabbūḥ Fathi Eljahmi Ahmad Shukeiri Hussein Mjalli Prenses Mihrimah Sultan Zaid ibn Shaker Ahmad Mukhtar Baban Bahjat Talhouni Mahmoud El-Gohary Moustapha Akkad Aous Shakra Nahed Hattar Hani al-Hassan Hussein bin Ali, Sharif of Mecca Zenone di Filadelfia William Hawi Bachir Gemayel Mansour Eid Louis Cheikho Hassan Khaled Pierre Chébly Antoine Poidebard Evelyne Bustros Nazem Qadri Pierre Amine Gemayel Constantin Zureiq Ahmad Daouk Sami Ibrahim Haddad Refia Osmanoglu Charles Malik Rashid Ali al-Gaylani Edmond Rabbath Shakib Arslan Maximos V Hakim Amine Nakhlé Toufik El Hibri Gustav Brüning René Mouterde Charles Corm Philippe de Tarrazi Muhammad Youssef al-Najjar Seif Eddine Shawkat Hussein Naeem Sazkâr Hanım Efendi Hyacinthe Hecquard Abdullah al-Harari Sébastien Ronzevalle Michel Seurat Joseph Debs Nerses Bedros XIX Tarmouni Khalil Hawi Simon Simonian Robert Stethem Fatin Abdel Wahab Anthony Peter Khoraish Ignatius Antony II Hayyek Jakob von Ghazir Tawfiq Yusuf 'Awwad Ignatius Michael III Jarweh Lydia Lipkowska Assem Salam St John Philby Hassan Kobeissi Edouard Saouma Ezequiel Uricoechea Ignace Ziadé George Naccache Haj Amin al-Husseini Michel Chiha Gebran Tueni Shafik Wazzan Italo Toni Prince Frederick of Schleswig-Holstein-Sonderburg-Augustenburg Kamal Nasser René Chamussy Fuʾād Rifqa Levon Shant Elias Skaff Simon Vratsian Bedros IV of Cilicia Nazime Sultan Kamal Salibi Mouna Bustros Henri Chaoul Kamal Adwan Amin al-Hafez Antoine Fattal Youssef Howayek Huseyn Shaheed Suhrawardy Camille Chamoun Ali bin Abdullah Al Thani Elias Zoghby Georges Cyr Graziella De Palo Moses Hagiz Charles Helou Dominique Borella Ignatius IV of Antioch Hisham Hafiz Mansour Rahbani Suleiman Frangieh George Edward Post Jean Maurice Fiey Maamun al-Kuzbari Shukri al-Quwatli Omar Karami Garnik Addarian Paul Guiragossian ʿĀdil Arslān Moushegh Ishkhan Leïla Karam Alfred Dyé Ferial Karim Shafiq al-Hout Ismail Khalidi Hanka Ordonówna Abd al-Rahman al-Awza'i Elie Hobeika Bashir Saadawi Vahan Papazian Nadia Arslan Fuad Chehab Bechara El Khoury René Moawad Sami as-Solh Peter IV Geraigiry Farid al-Atrash Wissam al-Hassan Jeanette Gergis Al-Feghali Hassan al-Laqqis William A. Eddy Henri Lammens Fawzi al-Qawuqji Ahmed Nihad Pedro Manuel de Arístegui y Petit Maximos IV Sayegh Ignatius Gabriel I Tappouni Pashko Vasa Mohamad Chatah Petro Trad Ali Hassan Salameh Henri Philippe Pharaoun Paul Peter Meouchi Sarkis Dkhrouni Adnan al-Atassi Louis Delamare Khalid al-Azm Abdallah El-Yafi Rashid Karami Vahe Vahian Elias Abu Shabaki Mikha'il Na'ima Raphael I Bidawid Ibrahim Ghannam Giuseppangelo De Fazio Samuel Taylor Darling Maurice Chéhab Abdallah Al Rassi Ignace Mobarak Nassib Lahoud Taqiuddin al-Nabhani Hatice Sultan Antun Saadeh Nizar Halabi Ali Jawdat al-Aiyubi Francis E. Meloy, Jr. Saeb N. Jaroudi John Garstang Said Akl Hisham Sharabi Ghassan Kanafani Hussein Dokmak Ibrahim Meraachli George Hawi Hovhannes Bedros XVIII Kasparian Filip Shiroka Majid Arslan Izzat Traboulsi Nadia Gamal Baldwin III of Jerusalem Rafik Hariri Nemer Hammad Nikol Aghbalian Sami al-Hinnawi Mohammad Hussein Fadlallah Naim Moghabghab Elias Hrawi Nikolai Dahl Abdelkrim al-Khatib Prosper Ricard Mohamed Khalfi Ahmed Sefrioui Lalla Bahia Emili Huguet i Serratacó Georges Bergasse de Laziroules Ahmed Abdessalam Bakkali Princess Lalla Aicha of Morocco Edith Lucie Bongo Mohamed Mjid Ahmed Fizazi Henri Basset Abd al-Mu'min Morciré Sylla Ahmed Taïeb El Alj M'hamed Ababou Lalla Amina of Morocco Falaba Issa Traoré José Faria Abdessadek Rabiaa Driss Benzekri Mobutu Sese Seko Mohamed Bachir El Bouhali Abderrahmane Sbai Mohamed Ferhat Driss Joumad Abdelkader El Brazi Henri Vielle Leo Pescarolo Hicham Zerouali Kaïd Ahmed Abdelhadi Boutaleb Louis-Amédée Lefèvre Mohamed El Habib Fassi-Fihri Ahmed Bensouda Slimane of Morocco Abderrahim Benabdejlil Ahmed Balafrej Mohamed Guessous François Bonjean Jean Gaston Mantel Ahmed Cherkaoui Fatima Mernissi Mohammed al-Mokhtar Soussi Mohamed Choukri Mohamed Benhima Dey Ould Sidi Baba Mohammed al-Habib al-Fourkani Larbi Messari Mahdi Elmandjra André Camille Chazal François Joseph Clozel Said Belqola Mohamed Taieb Naciri Azzeddine Laraki Jean-Paul Mourot Ahmed Bennani Mustapha El Kasri Abdelkebir Khatibi Prince Moulay Abdallah of Morocco Michaił Jarosławcew Auguste Lahoulle Michel Buot de l'Épine Chris Huidekoper Mohamed Oufkir Mohamed Bastaoui Ahmed Lakhdar Ghazal Moulay Mustapha Belarbi Alaoui Ahmed Majid Benjelloun Muhammad al-Nasir Mohammed V of Morocco Abdelaziz Bennani Moulay Ahmed Alaoui Alexander Nik. Dolgorukov Mehdi Bennouna Mehdi Ben Bouchta Lalla Abla bint Tahar Gaston Gradis Léon Ougloff Jacques Liouville Abdelkader Hassan El Assimi Muhammad al-Muqri Odette du Puigaudeau Henri Chomette Frédéric Weisgerber Mbarek Bekkay Abdellah Blinda Allal Ben Kassou Thami El Khyari Abdesslam Yassine Hassan II of Morocco Jacques de Lépiney Émile Laoust Maati Bouabid Hamani Diori Victor Jean Amadou Thiam Georges Brulé Mohammed Aziz Lahbabi Edmond Amran El Maleh Driss Bamous Henri Berriau Mostapha Sahel Lahcen Lyoussi Zoulikha Nasri Mohammed Khaïr-Eddine Abdelwahab Benmansour Abdelmoumen Diouri Hadj Ahmed Cherkaoui Abdelaziz Meziane Belfqih Doghmi Larbi Ahmed Bahnini Abdelhadi Tazi Maâti Benkacem Abderrahim Bouabid Dimi Mint Abba Mohamed Bouzoubaa
Hussein of Jordan, Hassan II of Morocco and Mohammed V of Morocco expired at those administrative territories
Hussein of Jordan Hassan II of Morocco Mohammed V of Morocco
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Amman'] [{'concept': 'common name'}, 'place of death', 'Beirut'] [{'concept': 'common name'}, 'place of death', 'Rabat']
SELECT DISTINCT ?q WHERE { ?q property:place_of_death ?s . ?q rdf:type ontology:common_name . VALUES ( ?s ) { ( resource:Amman ) ( resource:Pyongyang ) ( resource:Rabat ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q146906 Q69103 Q193874
P53
Q13417114
USER
What dynasty do Hussein of Jordan, Hassan II of Morocco and Mohammed V of Morocco belong to ?
(Q146906,P53,c(Q13417114)) (Q69103,P53,c(Q13417114)) (Q193874,P53,c(Q13417114))
action union
action filter_type
action find
entity Q146906
relation P53
type Q13417114
action filter_type
action find
entity Q69103
relation P53
type Q13417114
action filter_type
action find
entity Q193874
relation P53
type Q13417114
['Q146906', 'P53', {'concept': 'Q13417114'}] ['Q69103', 'P53', {'concept': 'Q13417114'}] ['Q193874', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q13417114 . resource:Q69103 property:P53 ?l } UNION { resource:Q146906 property:P53 ?l . ?l rdf:type ontology:Q13417114 } }
Hussein of Jordan Hassan II of Morocco Mohammed V of Morocco
action union
action filter_type
action find
entity Hussein of Jordan
relation noble family
type noble family
action filter_type
action find
entity Hassan II of Morocco
relation noble family
type noble family
action filter_type
action find
entity Mohammed V of Morocco
relation noble family
type noble family
['Hussein of Jordan', 'noble family', {'concept': 'noble family'}] ['Hassan II of Morocco', 'noble family', {'concept': 'noble family'}] ['Mohammed V of Morocco', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:noble_family . resource:Hassan_II_of_Morocco property:noble_family ?l } UNION { resource:Hussein_of_Jordan property:noble_family ?l . ?l rdf:type ontology:noble_family } }
[]
noble family
Q1774915 Q1129036 Q1129036
SYSTEM
Alaouite dynasty for 2nd, 3rd, Hashemite for 1st
Q1774915 Q1129036 Q1129036
(Q146906,P53,c(Q13417114)) (Q69103,P53,c(Q13417114)) (Q193874,P53,c(Q13417114))
action union
action filter_type
action find
entity Q146906
relation P53
type Q13417114
action filter_type
action find
entity Q69103
relation P53
type Q13417114
action filter_type
action find
entity Q193874
relation P53
type Q13417114
[ANSWERS]
['Q146906', 'P53', {'concept': 'Q13417114'}] ['Q69103', 'P53', {'concept': 'Q13417114'}] ['Q193874', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:Q13417114 . resource:Q69103 property:P53 ?l } UNION { resource:Q146906 property:P53 ?l . ?l rdf:type ontology:Q13417114 } }
Hashemite Alaouite dynasty Alaouite dynasty
Hussein of Jordan , Hassan II of Morocco and Mohammed V of Morocco belong to the Hashemite, Alaouite dynasty and Alaouite dynasty
Hashemite Alaouite dynasty Alaouite dynasty
action union
action filter_type
action find
entity Hussein of Jordan
relation noble family
type noble family
action filter_type
action find
entity Hassan II of Morocco
relation noble family
type noble family
action filter_type
action find
entity Mohammed V of Morocco
relation noble family
type noble family
['Hussein of Jordan', 'noble family', {'concept': 'noble family'}] ['Hassan II of Morocco', 'noble family', {'concept': 'noble family'}] ['Mohammed V of Morocco', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?l WHERE { { ?l rdf:type ontology:noble_family . resource:Hassan_II_of_Morocco property:noble_family ?l } UNION { resource:Hussein_of_Jordan property:noble_family ?l . ?l rdf:type ontology:noble_family } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1774915
P112
Q502895
USER
Which person was the founder of that noble family ?
(Q1774915,P112,c(Q502895))
action filter_type
action find
entity Q1774915
relation P112
type Q502895
['Q1774915', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q1774915 property:P112 ?z }
Hashemite
action filter_type
action find
entity Hashemite
relation founder
type common name
['Hashemite', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Hashemite property:founder ?z }
[]
common name
Clarification for simple ques.
Q1129036
SYSTEM
Did you mean Alaouite dynasty ?
Q1774915 Q1129036 Q1129036
(Q1774915,P112,c(Q502895)) (Q1129036,P112,c(Q502895)) (Q1129036,P112,c(Q502895))
[ANSWER]
['Q1774915', 'P112', {'concept': 'Q502895'}] ['Q1129036', 'P112', {'concept': 'Q502895'}] ['Q1129036', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q1774915 property:P112 ?z }
Hashemite Alaouite dynasty Alaouite dynasty
Did you mean Alaouite dynasty ?
Alaouite dynasty
['Hashemite', 'founder', {'concept': 'common name'}] ['Alaouite dynasty', 'founder', {'concept': 'common name'}] ['Alaouite dynasty', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Hashemite property:founder ?z }
[]
Simple Question (Coreferenced)
USER
No, I meant Hashemite. Could you tell me the answer for that?
(Q1774915,P112,c(Q502895))
Q1774915
['Q1774915', 'P112', {'concept': 'Q502895'}]
['Hashemite', 'founder', {'concept': 'common name'}]
[]
Q128906
SYSTEM
Hussein bin Ali, Sharif of Mecca
Q128906
(Q1774915,P112,c(Q502895))
action filter_type
action find
entity Q1774915
relation P112
type Q502895
[ANSWER] was the founder of that noble family
['Q1774915', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q1774915 property:P112 ?z }
Hussein bin Ali, Sharif of Mecca
Hussein bin Ali, Sharif of Mecca was the founder of that noble family
Hussein bin Ali, Sharif of Mecca
action filter_type
action find
entity Hashemite
relation founder
type common name
['Hashemite', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Hashemite property:founder ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q486972 Q56061 Q515
USER
Which cities are twin town of atmost 2 human settlements and administrative territories ?
(c(Q515),P190,c(Q486972)|c(Q56061))
action atmost
action union
action find_tuple_counts
relation P190
type Q515
type Q486972
action find_tuple_counts
relation P190
type Q515
type Q56061
value 2
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?l WHERE { { ?l rdf:type ontology:Q515 . ?m rdf:type ontology:Q486972 . ?l property:P190 ?m } UNION { ?l property:P190 ?m . ?l rdf:type ontology:Q515 . ?m rdf:type ontology:Q56061 } } GROUP BY ?l } }
action atmost
action union
action find_tuple_counts
relation sister city
type city
type human settlement
action find_tuple_counts
relation sister city
type city
type administrative territorial entity
value 2
[{'concept': 'city'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?l WHERE { { ?l rdf:type ontology:city . ?m rdf:type ontology:human_settlement . ?l property:sister_city ?m } UNION { ?l property:sister_city ?m . ?l rdf:type ontology:city . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?l } }
[]
human settlement administrative territorial entity city
Q270704 Q3075 Q6582
SYSTEM
Třebíč, Fürth, Carcassonne
Q41283 Q386691 Q384403 Q373542 Q1021103 Q39738 Q10127 Q823988 Q843001 Q1017045 Q843006 Q847602 Q830404 Q847607 Q235746 Q222242 Q841296 Q7253 Q1000086 Q3974 Q362865 Q197379 Q34412 Q849434 Q703158 Q72877 Q205914 Q259498 Q158239 Q83786 Q854913 Q944051 Q696925 Q696694 Q1000060 Q460835 Q278877 Q533157 Q217432 Q827041 Q850969 Q819639 Q385375 Q304848 Q270814 Q57921 Q25282 Q10395 Q10397 Q664895 Q858008 Q496667 Q1000467 Q837968 Q27860 Q837960 Q209785 Q360326 Q612815 Q320950 Q58273 Q1088716 Q1407742 Q1015011 Q695892 Q385982 Q766168 Q837173 Q58650 Q755686 Q770187 Q823874 Q830394 Q850344 Q205607 Q320943 Q734416 Q193050 Q679428 Q1009003 Q217646 Q846335 Q14499 Q789256 Q416669 Q7473516 Q71266 Q15720 Q946743 Q1321460 Q1001647 Q638312 Q502196 Q360069 Q602042 Q843039 Q5779 Q1009095 Q377834 Q8247 Q295367 Q283023 Q425996 Q166255 Q57953 Q917888 Q59100 Q916679 Q1645575 Q501891 Q349983 Q1010131 Q57818 Q349982 Q653372 Q653478 Q911517 Q38968 Q548097 Q783255 Q166282 Q59205 Q41278 Q843035 Q246723 Q75978 Q198240 Q773312 Q696388 Q363166 Q193719 Q935846 Q1000029 Q1623 Q147738 Q835227 Q373023 Q1629 Q1008750 Q74957 Q404529 Q954569 Q158423 Q851001 Q127026 Q912224 Q849439 Q210493 Q851419 Q1008686 Q714636 Q740800 Q384796 Q5690 Q505208 Q852018 Q1000336 Q937008 Q605256 Q841603 Q1018795 Q1236048 Q860674 Q5838 Q819664 Q220445 Q3692 Q847546 Q756593 Q368429 Q8131 Q857202 Q192271 Q854956 Q235004 Q933641 Q1018700 Q325736 Q92297 Q375651 Q69060 Q71227 Q1632616 Q1019339 Q68534 Q132997 Q120103 Q389515 Q394453 Q278017 Q646847 Q68695 Q330409 Q221283 Q461020 Q155975 Q57997 Q57996 Q913754 Q569639 Q958157 Q507846 Q602976 Q793405 Q3846983 Q503411 Q375097 Q59144 Q386677 Q12062 Q1818241 Q630358 Q583910 Q203027 Q1482 Q179608 Q144988 Q154540 Q1467 Q855073 Q817965 Q843018 Q753731 Q1010144 Q623549 Q379160 Q607625 Q526335 Q737830 Q5540 Q200500 Q496072 Q645014 Q10393 Q755691 Q854906 Q12245 Q427367 Q791458 Q1019335 Q423371 Q16959 Q386635 Q317827 Q837154 Q650015 Q819629 Q1015409 Q1013843 Q755698 Q583620 Q1008983 Q324293 Q986070 Q946893 Q75150 Q515573 Q8854 Q319804 Q838669 Q736276 Q182378 Q858369 Q847577 Q235 Q117604 Q15379 Q588606 Q855513 Q104587 Q1019970 Q593157 Q1725 Q404873 Q79535 Q683165 Q1723 Q288413 Q167668 Q270704 Q6582 Q851021 Q911610 Q459787 Q386026 Q846345 Q837157 Q149097 Q4346 Q393426 Q898468 Q1025213 Q276132 Q58560 Q517407 Q126995 Q817141 Q753864 Q3866 Q570884 Q325164 Q158435 Q1008595 Q740810 Q498545 Q502988 Q193724 Q734532 Q911667 Q820760 Q842971 Q1475 Q622594 Q978446 Q329775 Q784229 Q657642 Q843028 Q341056 Q1017261 Q1000033 Q589880 Q3599 Q596486 Q851037 Q1410 Q71108 Q749283 Q642006 Q26837 Q57931 Q426130 Q7786 Q651742 Q606212 Q1852528 Q3919 Q200267 Q242108 Q207881 Q3915 Q937688 Q453502 Q75110 Q58324 Q31238 Q1017769 Q1676870 Q860669 Q533078 Q42664 Q58570 Q665097 Q162880 Q174461 Q68614 Q1017806 Q857234 Q17182 Q496681 Q854940 Q653402 Q514796 Q854949 Q416544 Q633983 Q604516 Q75203 Q404362 Q239597 Q158432 Q851007 Q335427 Q177149 Q1471150 Q495821 Q633789 Q495802 Q1019844 Q373813 Q495809 Q104036 Q368929 Q693237 Q252325 Q250733 Q592497 Q781435 Q221214 Q722732 Q740915 Q488869 Q837161 Q71284 Q840595 Q877266 Q840591 Q632146 Q645567 Q207876 Q384926 Q842976 Q647508 Q1676863 Q1889017 Q941061 Q34261 Q349976 Q279642 Q756581 Q373564 Q203929 Q273880 Q855060 Q643929 Q1473 Q841129 Q842996 Q679249 Q14821 Q1020874 Q338616 Q954596 Q57970 Q6343 Q875070 Q189633 Q933480 Q260522 Q851042 Q844130 Q1575979 Q752838 Q426237 Q850395 Q92324 Q854977 Q325555 Q496499 Q252061 Q819613 Q941032 Q166829 Q890122 Q854987 Q394108 Q541550 Q855011 Q1258284 Q497341 Q513417 Q4007 Q1013914 Q655417 Q642031 Q930396 Q214948 Q271000 Q58210 Q111739 Q214942 Q549427 Q335506 Q694370 Q55597 Q374511 Q4174 Q847565 Q377929 Q386651 Q267708 Q317844 Q1822 Q200077 Q47916 Q846338 Q389495 Q667208 Q191097 Q75336 Q57885 Q680656 Q1508 Q385623 Q29003 Q853623 Q846351 Q739304 Q789233 Q1729076 Q360374 Q75230 Q1430746 Q594275 Q523489 Q499493 Q372791 Q237683 Q463171 Q246634 Q369628 Q851048 Q857293 Q1019360 Q1394252 Q750587 Q1013850 Q692745 Q158420 Q211243 Q210661 Q532560 Q210667 Q911674 Q58178 Q158257 Q750573 Q736897 Q496080 Q656603 Q987487 Q217698 Q118213 Q629471 Q187861 Q207311 Q695911 Q695917 Q7027 Q376233 Q1641829 Q206872 Q390796 Q271917 Q57936 Q719 Q5972 Q83247 Q851029 Q1645 Q572231 Q7033 Q855052 Q215755 Q547479 Q75026 Q509923 Q773203 Q2907 Q149108 Q492366 Q591823 Q149105 Q349973 Q3768 Q732300 Q789510 Q470369 Q1863 Q2209 Q727143 Q146363 Q532981 Q863739 Q2207 Q851056 Q359990 Q851114 Q108037 Q180470 Q210365 Q696407 Q430207 Q76010 Q756273 Q387211 Q17176 Q633996 Q188247 Q517783 Q571918 Q360235 Q498060 Q3167 Q3859 Q187136 Q5869 Q144663 Q508591 Q570427 Q59227 Q75379 Q789282 Q839796 Q502993 Q637913 Q75091 Q427769 Q634022 Q837170 Q789261 Q496837 Q855086 Q55740 Q226000 Q3075 Q845857 Q825166 Q851492 Q320798 Q494627 Q57941 Q855082 Q59223 Q502205 Q530634 Q230843 Q71151 Q319729 Q4175 Q71159 Q460812 Q57944 Q986082 Q189761 Q390156 Q349985 Q236197 Q386250 Q750224 Q378225 Q653446 Q329790 Q804395 Q263757 Q329797 Q2061 Q207222 Q184998 Q5217 Q890949 Q1017247 Q386988 Q269634 Q755701 Q601254 Q161060 Q604385 Q679224 Q158523 Q843031 Q843043 Q850676 Q990988 Q20073 Q36063 Q485176 Q924085 Q3931 Q726993 Q248959 Q42666 Q844852 Q518360 Q742160 Q158272 Q933638 Q651322 Q17189 Q386661 Q819672 Q847557 Q166183 Q158245 Q518203 Q523956 Q169064 Q652710 Q646766 Q71339 Q1013909 Q57948 Q950352 Q680963 Q933374 Q649214 Q58422 Q40626 Q582209 Q877935 Q3994 Q954808 Q209983 Q432055 Q240891 Q240489 Q320964 Q23768 Q58584 Q2427155 Q696783 Q1756960 Q936145 Q842925 Q92277 Q302526 Q1019371 Q243293 Q59132 Q303478 Q304803 Q217681 Q263837 Q721163 Q275904 Q284480 Q496431 Q207309 Q1641781 Q104125 Q247387 Q1737652
(c(Q515),P190,c(Q486972)|c(Q56061))
action atmost
action union
action find_tuple_counts
relation P190
type Q515
type Q486972
action find_tuple_counts
relation P190
type Q515
type Q56061
value 2
[ANSWERS] are twin town of atmost 2 human settlements and administrative territories
[{'concept': 'Q515'}, 'P190', [{'concept': 'Q486972'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?l WHERE { { ?l rdf:type ontology:Q515 . ?m rdf:type ontology:Q486972 . ?l property:P190 ?m } UNION { ?l property:P190 ?m . ?l rdf:type ontology:Q515 . ?m rdf:type ontology:Q56061 } } GROUP BY ?l } }
Gwangju Niiza City Litoměřice Szigetvár Meziboří Laoag Tangerang Kakegawa Csorna Protivín Nagykálló Nishinoomote Hajdúszoboszló Sanda Kesennuma Kisköre Příbram Padang Nový Bor Landshut Pingxiang Zhangjiajie Foshan Fuefuki Velké Meziříčí Datong Lijiang Rafaela Kroměříž Shimla Szikszó Horní Jiřetín Iruma Onomichi Humpolec Marugame Český Těšín Tianshui Port Harcourt Beroun Victoria Gero Ōmachi Daqing Ishinomaki Lößnitz Danang Cirebon Sukabumi Uherský Brod Murayama Muroran Hostinné Băile Tușnad Jayapura Năvodari Ichikawa Tongling Garachico Trutnov Taizhou Lőrinci Horní Bříza Milevsko Nanao Herend Nagykáta Cisnădie Zhangjiakou Nyírbátor Kaminoyama Toda Nagykőrös Sakado Zirc Matsudo Tsuruoka Érd Tălmaciu Staré Město Mudanjiang Kahoku Samarinda Balatonalmádi Yiyang Tokyo Yichang Satsumasendai Skalná Králíky Budyně nad Ohří Toride Tenri Bengbu Baktalórántháza Veresegyház Banda Aceh Otrokovice Szentes Biratnagar Nagyatád Maglód Deyang Horšovský Týn Schwarzenberg Vinaròs Shantou Téglás Kostelec nad Orlicí Tahara Heihe Frýdlant nad Ostravicí Huai'an Hegang Higashihiroshima Mishima Létavértes Liuzhou Visegrád Kapuvár Alghero Heyuan Ulsan Celldömölk Záhony Calamba Zhumadian Třeboň Toyooka Ganzhou Cheb Vlăhița Kraslice Valenzuela Saint Helier Ineu Weihai Zamboanga City Stříbro Anshan Xuchang Vyškov Buštěhrad Măcin Sakurai Techirghiol Kopřivnice Yantai Turnov Ivančice Miyakojima Paks Ōda Sparta Ouarzazate Izumisano Tandil Tótkomlós Shimada Tiszakécske Bzenec Dolní Benešov Tosu Kabul Sukagawa Kuching Riyadh Saiki Târgu Neamț Felsőzsolca Palembang Sanuki Guiyang Ibrány Vigan Martonvásár Bystřice nad Pernštejnem Ciacova Siping Valašské Meziříčí Xining Shiyan Počátky Město Albrechtice Nanping Florianópolis Kaga Kariya Žďár nad Sázavou Tiszavasvári Sodegaura Quanzhou Ústí nad Orlicí Cape Coast Imabari Kutná Hora Wolkenstein Thum Zalalövő Lahnstein Sezimovo Ústí Sebiș Klatovy Berettyóújfalu Șimleu Silvaniei Inuyama Tiszaújváros Zhanjiang Kusatsu, Shiga Torgau Rousínov Sedlčany Aš Tsu Cavite City Nanning Zalakaros Sásd Cebu City Solt Ikeda Kunszentmiklós Masuda Hluboká nad Vltavou Puerto de la Cruz Kunszentmárton Tamási Keszthely Mizil Penza Takehara Fujinomiya Túrkeve Bogor Budaörs Gyömrő Stanley Guang'an Battonya Jílové u Prahy Ștei Ürümqi Hikone Hanamaki Simeria Pannonhalma Toba Bílovec Dačice Svitavy Dévaványa Vodňany Anyang Chrudim Teiuș Yingkou Hanzhong Las Piñas Sanya Yamatotakada Cernavodă Putrajaya Tōkamachi Susono Monaco Nago Kendari Fonyód Bük Kyjov Březnice Murfatlar Lipa Xinyang Fort Smith Poděbrady Batangas City Tapolca Liepāja Třebíč Carcassonne Pâncota Lengyeltóti Iloilo City Orlová Suzu Covasna Jirkov Waren (Müritz) Žatec Brandýs nad Labem-Stará Boleslav Rosice Pecica Qinhuangdao Sondershausen Weinan Benešov nad Ploučnicí Kurobe Dodoma Tongliao Kayes Vrbno pod Pradědem Vrchlabí Békés Meldorf Takaoka Slavkov u Brna Fukaya Elek Mihara Sellye Quezon City Takayama Trmice Kiskunhalas Szigethalom Villány Oroszlány Česká Třebová Rotava Lanškroun Pucioasa Bicske Fujioka Comarnic Gibraltar Frauenstein San Juan Kurayoshi Sorong Taizhou Mianyang Pekanbaru Minamiashigara City Fremantle Třebechovice pod Orebem Gaborone Kamakura Otaru Ichihara Antananarivo Strmilov Amami Dandong Zhoushan Miki Mnichovo Hradiště Jablonné nad Orlicí Nichinan Baraolt Huzhou Handan Minoh Dezhou Ranchi Sanming Nové Sedlo Shōbara Parañaque Ebetsu Dabas Shimoda Baoji Nyergesújfalu Changde Kashiwazaki Szentgotthárd Liaoyang Xinxiang Neratovice Stochov Deta Kisarazu Obihiro Fryšták Saku Dombóvár Hekinan Přimda Albufeira Fujimi Ventspils Jindřichův Hradec Chitose Hajdúdorog Wa Vălenii de Munte Derecske Cugir Litomyšl Fulnek Benalmádena Sânnicolau Mare Xiangyang Kamisu Tainai Miyoshi Enying Törökbálint Yamaguchi Ōgaki Mátészalka Fujiyoshida Jablonec nad Jizerou Mandaue Bystřice pod Hostýnem Port-au-Prince Yichun Myōkō Františkovy Lázně Liaocheng Zimnicea Beppu Encs Shūnan Davao City Iida Pécsvárad Kalocsa Coburg Přeštice Čelákovice Havlíčkův Brod Changzhou Carthage Dagupan Guilin Luhačovice Bácsalmás Hârlău Nagahama Vratimov Aszód Guangyuan Gōtsu Tonghua Kerekegyháza Recaș Kazuno Valea lui Mihai Uozu Kozármisleny Miercurea Nirajului Bolhrad Soltvadkert Žirovnice Tiszaföldvár Heves Raspenava Xianyang Vsetín Rosenheim Polička Kenderes Gárdony Nagakute Cegléd Bouaké Jinhua Puerto Princesa Kazincbarcika Jánoshalma Salto Ayabe Muñoz Oyama Emden Hanyū City Hévíz Iwata Sovata Nishio Baguio Morioka Lucknow Suwa Toyokawa Fertőd Tachov Chaoyang Elterlein Sümeg Makati Ōmuta, Fukuoka Jiamusi Bátaszék Miyazu Hajdúnánás Balassagyarmat Kardašova Řečice Anqing Panjin Košťany General Santos Terezín Seto Jining Ōme Handa Zábřeh Sumoto Făget Kamo Dobřany Kosmonosy Shirakawa Rýmařov Monbetsu Červený Kostelec Yinchuan Musashino Jiayuguan City Chōfu Simontornya Jiaxing Hlučín Maizuru Hatsukaichi Kadoma Jičín Ostrov Weifang Yamatokōriyama Kiskunmajsa Wollongong Suzuka Kuji Kitakami Straubing Săcueni Jiříkov Ajka Orosháza Kushiro Scheibenberg Saginaw Medan Braga Aleșd Cagayan de Oro Chongzuo Nordhausen Mezőtúr Xiangtan Dunakeszi Fushun Mezőhegyes Százhalombatta Sucre Jablunkov Norden Náchod Tanvald Shuangyashan Yamoussoukro Gyomaendrőd Balmazújváros Kolín Andorra la Vella Roxas Örkény Most Baiyin Kasaoka Naga Cristuru Secuiesc Wuhu Yasugi Valmiera Huangshan City Beihai Hakusan Komló Santa Rosa Karcag Kamogawa Muntinlupa Kameoka Sarkad Pinamar Yulin Ma'anshan Mooka Siegen Kigali Luoyang Lhasa Hengyang Police nad Metují Obernkirchen Chaozhou Huludao Balatonföldvár Borsec Uherské Hradiště Tōgane Benxi Kisbér Kiryū Gura Humorului Balatonboglár Lincang Sajószentpéter San Fernando Jimbolia Fürth Uwajima Izumo Shibukawa Mohács Ruhla Schneeberg, Saxony Csenger Zhongshan Nemuro Pilisvörösvár Zushi Sayda Urayasu Ibbenbüren Brand-Erbisdorf Naruto Annaberg-Buchholz Litvínov Szekszárd Petrila Suihua Hino City Ōtake Strakonice Hagi Tsuchiura Kamaishi Blatná Kadarkút Iwakuni Yellowknife Zlaté Hory Kaposvár Bacolod Bohumín Podbořany Říčany Tachikawa City Ráckeve Dubí Přibyslav Shizuishan Hajdúböszörmény Ehingen Vasvár Sárvár Blansko Broumov Hohenstein-Ernstthal Vecsés Pasadena Horní Slavkov Brandenburg an der Havel Cotabato City Zărnești Shaoxing Ueda Bílina Shijōnawate Žamberk Mezőkövesd Năsăud Pasay Fujisawa Kumano Nagai Nabari Písek Iwanuma Auerbach in der Oberpfalz Sângeorgiu de Pădure Letovice Tōno Xiaogan Slaný Aue Brtnice Mór Nagybajom Csongrád Tangshan Tacloban Tokaj Unnan Kempten Kaplice Gyöngyös Hamada Higashiōmi Higashimurayama Yonago Las Vegas Baoding Náměšť nad Oslavou Yaizu Poběžovice Loket Edelény Jilin City Tab Studénka Sekondi-Takoradi Jiangmen Kravaře Mezőcsát Tai'an Ozamiz Itō Flămânzi Bóly Sakaiminato Tokushima Vítkov Lucena Kaba Kdyně
Třebíč, Fürth and Carcassonne are twin town of atmost 2 human settlements and administrative territories
Třebíč Fürth Carcassonne
action atmost
action union
action find_tuple_counts
relation sister city
type city
type human settlement
action find_tuple_counts
relation sister city
type city
type administrative territorial entity
value 2
[{'concept': 'city'}, 'sister city', [{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?l WHERE { FILTER ( ?g <= 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?l WHERE { { ?l rdf:type ontology:city . ?m rdf:type ontology:human_settlement . ?l property:sister_city ?m } UNION { ?l property:sister_city ?m . ?l rdf:type ontology:city . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3820
P740
Q2088357
USER
Which musical ensembles were formed at Beirut ?
(c(Q2088357),P740,Q3820)
action filter_type
action find_reverse
entity Q3820
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q3820']
SELECT DISTINCT ?b WHERE { ?b property:P740 resource:Q3820 . ?b rdf:type ontology:Q2088357 }
Beirut
action filter_type
action find_reverse
entity Beirut
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Beirut']
SELECT DISTINCT ?b WHERE { ?b property:location_of_formation resource:Beirut . ?b rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q6472710 Q2619999 Q7773447
SYSTEM
Lagrima, Mashrou' Leila, The Wanton Bishops
Q6472710 Q2619999 Q7773447 Q6807567 Q17298922
(c(Q2088357),P740,Q3820)
action filter_type
action find_reverse
entity Q3820
relation P740
type Q2088357
[ANSWERS] were formed at Beirut
[{'concept': 'Q2088357'}, 'P740', 'Q3820']
SELECT DISTINCT ?b WHERE { ?b property:P740 resource:Q3820 . ?b rdf:type ontology:Q2088357 }
Lagrima Mashrou' Leila The Wanton Bishops Meen Fer2et 3a Nota
Lagrima, Mashrou' Leila and The Wanton Bishops were formed at Beirut
Lagrima Mashrou' Leila The Wanton Bishops
action filter_type
action find_reverse
entity Beirut
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Beirut']
SELECT DISTINCT ?b WHERE { ?b property:location_of_formation resource:Beirut . ?b rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3820
P1376
Q844713
USER
Which governorate of Lebanon has that administrative territory has its center of administration ?
(Q6472710,P1376,c(Q844713)) (Q2619999,P1376,c(Q844713)) (Q7773447,P1376,c(Q844713))
action filter_type
action find
entity Q3820
relation P1376
type Q844713
['Q6472710', 'P1376', {'concept': 'Q844713'}] ['Q2619999', 'P1376', {'concept': 'Q844713'}] ['Q7773447', 'P1376', {'concept': 'Q844713'}]
SELECT DISTINCT ?s WHERE { resource:Q3820 property:P1376 ?s . ?s rdf:type ontology:Q844713 }
Beirut
action filter_type
action find
entity Beirut
relation capital of
type governorate of Lebanon
['Lagrima', 'capital of', {'concept': 'governorate of Lebanon'}] ["Mashrou' Leila", 'capital of', {'concept': 'governorate of Lebanon'}] ['The Wanton Bishops', 'capital of', {'concept': 'governorate of Lebanon'}]
SELECT DISTINCT ?s WHERE { resource:Beirut property:capital_of ?s . ?s rdf:type ontology:governorate_of_Lebanon }
[]
governorate of Lebanon
Q216945
SYSTEM
Mount Lebanon Governorate
Q216945
(Q6472710,P1376,c(Q844713)) (Q2619999,P1376,c(Q844713)) (Q7773447,P1376,c(Q844713))
action filter_type
action find
entity Q3820
relation P1376
type Q844713
The [ANSWER] has that administrative territory has its center of administration
['Q6472710', 'P1376', {'concept': 'Q844713'}] ['Q2619999', 'P1376', {'concept': 'Q844713'}] ['Q7773447', 'P1376', {'concept': 'Q844713'}]
SELECT DISTINCT ?s WHERE { resource:Q3820 property:P1376 ?s . ?s rdf:type ontology:Q844713 }
Mount Lebanon Governorate
The Mount Lebanon Governorate has that administrative territory has its center of administration
Mount Lebanon Governorate
action filter_type
action find
entity Beirut
relation capital of
type governorate of Lebanon
['Lagrima', 'capital of', {'concept': 'governorate of Lebanon'}] ["Mashrou' Leila", 'capital of', {'concept': 'governorate of Lebanon'}] ['The Wanton Bishops', 'capital of', {'concept': 'governorate of Lebanon'}]
SELECT DISTINCT ?s WHERE { resource:Beirut property:capital_of ?s . ?s rdf:type ontology:governorate_of_Lebanon }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1348126 Q270704
P6 P802
Q502895
USER
Which people are Třebíč the head of goverment of or were Pierre-Joseph-Guillaume Zimmermann a notable student of ?
OR((Q270704,P6,c(Q502895)), (Q1348126,P802,c(Q502895)))
action filter_type
action union
action find
entity Q270704
relation P6
action find
entity Q1348126
relation P802
type Q502895
{'OR': [['Q270704', 'P6', {'concept': 'Q502895'}], ['Q1348126', 'P802', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q270704 property:P6 ?o } UNION { resource:Q1348126 property:P802 ?o } } . ?o rdf:type ontology:Q502895 }
Pierre-Joseph-Guillaume Zimmermann Třebíč
action filter_type
action union
action find
entity Třebíč
relation head of government
action find
entity Pierre-Joseph-Guillaume Zimmermann
relation student
type common name
{'OR': [['Třebíč', 'head of government', {'concept': 'common name'}], ['Pierre-Joseph-Guillaume Zimmermann', 'student', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Třebíč property:head_of_government ?o } UNION { resource:Pierre-Joseph-Guillaume_Zimmermann property:student ?o } } . ?o rdf:type ontology:common_name }
[]
common name
Q12044095 Q320962 Q12022129 Q12044066 Q12028320 Q12037574 Q12026705 Q1382004 Q50187 Q586181
SYSTEM
Some of them are Pavel Janata, Louis Lacombe, Ivo Uher, Pavel Heřman, Karel Kliment, Miloš Mašek, Josef Vaněk, Victor Massé, César Franck, Antoine François Marmontel
Q1382004 Q12022129 Q21509560 Q50187 Q10859111 Q12037574 Q297717 Q3374134 Q12026705 Q320962 Q546919 Q12028320 Q56158 Q12044066 Q12044095 Q586181
OR((Q270704,P6,c(Q502895)), (Q1348126,P802,c(Q502895)))
action filter_type
action union
action find
entity Q270704
relation P6
action find
entity Q1348126
relation P802
type Q502895
[ANSWERS] are Třebíč the head of goverment of or were Pierre-Joseph-Guillaume Zimmermann a notable student of
{'OR': [['Q270704', 'P6', {'concept': 'Q502895'}], ['Q1348126', 'P802', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q270704 property:P6 ?o } UNION { resource:Q1348126 property:P802 ?o } } . ?o rdf:type ontology:Q502895 }
Victor Massé Ivo Uher Carl Fundulus César Franck Augustin Kliment Miloš Mašek Ambroise Thomas Pedro Tintorer Josef Vaněk Louis Lacombe Louis James Alfred Lefébure-Wély Karel Kliment Georges Bizet Pavel Heřman Pavel Janata Antoine François Marmontel
Pavel Janata, Louis Lacombe, Ivo Uher, Pavel Heřman, Karel Kliment, Miloš Mašek, Josef Vaněk, Victor Massé, César Franck and Antoine François Marmontel are Třebíč the head of goverment of or were Pierre-Joseph-Guillaume Zimmermann a notable student of
Pavel Janata Louis Lacombe Ivo Uher Pavel Heřman Karel Kliment Miloš Mašek Josef Vaněk Victor Massé César Franck Antoine François Marmontel
action filter_type
action union
action find
entity Třebíč
relation head of government
action find
entity Pierre-Joseph-Guillaume Zimmermann
relation student
type common name
{'OR': [['Třebíč', 'head of government', {'concept': 'common name'}], ['Pierre-Joseph-Guillaume Zimmermann', 'student', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Třebíč property:head_of_government ?o } UNION { resource:Pierre-Joseph-Guillaume_Zimmermann property:student ?o } } . ?o rdf:type ontology:common_name }
[]