Simple Question (Direct)
Simple Question
Q4837250
P86
Q502895
USER
Who wrote the music for Baba ?
(Q4837250,P86,c(Q502895))
action filter_type
action find
entity Q4837250
relation P86
type Q502895
['Q4837250', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q4837250 property:P86 ?e }
Baba
action filter_type
action find
entity Baba
relation composer
type common name
['Baba', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Baba property:composer ?e }
[]
common name
Q108560
SYSTEM
A. R. Rahman
Q108560
(Q4837250,P86,c(Q502895))
action filter_type
action find
entity Q4837250
relation P86
type Q502895
[ANSWER] wrote the music for Baba
['Q4837250', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q4837250 property:P86 ?e }
A. R. Rahman
A. R. Rahman wrote the music for Baba
A. R. Rahman
action filter_type
action find
entity Baba
relation composer
type common name
['Baba', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Baba property:composer ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q108560
P734
Q82799
USER
Which name is associated with that person ?
(Q108560,P734,c(Q82799))
action filter_type
action find
entity Q108560
relation P734
type Q82799
['Q108560', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q108560 property:P734 ?i . ?i rdf:type ontology:Q82799 }
A. R. Rahman
action filter_type
action find
entity A. R. Rahman
relation family name
type name
['A. R. Rahman', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:A._R._Rahman property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q21500907
SYSTEM
Rahman
Q21500907
(Q108560,P734,c(Q82799))
action filter_type
action find
entity Q108560
relation P734
type Q82799
[ANSWER] is associated with that person
['Q108560', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q108560 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Rahman
Rahman is associated with that person
Rahman
action filter_type
action find
entity A. R. Rahman
relation family name
type name
['A. R. Rahman', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:A._R._Rahman property:family_name ?i . ?i rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q108560
P86
Q11424 Q15850590
USER
How many films and theatrical genres are A. R. Rahman a composer of ?
(c(Q11424),P86,Q108560) (c(Q15850590),P86,Q108560)
action count
action union
action filter_type
action find_reverse
entity Q108560
relation P86
type Q11424
action filter_type
action find_reverse
entity Q108560
relation P86
type Q15850590
[{'concept': 'Q11424'}, 'P86', 'Q108560'] [{'concept': 'Q15850590'}, 'P86', 'Q108560']
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?g ) { ( ontology:Q11424 ) ( ontology:Q15850590 ) } . ?y rdf:type ?g }
A. R. Rahman
action count
action union
action filter_type
action find_reverse
entity A. R. Rahman
relation composer
type film
action filter_type
action find_reverse
entity A. R. Rahman
relation composer
type theatrical genre
[{'concept': 'film'}, 'composer', 'A. R. Rahman'] [{'concept': 'theatrical genre'}, 'composer', 'A. R. Rahman']
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?g ) { ( ontology:film ) ( ontology:theatrical_genre ) } . ?y rdf:type ?g }
[]
film theatrical genre
SYSTEM
2 films and 2 theatrical genres
Q7290612 Q5377767 Q4940553 Q905691
(c(Q11424),P86,Q108560) (c(Q15850590),P86,Q108560)
action count
action union
action filter_type
action find_reverse
entity Q108560
relation P86
type Q11424
action filter_type
action find_reverse
entity Q108560
relation P86
type Q15850590
[ANSWER]
[{'concept': 'Q11424'}, 'P86', 'Q108560'] [{'concept': 'Q15850590'}, 'P86', 'Q108560']
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?g ) { ( ontology:Q11424 ) ( ontology:Q15850590 ) } . ?y rdf:type ?g }
Rana Engineer Bombay Dreams Lord of the Rings
2 films and 2 theatrical genres
action count
action union
action filter_type
action find_reverse
entity A. R. Rahman
relation composer
type film
action filter_type
action find_reverse
entity A. R. Rahman
relation composer
type theatrical genre
[{'concept': 'film'}, 'composer', 'A. R. Rahman'] [{'concept': 'theatrical genre'}, 'composer', 'A. R. Rahman']
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { VALUES ( ?g ) { ( ontology:film ) ( ontology:theatrical_genre ) } . ?y rdf:type ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2720141 Q108560
P86
Q838948
USER
Which works of art have A. R. Rahman or Ilaiyaraaja as the melodist ?
OR((c(Q838948),P86,Q108560), (c(Q838948),P86,Q2720141))
action filter_type
action union
action find_reverse
entity Q108560
relation P86
action find_reverse
entity Q2720141
relation P86
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P86', 'Q108560'], [{'concept': 'Q838948'}, 'P86', 'Q2720141']]}
SELECT DISTINCT ?w WHERE { { ?w property:P86 ?h . VALUES ( ?h ) { ( resource:Q108560 ) ( resource:Q2720141 ) } } . ?w rdf:type ontology:Q838948 }
Ilaiyaraaja A. R. Rahman
action filter_type
action union
action find_reverse
entity A. R. Rahman
relation composer
action find_reverse
entity Ilaiyaraaja
relation composer
type work of art
{'OR': [[{'concept': 'work of art'}, 'composer', 'A. R. Rahman'], [{'concept': 'work of art'}, 'composer', 'Ilaiyaraaja']]}
SELECT DISTINCT ?w WHERE { { ?w property:composer ?h . VALUES ( ?h ) { ( resource:A._R._Rahman ) ( resource:Ilaiyaraaja ) } } . ?w rdf:type ontology:work_of_art }
[]
work of art
Q10294442 Q7136056 Q6378298 Q2829497 Q16251985 Q5102519 Q1784272 Q16254726 Q6744131 Q7918057
SYSTEM
Some of them are Thai moogambikai, Parasuram, Kattalai, Alaipayuthey, Mythri, Chittu Kuruvi, Mangal Pandey: The Rising, Thanga Manasukkaran, Mallepuvvu, Veedu
Q12976201 Q3424335 Q3424339 Q7426511 Q3438002 Q3536816 Q8050230 Q174371 Q16251628 Q4771463 Q2561440 Q16254697 Q3429479 Q15220568 Q6907912 Q16255184 Q7917562 Q5269339 Q125076 Q7148301 Q11237886 Q3534607 Q16249216 Q614787 Q4822034 Q1462222 Q7904117 Q18128391 Q18128396 Q17060132 Q2820123 Q2400420 Q7262251 Q640337 Q6960965 Q6343361 Q5375177 Q6937467 Q10294442 Q7376917 Q7918057 Q5375178 Q2739153 Q3424239 Q7795993 Q6998619 Q17018575 Q7795994 Q5249059 Q17061142 Q11056517 Q7260451 Q6945251 Q17495972 Q7094377 Q4900709 Q1088632 Q3646310 Q16966849 Q15377445 Q20649501 Q4164442 Q2748491 Q7398009 Q6963166 Q7332000 Q920943 Q7288514 Q4777977 Q7121511 Q6935280 Q13159849 Q3135932 Q7038200 Q5620434 Q6308185 Q12973412 Q7647348 Q5269248 Q7426170 Q7710276 Q16254909 Q6934298 Q6424778 Q15631429 Q7395598 Q7499226 Q4813683 Q7499225 Q7398949 Q763144 Q16308208 Q7797093 Q944356 Q3327400 Q5374981 Q5252602 Q7917094 Q7105125 Q3536854 Q18128744 Q7317115 Q7426162 Q7126615 Q16255140 Q7258338 Q6159190 Q6343229 Q18209594 Q18210077 Q3424346 Q19881982 Q7321896 Q16057865 Q16057864 Q3424202 Q7785399 Q4827453 Q7781362 Q3191772 Q6353946 Q7402711 Q4754316 Q3932354 Q5523376 Q21095433 Q4777787 Q5380118 Q5312238 Q7133088 Q5090335 Q7227926 Q7227927 Q573112 Q12103382 Q16249089 Q7876983 Q17052094 Q5072661 Q3536760 Q7123747 Q3536447 Q19630315 Q6807659 Q7130680 Q15692512 Q15043347 Q843949 Q5101172 Q18126972 Q7532264 Q6095755 Q604533 Q7676719 Q4767791 Q7259306 Q4901193 Q15302068 Q19580944 Q5101131 Q5101136 Q4837390 Q24905589 Q24905588 Q16314291 Q3424294 Q7397863 Q7879153 Q13651133 Q17029004 Q18127004 Q3418428 Q6345423 Q1163010 Q5515230 Q7882308 Q7523343 Q3465274 Q21646598 Q7128483 Q7799551 Q6928427 Q4928017 Q8050748 Q7642649 Q3687380 Q5364622 Q33191 Q10998844 Q16248697 Q4667432 Q7913939 Q4661335 Q3986583 Q6754166 Q12973525 Q17005592 Q16057838 Q6728831 Q262487 Q16248132 Q4661525 Q6428973 Q7915096 Q18809072 Q4751997 Q16254940 Q6364060 Q6378298 Q6754763 Q3021591 Q4699550 Q7246451 Q3536866 Q4848601 Q4673955 Q18124588 Q5504131 Q16248670 Q5375009 Q5375175 Q1759650 Q4837250 Q285118 Q3418130 Q7600581 Q2002475 Q6347418 Q6963222 Q5227836 Q15214094 Q7042215 Q24807089 Q7377512 Q3537831 Q6344095 Q6919087 Q6956582 Q6956583 Q18128126 Q16249438 Q12978903 Q5100119 Q5284662 Q21869500 Q6344990 Q7130903 Q4661363 Q6729637 Q5101137 Q7285602 Q6733313 Q19892457 Q24807876 Q20814605 Q7882022 Q4767802 Q6362416 Q2923057 Q7190701 Q4682496 Q3473364 Q13111537 Q13008263 Q16254707 Q17017175 Q7121489 Q7879068 Q17495701 Q13564490 Q4752522 Q16245741 Q4752521 Q7923769 Q5957665 Q6024942 Q7932757 Q5269737 Q16253083 Q19600243 Q5403699 Q8060337 Q25206197 Q1262452 Q7899798 Q7522240 Q24883885 Q17068890 Q5379026 Q7228912 Q7928497 Q13564467 Q17495797 Q6796777 Q3523295 Q4705616 Q16252677 Q16251280 Q16252670 Q19570936 Q7929545 Q7858391 Q6766092 Q924135 Q6739783 Q5618463 Q24806754 Q4683055 Q8062138 Q2817329 Q24905502 Q3413682 Q7131389 Q779318 Q18210118 Q3182895 Q3424368 Q5101150 Q5101151 Q16828863 Q7627280 Q7562757 Q20538739 Q4781907 Q12973192 Q12988403 Q7262239 Q3687657 Q4934669 Q16252245 Q5036774 Q16251415 Q12985351 Q7918784 Q4832493 Q7136056 Q13637930 Q4832499 Q13007653 Q3111799 Q12985176 Q3644994 Q3644996 Q3537622 Q6419201 Q7258341 Q1393668 Q6807631 Q6729674 Q15301854 Q7240135 Q7049851 Q16248228 Q16466384 Q7278424 Q7105150 Q17017323 Q12985675 Q4667407 Q7258335 Q3536750 Q7258336 Q7196354 Q3418172 Q12980167 Q5269225 Q21780595 Q17032951 Q17495753 Q17495699 Q16250522 Q12975794 Q16251167 Q7586263 Q6035291 Q16251241 Q16252066 Q6961968 Q7418678 Q283490 Q268668 Q7091657 Q8875351 Q12987772 Q4902293 Q7908702 Q21998179 Q7292998 Q7558317 Q7558315 Q776808 Q760266 Q3429513 Q5068476 Q16254753 Q16242734 Q260038 Q3465283 Q6744131 Q19573171 Q6727400 Q16249549 Q6956598 Q1133230 Q21646011 Q7416301 Q12982005 Q6796707 Q7966340 Q7228735 Q1728088 Q7124146 Q16056821 Q3536522 Q7124148 Q7194115 Q4901188 Q7042205 Q10958771 Q4691637 Q6345025 Q1587154 Q5266605 Q3644978 Q5101187 Q7562725 Q6956602 Q12981021 Q7911653 Q3181879 Q6122136 Q1784272 Q18602909 Q6363812 Q23044946 Q7409686 Q1187127 Q11038738 Q2829497 Q727846 Q16250866 Q3523217 Q7710397 Q17052414 Q12975519 Q6367899 Q3465256 Q5364621 Q3644948 Q7285500 Q7285462 Q7709826 Q3176321 Q13653666 Q6349506 Q19818519 Q6354930 Q3361988 Q1192353 Q6448623 Q7532265 Q3422446 Q6407438 Q16242799 Q7294725 Q7914528 Q6986903 Q644351 Q3142604 Q6350182 Q17074107 Q3411599 Q4672549 Q16959563 Q6373748 Q6733087 Q15982471 Q6343306 Q1094828 Q3100958 Q5521152 Q12973609 Q6943808 Q5987762 Q19804229 Q6943807 Q11250601 Q15301989 Q7168949 Q5374991 Q6478703 Q15301982 Q16251962 Q7410273 Q6752218 Q3536588 Q4783631 Q5101149 Q16250186 Q6355945 Q7262242 Q6963387 Q4313927 Q6374497 Q4678211 Q12973322 Q3532119 Q16251985 Q17001686 Q7166807 Q6379069 Q6932077 Q7367155 Q544359 Q12985581 Q3644983 Q12979428 Q5620323 Q3644986 Q17017928 Q5620328 Q19570768 Q4956197 Q3429157 Q7080482 Q7278417 Q6956579 Q15747101 Q4661729 Q3073772 Q25136229 Q6732497 Q3536743 Q7259178 Q7121964 Q6371077 Q3418068 Q4900548 Q24211347 Q1723681 Q17017152 Q5269255 Q18111794 Q20950016 Q23013770 Q16251258 Q3645007 Q7129899 Q6907173 Q3644934 Q6991627 Q24896466 Q18210097 Q6027147 Q12975523 Q16972804 Q7403020 Q6266181 Q16252352 Q7547593 Q239601 Q6353287 Q17067643 Q17495818 Q264943 Q20900153 Q1001777 Q6379229 Q4552081 Q8054286 Q44280 Q12974602 Q7879141 Q16255011 Q7785433 Q5375020 Q1861290 Q18809391 Q4747136 Q16250585 Q12975634 Q15141749 Q6733439 Q7915474 Q24802702 Q23822751 Q12986632 Q6750693 Q531340 Q2875125 Q6371124 Q5167486 Q5071397 Q7285673 Q6960933 Q6343350 Q3521744 Q1471937 Q6832432 Q4751361 Q7918121 Q7902717 Q7089364 Q6381072 Q7653907 Q3174281 Q13114252 Q7227911 Q17067447 Q16954931 Q5915772 Q3418108 Q26963051 Q3411584 Q7907845 Q19572860 Q16254710 Q15256893 Q12988380 Q7918228 Q17013125 Q6345435 Q7395625 Q3530921 Q1418833 Q21010867 Q4784125 Q12982774 Q7897136 Q5289004 Q16254726 Q617395 Q7040073 Q18387836 Q12989339 Q262018 Q12985051 Q5996996 Q12987862 Q3429658 Q6419183 Q5269459 Q585892 Q17030821 Q12988556 Q7285510 Q6957922 Q4661020 Q6748022 Q6721300 Q17052490 Q6777980 Q3536924 Q17495723 Q17495851 Q7928103 Q16251716 Q17068735 Q3418155 Q5529987 Q12977484 Q7912402 Q891821 Q4802327 Q5096588 Q6385446 Q12980108 Q16245737 Q6343241 Q16252618 Q5102519 Q15301991 Q7240185 Q7409390 Q7877200 Q7804866 Q17028998 Q7904943 Q5584330
OR((c(Q838948),P86,Q108560), (c(Q838948),P86,Q2720141))
action filter_type
action union
action find_reverse
entity Q108560
relation P86
action find_reverse
entity Q2720141
relation P86
type Q838948
[ANSWERS] have A. R. Rahman or Ilaiyaraaja as the melodist
{'OR': [[{'concept': 'Q838948'}, 'P86', 'Q108560'], [{'concept': 'Q838948'}, 'P86', 'Q2720141']]}
SELECT DISTINCT ?w WHERE { { ?w property:P86 ?h . VALUES ( ?h ) { ( resource:Q108560 ) ( resource:Q2720141 ) } } . ?w rdf:type ontology:Q838948 }
Kann Sivanthaal Mann Sivakkum Adhu Oru Kana Kaalam Virumaandi Sattam En Kaiyil Rockstar Sigappu Rojakkal Yathra 127 Hours Megha Anthapuram Earth Thalaimuraigal Thenali The Hundred-Foot Journey Moonnam Pakkam Vetri Karangal Vayasu Pilichindi Dharmathin Thalaivan Slumdog Millionaire Pattakkathi Bhairavan Mundhanai Mudichu Mouna Ragam Iniya Uravu Poothathu Provoked Aur Ek Prem Kahani Couples Retreat Uyarndha Ullam Naalai Unathu Naal Naan Paadum Paadal Muthu Engal Sothu Aaytha Ezhuthu Tehzeeb Puthukavithai Dil Ne Jise Apna Kahaa Nallavanuku Nallavan Kaali Enakku 20 Unakku 18 Murattu Kaalai Thai moogambikai Rudhramadevi Veedu Enakkul Oruvan Roja Karuththamma Thoongadhey Thambi Thoongadhey Netaji Subhas Chandra Bose: The Forgotten Hero Kuva Kuva Vaathugal Thooral Ninnu Pochchu December Pookal Kaaviya Thalaivan Dev Punnagai Mannan My Dear Marthandan Vetri Padigal Onnanu Nammal Bhagyadevatha Archanai Pookal Pavithra Eetti Pongi Varum Kaveri Punyakoti Poove Poochudava Varalaru Sadma Nandalala Rickshaw Mama Pukar Ram Lakshman Anveshana Paayum Puli Mumbai Express Nyaya Gedditu Raavan Ninaivellam Nithya Guru Sishyan Julie Ganapathi Adharmam Surya IPS Dharma Seelan Sathya Thanga Magan Udan Pirappu Mullum Malarum Kochadaiyaan January 1 Saadhanai Shiva Athisaya Piravi Shiva Sagalakala Vallavan Sivaji Thirumathi Palanisamy Thozhar Pandian Dil Se.. Mudhalvan En Jeevan Paduthu Deiva Vaakku Vatathukkul Chadhuram Oru Kaidhiyin Diary Thalapathi Ninaivu Chinnam Rettai Vaal Kuruvi Sathriyan Palaivana Paravaigal Veera Thalattu Pudhu Pudhu Arthangal Japanil Kalyanaraman Kaadhal Kavithai Sakkarai Devan O Kadhal Kanmani Paarthale Paravasam Annan Rhythm Aandan Adimai Aanandha Kummi Agni Natchathiram Thirunelveli Aval Appadithan Thendral Sudum Kadhalan Kallukkul Eeram Sajni Andha Oru Nimidam Jhootha Hi Sahi Garjanai Enthiran 2 Anumanaspadam Ente Sooryaputhrikku Duet Pappayude Swantham Appoos Chembaruthi Ponnu Veetukkaran Ponnumani Jodhaa Akbar Bombil and Beatrice Idhayam Udaya Geetham Drishya Chanti Tik Tik Tik Padikkadavan Ratchagan Senthooram Meera Pandiyan Kirathakudu Million Dollar Arm Lagaan Chinnappadass Krishnan Vandhaan Siva Ivan Taal Taj Mahal Annai Oru Aalayam Puli Bharathi Dharma Prema Raga Haadu Gelathi Chinna Durai Chinna Jameen Baba Sathya Sai Maamiyar Veedu Pon Vilangu Ponmana Selvan Oru Naal Oru Kanavu Sadhu Ulle Veliye Mumbai Xpress Usire Kumbakarai Thangaiah Mr. Romeo Kadhal Parisu Lajja Gaayathri Unaru Singaravelan Kadhalukku Mariyadhai Kathalo Rajakumari Palnati Pourusham Thyagam Mr. Bharath Bloodstone Ye Maaya Chesave Super Police Devan Ellam Un Kairasi People Like Us Mannan Gramathu Athiyayam Abhinandana Vanaja Girija Aakhari Poratam Kizhakku Cheemayile Mappillai Anbu Kattalai Enga Muthalali Aa Raathri Madurai Veeran Enga Saami Blue Dooram Arike Aan Paavam Kondaveeti Donga Vanna Vanna Pookkal Urudhi Mozhi Anaswaram Unakkaagave Vaazhgiren Kanni Rasi Kattalai Marana Mrudangam Delhi-6 Ajantha Priya Apoorva Sagodharargal Bairavi Achuvinte Amma En Purushanthaan Enakku Mattumthaan Friends Gopurangal Saivathillai En Swasa Kaatre Enakkaga Kaathiru Swades Baba Ekk Deewana Tha Sangamam Star Un Kannil Neer Vazhindal Kai Kodukkum Kai Nandhavana Theru Daud Chithirayil Nilachoru Nizhalkuthu Kida Poosari Magudi Rudranetra Sethu Kabhi Na Kabhi Mounam Sammadham Naan Sigappu Manithan Naan Vazhavaippen Mohenjo Daro Jackpot Annai Bhoomi 3D Chinarayudu Divorce: Not Between Husband and Wife Kokila Kadal Meengal Pangali Aalappirandhavan Magalir Mattum Chinna Gounder Rajadhi Raja Maharasan Kannathal Bhoomi Geetha Kutramum Thandanaiyum Un Samayal Arayil Annakili Kangalal Kaidhu Sei Boys Pick Pocket Adharvam Neethaane En Ponvasantham Pazhassi Raja Rudraveena Thalattu Ketkuthamma Kadamai Kanniyam Kattupaadu Paattukku Oru Thalaivan Uliyin Osai Enga Ooru Kavalkaran Kochu Kochu Santhoshangal Anbulla Rajinikanth Chinna Thayee Anbukku Naan Adimai Vetri Vizha Muhammad: The Messenger of God Indira Vinodayathra Dhoni Poomukhappadiyil Ninneyum Kaathu Veetula Raman Veliyila Krishnan Ethir Kaatru Yugandhar Tadka Jaane Tu... Ya Jaane Na Uravadum Nenjam Sindhu Bhairavi Chinna Kuyil Paaduthu Lingaa Enkeyo Ketta Kural Poovizhi Vasalile Vietnam Colony Kadha Thudarunnu Neethiyin Marupakkam Mayadari Krishnudu Muthu Alaigal Oivathillai Oru Oorla Oru Rajakumari Manathil Uruthi Vendum Oru Odai Nadhiyagirathu Azhage Unnai Aarathikkiren Vikram Twinkle Twinkle Little Star Mariyaan Rang De Basanti Makkal Aatchi Guna Muthuramalingam Aditya 369 Yuvataram Pilicindi Jagadeka Veerudu Athiloka Sundari Murattu Karangal Thakshak Panneer Pushpangal Zubeidaa Vellai Roja Kannathil Muthamittal Ramana Chinna Vathiyar Chinna Thambi Antha Sila Naatkal Stuartpuram Police Station Sooryan Oru Melliya Kodu April 1st Vidudhala 24 Mani Neram Raaja Raajathan Puthiya Vaarpugal May Madham Bobbili Raja Nee Manasu Naaku Telusu Captain Prabhakaran Maragatha Veenai Netrikkann Velaikaran Azhagar Malai Parasuram Indrudu Chandrudu Azhagi Rakshasudu Indian Niram Maaratha Pookkal En Bommukutty Ammavukku Athiradi Padai Thiruda Thiruda Kizhakku Vasal Pudhumai Penn Guru Meendum Kokila Magane Magane Rusi Kanda Poonai Prem Kahani Nooravathu Naal En Rasavin Manasile Therkathi Kallan Raasaiyya Oru Yathramozhi Kanna Thorakkanum Saami Payanangal Mudivathillai Abhilasha Pudhiya Mugam Anjali Pudhu Nellu Pudhu Naathu Pinnilavu Alli Arjuna Kadhal Rojavae Dharma Dorai Sila Samayangalil Shamitabh Kizhakkum Merkkum Enakku Nane Needipathi Kozhi Koovuthu I Mallu Vetti Minor Sri Shirdi Saibaba Mahathyam Innathe Chintha Vishayam Manamagale Vaa Nadigan Nammoora Mandara Hoove Sankarlal Enthiran Unnal Mudiyum Thambi Onaayum Aattukkuttiyum Hope Meendum Parasakthi Bhuvana Oru Kelvi Kuri Vaidhegi Kaathirunthaal Appa Rani Theni Solla Thudikuthu Manasu Solla Marandha Kadhai Kisna: The Warrior Poet Hey Ram Thodarum Chal Chalein Tharai Thappattai Athma Yeto Vellipoyindhi Manasu Kadhal Desam Mallepuvvu Naane Raja Naane Mandhiri Madhu Jallikattu Naani Sri Rama Rajyam Abbayitho Ammayi Sandhyakku Virinja Poovu Agal Vilakku Maya Kannadi Walter Vetrivel Poonthalir Minsara Kanavu Pagal Nilavu 102 Not Out Naan Kadavul Pagalil Oru Iravu Pillai Nila Bharathan Nizhalgal Anthimanthaarai Agaya Gangai Kadalora Kavithaigal Rangeela Devathai Sethupathi IPS Chinnavar Soora Samhaaram Naanum Oru Thozhilali Senthamizh Selvan Valibamey Vaa Vaa Nayagan Jaganmohini Mangal Pandey: The Rising Ninaive Oru Sangeetham Kanmani Ok Jaanu Sammohanam Kadal Sitaara Alaipayuthey Elizabeth: The Golden Age Love You Hamesha Yejaman Thanikattu Raja Ellame En Rasathan En Vazhi Thani Vazhi Karagattakaran Kadhal Virus Ellam Inba Mayyam Pudhiya Mannargal Raja Muthirai Raja Kaiya Vacha Thambikku Entha Ooru Jeans Nizhal Thedum Nenjangal Kakkai Siraginilae Nattupura Pattu Kalyanaraman Pandavas: The Five Warriors One 2 Ka 4 Kutty Siva Swati Mutyam Killer Auto Raja Rasathanthram Vandicholai Chinraasu Neengal Kettavai The Legend of Bhagat Singh Sri Raghavendra Kalaignan Sattendru Maaruthu Vaanilai Padayappa Accident Nalla Naal Karuvelam Pookkal Mahanadi Meenaxi: A Tale of Three Cities Kaakki Sattai Yuva Gentleman Gangmaster Ambigai Neril Vanthaal Muthal Vasantham Idaya Kovil 24 Muthal Mariyathai Arangetra Velai Naan Mahaan Alla Periya Kudumbam En Mana Vaanil Lakeer – Forbidden Lines Malaiyoor Mambattiyan Muthu Kaalai Samrajyam Mantri Gari Viyyankudu Kannukkul Nilavu Aradhana Chinna Mapillai Karpoora Mullai Kamaraj Puthiya Theerangal Nandu Yuvvraaj Kasi Ada... A Way of Life Achchani Adutha Varisu Mythri Dharma Pathini Per Sollum Pillai Kavalukku Kettikaran Mugam Rosaappo Ravikkai Kaari Iruvar Pathavi Pramanam Amaidhi Padai Ilaiyavan Guru Varusham Padhinaaru Kilipetchu Ketkava Guru Ajeya Bramma Sillunu Oru Kaadhal Oh Maane Maane Raanjhnaa Naan Potta Savaal Highway Aarilirunthu Arubathu Varai Pallavi Anu Pallavi Love & Love Only Magudam Thevar Magan Pulan Visaranai Pachakuthira Karisakattu Poove Anbe Aaruyire Bhadrakali Sabaash Naidu Kandukondain Kandukondain Kaatrinile Varum Geetham Dharma Yuddham Dheepam Viceroy's House Oyee Manasellam Honest Raj Panakkaran Moodu Pani Paandi Nattu Thangam Nenjathai Killathe Idem Pellam Baboi Vaazhkai Indru Poi Naalai Vaa Ennai Vittu Pogaathe Thazhuvatha Kaigal Sakkarakatti Johnny New Snehaveedu Nayak Kaliyoonjal Kolangal Ponnuketha Purushan Season Sahasame Swasaga Sagipo Moondram Pirai Kavikkuyil 16 Vayathinile Yodha Jab Tak Hai Jaan Irandil Ondru Ullasa Paravaigal Uruvam Thiruppu Munai En Uyir Thozhan Vinnaithaandi Varuvaayaa Man of the Match Amman Kovil Kizhakale Kummi Paattu Ezhuthatha Sattangal Pele Maharshi Varasudochhadu Amma Kanakku Sachin Periya Marudhu Mann Vasanai Ghajini Azhagiya Tamil Magan Kariyallam Shenbaga Poo Coolie No. 1 Chandralekha Rajakumaran Nalla Thambi Kaalapani Raavanan Saathiya Michael Madana Kama Rajan Anandha Ragam Veera Uthiripookkal Om Shanti Kazhugu Swarnakamalam Warriors of Heaven and Earth My Dear Kuttichathan Ponnar Shankar Jothi Namma Preethiya Ramu Housefull Jodi Idolle Ramayana Pithamagan Vaathiyaar Veettu Pillai Manaivi Solle Manthiram Thalattu Padava I Love India Rasa Magan Veetla Visheshanga Ilamai Kaalangal Kadhalar Dhinam Saagara Sangamam Azhagarsamiyin Kuthirai Fire Meendum Oru Kaathal Kathai Aranmanai Kili Sonnadhu Nee Dhanaa Unnai Solli Kutramillai Doli Saja Ke Rakhna Thanga Manasukkaran Water Nirnayam Tamasha Vetrikku Oruvan Rajavin Parvaiyile Naan Sonnathey Sattam Ilamai Oonjal Aadukirathu Mudivalla Arambam Friends Kizhake Pogum Rail Dhavani Kanavugal Paa Vidinja Kalyanam Love Birds Raja Paarvai Nadodi Thendral Aa Dinagalu Mandhira Punnagai Maaveeran Enkitta Mothathe Marupadiyum Vishwa Thulasi Ithu Engal Neethi Rishi Moolam Vidiyum Varai Kaathiru Merupu Daadi Lekar Hum Deewana Dil Nilave Mugam Kaattu Geetanjali Kai Veesamma Kai Veesu Valli Bombay Aruvadai Naal Chidambarathil Oru Appasamy Keladi Kanmani Kavari Maan Chinna Pasanga Naanga Kaadhal Oviyam Oomakkuyil Chittu Kuruvi Poovilangu Prema Sami Potta Mudichu Udhaya Time Idhayaththil Ore Idam Uzhavan Gopura Vasalile
Thai moogambikai, Parasuram, Kattalai, Alaipayuthey, Mythri, Chittu Kuruvi, Mangal Pandey: The Rising, Thanga Manasukkaran, Mallepuvvu and Veedu have A. R. Rahman or Ilaiyaraaja as the melodist
Thai moogambikai Parasuram Kattalai Alaipayuthey Mythri Chittu Kuruvi Mangal Pandey: The Rising Thanga Manasukkaran Mallepuvvu Veedu
action filter_type
action union
action find_reverse
entity A. R. Rahman
relation composer
action find_reverse
entity Ilaiyaraaja
relation composer
type work of art
{'OR': [[{'concept': 'work of art'}, 'composer', 'A. R. Rahman'], [{'concept': 'work of art'}, 'composer', 'Ilaiyaraaja']]}
SELECT DISTINCT ?w WHERE { { ?w property:composer ?h . VALUES ( ?h ) { ( resource:A._R._Rahman ) ( resource:Ilaiyaraaja ) } } . ?w rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6130287 Q108560
P19
Q56061
USER
Which administrative territories are the birthplace of A. R. Rahman or James Brooke ?
OR((Q108560,P19,c(Q56061)), (Q6130287,P19,c(Q56061)))
action filter_type
action union
action find
entity Q108560
relation P19
action find
entity Q6130287
relation P19
type Q56061
{'OR': [['Q108560', 'P19', {'concept': 'Q56061'}], ['Q6130287', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?b ) { ( resource:Q108560 ) ( resource:Q6130287 ) } . ?b property:P19 ?n } . ?n rdf:type ontology:Q56061 }
James Brooke A. R. Rahman
action filter_type
action union
action find
entity A. R. Rahman
relation place of birth
action find
entity James Brooke
relation place of birth
type administrative territorial entity
{'OR': [['A. R. Rahman', 'place of birth', {'concept': 'administrative territorial entity'}], ['James Brooke', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?b ) { ( resource:A._R._Rahman ) ( resource:James_Brooke ) } . ?b property:place_of_birth ?n } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1353 Q3141
SYSTEM
Delhi, Melbourne
Q1353 Q3141
OR((Q108560,P19,c(Q56061)), (Q6130287,P19,c(Q56061)))
action filter_type
action union
action find
entity Q108560
relation P19
action find
entity Q6130287
relation P19
type Q56061
[ANSWERS] are the birthplace of A. R. Rahman or James Brooke
{'OR': [['Q108560', 'P19', {'concept': 'Q56061'}], ['Q6130287', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?b ) { ( resource:Q108560 ) ( resource:Q6130287 ) } . ?b property:P19 ?n } . ?n rdf:type ontology:Q56061 }
Delhi Melbourne
Delhi and Melbourne are the birthplace of A. R. Rahman or James Brooke
Delhi Melbourne
action filter_type
action union
action find
entity A. R. Rahman
relation place of birth
action find
entity James Brooke
relation place of birth
type administrative territorial entity
{'OR': [['A. R. Rahman', 'place of birth', {'concept': 'administrative territorial entity'}], ['James Brooke', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?b ) { ( resource:A._R._Rahman ) ( resource:James_Brooke ) } . ?b property:place_of_birth ?n } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2829497
P136
Q1792379 Q483394
USER
How many art genres and genres are the genre for Alaipayuthey ?
(Q2829497,P136,c(Q1792379)) (Q2829497,P136,c(Q483394))
action count
action union
action filter_type
action find
entity Q2829497
relation P136
type Q1792379
action filter_type
action find
entity Q2829497
relation P136
type Q483394
['Q2829497', 'P136', {'concept': 'Q1792379'}] ['Q2829497', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { VALUES ( ?d ) { ( ontology:Q1792379 ) ( ontology:Q483394 ) } . ?i rdf:type ?d }
Alaipayuthey
action count
action union
action filter_type
action find
entity Alaipayuthey
relation genre
type art genre
action filter_type
action find
entity Alaipayuthey
relation genre
type genre
['Alaipayuthey', 'genre', {'concept': 'art genre'}] ['Alaipayuthey', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { VALUES ( ?d ) { ( ontology:art_genre ) ( ontology:genre ) } . ?i rdf:type ?d }
[]
art genre genre
SYSTEM
2 art genres and 1 genres
Q859369 Q1054574 Q842256
(Q2829497,P136,c(Q1792379)) (Q2829497,P136,c(Q483394))
action count
action union
action filter_type
action find
entity Q2829497
relation P136
type Q1792379
action filter_type
action find
entity Q2829497
relation P136
type Q483394
[ANSWER]
['Q2829497', 'P136', {'concept': 'Q1792379'}] ['Q2829497', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { VALUES ( ?d ) { ( ontology:Q1792379 ) ( ontology:Q483394 ) } . ?i rdf:type ?d }
comedy-drama romance film musical film
2 art genres and 1 genres
action count
action union
action filter_type
action find
entity Alaipayuthey
relation genre
type art genre
action filter_type
action find
entity Alaipayuthey
relation genre
type genre
['Alaipayuthey', 'genre', {'concept': 'art genre'}] ['Alaipayuthey', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { VALUES ( ?d ) { ( ontology:art_genre ) ( ontology:genre ) } . ?i rdf:type ?d }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027313
P532
Q56061 Q2235308
USER
Which ship types have their base port as more number of administrative territories than Elizabeth ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027313
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?w ) WHERE { ?z property:P532 ?b . ?z rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q24027313 property:P532 ?k . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?w > ?p ) }
Elizabeth
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Elizabeth
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?w ) WHERE { ?z property:port_of_registry ?b . ?z rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Elizabeth property:port_of_registry ?k . ?k rdf:type ontology:ship_type } } . FILTER ( ?w > ?p ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027313
relation P532
type Q2235308
[ANSWERS] have their base port as more number of administrative territories than Elizabeth
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?w ) WHERE { ?z property:P532 ?b . ?z rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Q24027313 property:P532 ?k . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?w > ?p ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have their base port as more number of administrative territories than Elizabeth
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Elizabeth
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?w ) WHERE { ?z property:port_of_registry ?b . ?z rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { resource:Elizabeth property:port_of_registry ?k . ?k rdf:type ontology:ship_type } } . FILTER ( ?w > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24027497
P532
Q56061 Q2235308
USER
And how about Johann?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027497
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f rdf:type ontology:Q2235308 . resource:Q24027497 property:P532 ?f } } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?t ) WHERE { ?r property:P532 ?q . ?r rdf:type ontology:Q2235308 . ?q rdf:type ontology:Q56061 } GROUP BY ?r } }
Johann
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Johann
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f rdf:type ontology:ship_type . resource:Johann property:port_of_registry ?f } } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?t ) WHERE { ?r property:port_of_registry ?q . ?r rdf:type ontology:ship_type . ?q rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027497
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f rdf:type ontology:Q2235308 . resource:Q24027497 property:P532 ?f } } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?t ) WHERE { ?r property:P532 ?q . ?r rdf:type ontology:Q2235308 . ?q rdf:type ontology:Q56061 } GROUP BY ?r } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Johann
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { ?f rdf:type ontology:ship_type . resource:Johann property:port_of_registry ?f } } . FILTER ( ?t > ?j ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?t ) WHERE { ?r property:port_of_registry ?q . ?r rdf:type ontology:ship_type . ?q rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2596850 Q468026 Q35462
P532
Q56061
USER
What are the port of registry of those ship types ?
(Q2596850,P532,c(Q56061)) (Q468026,P532,c(Q56061)) (Q35462,P532,c(Q56061))
action filter_type
action find
entity prev_answer
relation P532
type Q56061
['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . ?q property:P532 ?p . VALUES ( ?q ) { ( resource:Q2992316 ) ( resource:Q2301456 ) ( resource:Q983141 ) } }
MS Azura SS Maxim Gorkiy RMS Aquitania
action filter_type
action find
entity prev_answer
relation port of registry
type administrative territorial entity
['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . ?q property:port_of_registry ?p . VALUES ( ?q ) { ( resource:HSC_Condor_Rapide ) ( resource:MS_Viking_XPRS ) ( resource:MY_Sam_Simon ) } }
[]
administrative territorial entity
Q1874 Q79848 Q24826
SYSTEM
Odessa, Southampton, Liverpool
Q30985 Q79848 Q2467 Q1874 Q24826
(Q2596850,P532,c(Q56061)) (Q468026,P532,c(Q56061)) (Q35462,P532,c(Q56061))
action filter_type
action find
entity prev_answer
relation P532
type Q56061
The port of registry of those ship types are in [ANSWERS]
['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . ?q property:P532 ?p . VALUES ( ?q ) { ( resource:Q2992316 ) ( resource:Q2301456 ) ( resource:Q983141 ) } }
Hamilton Southampton Nassau Odessa Liverpool
The port of registry of those ship types are in Odessa, Southampton and Liverpool
Odessa Southampton Liverpool
action filter_type
action find
entity prev_answer
relation port of registry
type administrative territorial entity
['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . ?q property:port_of_registry ?p . VALUES ( ?q ) { ( resource:HSC_Condor_Rapide ) ( resource:MS_Viking_XPRS ) ( resource:MY_Sam_Simon ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1874
P190
Q486972
USER
Which human settlement is partner town of that administrative territory ?
(Q1874,P190,c(Q486972))
action filter_type
action find
entity Q1874
relation P190
type Q486972
['Q1874', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { resource:Q1874 property:P190 ?w . ?w rdf:type ontology:Q486972 }
Odessa
action filter_type
action find
entity Odessa
relation sister city
type human settlement
['Odessa', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { resource:Odessa property:sister_city ?w . ?w rdf:type ontology:human_settlement }
[]
human settlement
Clarification for simple ques.
Q24826
SYSTEM
Did you mean Liverpool ?
Q1874 Q79848 Q24826
(Q1874,P190,c(Q486972)) (Q79848,P190,c(Q486972)) (Q24826,P190,c(Q486972))
[ANSWER]
['Q1874', 'P190', {'concept': 'Q486972'}] ['Q79848', 'P190', {'concept': 'Q486972'}] ['Q24826', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { resource:Q1874 property:P190 ?w . ?w rdf:type ontology:Q486972 }
Odessa Southampton Liverpool
Did you mean Liverpool ?
Liverpool
['Odessa', 'sister city', {'concept': 'human settlement'}] ['Southampton', 'sister city', {'concept': 'human settlement'}] ['Liverpool', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { resource:Odessa property:sister_city ?w . ?w rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
USER
No, I meant Odessa. Could you tell me the answer for that?
(Q1874,P190,c(Q486972))
Q1874
['Q1874', 'P190', {'concept': 'Q486972'}]
['Odessa', 'sister city', {'concept': 'human settlement'}]
[]
Q1792
SYSTEM
Gdańsk
Q1792
(Q1874,P190,c(Q486972))
action filter_type
action find
entity Q1874
relation P190
type Q486972
[ANSWER] is partner town of that administrative territory
['Q1874', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { resource:Q1874 property:P190 ?w . ?w rdf:type ontology:Q486972 }
Gdańsk
Gdańsk is partner town of that administrative territory
Gdańsk
action filter_type
action find
entity Odessa
relation sister city
type human settlement
['Odessa', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { resource:Odessa property:sister_city ?w . ?w rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11884967 Q108560
P27
Q15617994
USER
Which administrative territories are A. R. Rahman or Nuutti Takkinen a civilian of ?
OR((Q108560,P27,c(Q15617994)), (Q11884967,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q108560
relation P27
action find
entity Q11884967
relation P27
type Q15617994
{'OR': [['Q108560', 'P27', {'concept': 'Q15617994'}], ['Q11884967', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q108560 property:P27 ?b } UNION { resource:Q11884967 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Nuutti Takkinen A. R. Rahman
action filter_type
action union
action find
entity A. R. Rahman
relation country of citizenship
action find
entity Nuutti Takkinen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['A. R. Rahman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nuutti Takkinen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:A._R._Rahman property:country_of_citizenship ?b } UNION { resource:Nuutti_Takkinen property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q668
SYSTEM
Finland, India
Q33 Q668
OR((Q108560,P27,c(Q15617994)), (Q11884967,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q108560
relation P27
action find
entity Q11884967
relation P27
type Q15617994
[ANSWERS] are A. R. Rahman or Nuutti Takkinen a civilian of
{'OR': [['Q108560', 'P27', {'concept': 'Q15617994'}], ['Q11884967', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q108560 property:P27 ?b } UNION { resource:Q11884967 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Finland India
Finland and India are A. R. Rahman or Nuutti Takkinen a civilian of
Finland India
action filter_type
action union
action find
entity A. R. Rahman
relation country of citizenship
action find
entity Nuutti Takkinen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['A. R. Rahman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nuutti Takkinen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:A._R._Rahman property:country_of_citizenship ?b } UNION { resource:Nuutti_Takkinen property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33 Q668
P36
Q56061
USER
Which administrative territories are the capitals of Finland and India ?
(Q33,P36,c(Q56061)) (Q668,P36,c(Q56061))
action union
action filter_type
action find
entity Q33
relation P36
type Q56061
action filter_type
action find
entity Q668
relation P36
type Q56061
['Q33', 'P36', {'concept': 'Q56061'}] ['Q668', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:Q56061 . resource:Q33 property:P36 ?e } UNION { resource:Q668 property:P36 ?e . ?e rdf:type ontology:Q56061 } }
Finland India
action union
action filter_type
action find
entity Finland
relation capital
type administrative territorial entity
action filter_type
action find
entity India
relation capital
type administrative territorial entity
['Finland', 'capital', {'concept': 'administrative territorial entity'}] ['India', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:administrative_territorial_entity . resource:Finland property:capital ?e } UNION { resource:India property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1757 Q987
SYSTEM
Helsinki, New Delhi
Q1757 Q987
(Q33,P36,c(Q56061)) (Q668,P36,c(Q56061))
action union
action filter_type
action find
entity Q33
relation P36
type Q56061
action filter_type
action find
entity Q668
relation P36
type Q56061
[ANSWERS] are the capitals of Finland and India
['Q33', 'P36', {'concept': 'Q56061'}] ['Q668', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:Q56061 . resource:Q33 property:P36 ?e } UNION { resource:Q668 property:P36 ?e . ?e rdf:type ontology:Q56061 } }
Helsinki New Delhi
Helsinki and New Delhi are the capitals of Finland and India
Helsinki New Delhi
action union
action filter_type
action find
entity Finland
relation capital
type administrative territorial entity
action filter_type
action find
entity India
relation capital
type administrative territorial entity
['Finland', 'capital', {'concept': 'administrative territorial entity'}] ['India', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { ?e rdf:type ontology:administrative_territorial_entity . resource:Finland property:capital ?e } UNION { resource:India property:capital ?e . ?e rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1757 Q987
P190
Q56061
USER
Which administrative territories are partner towns of Helsinki and New Delhi ?
(Q1757,P190,c(Q56061)) (Q987,P190,c(Q56061))
action union
action filter_type
action find
entity Q1757
relation P190
type Q56061
action filter_type
action find
entity Q987
relation P190
type Q56061
['Q1757', 'P190', {'concept': 'Q56061'}] ['Q987', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { resource:Q1757 property:P190 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q987 property:P190 ?h . ?h rdf:type ontology:Q56061 } }
Helsinki New Delhi
action union
action filter_type
action find
entity Helsinki
relation sister city
type administrative territorial entity
action filter_type
action find
entity New Delhi
relation sister city
type administrative territorial entity
['Helsinki', 'sister city', {'concept': 'administrative territorial entity'}] ['New Delhi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:Helsinki property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:New_Delhi property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1085 Q649 Q84
SYSTEM
Prague, Moscow, London
Q226 Q1754 Q1748 Q585 Q472 Q1764 Q10704 Q1085 Q3711 Q649 Q61 Q3130 Q84 Q1490 Q1297
(Q1757,P190,c(Q56061)) (Q987,P190,c(Q56061))
action union
action filter_type
action find
entity Q1757
relation P190
type Q56061
action filter_type
action find
entity Q987
relation P190
type Q56061
[ANSWERS] are partner towns of Helsinki and New Delhi
['Q1757', 'P190', {'concept': 'Q56061'}] ['Q987', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { resource:Q1757 property:P190 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q987 property:P190 ?h . ?h rdf:type ontology:Q56061 } }
Nuuk Stockholm Copenhagen Oslo Sofia Reykjavík Tórshavn Prague Belgrade Moscow Washington, D.C. Sydney London Tokyo Chicago
Prague, Moscow and London are partner towns of Helsinki and New Delhi
Prague Moscow London
action union
action filter_type
action find
entity Helsinki
relation sister city
type administrative territorial entity
action filter_type
action find
entity New Delhi
relation sister city
type administrative territorial entity
['Helsinki', 'sister city', {'concept': 'administrative territorial entity'}] ['New Delhi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:Helsinki property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:New_Delhi property:sister_city ?h . ?h rdf:type ontology:administrative_territorial_entity } }
[]