Simple Question (Direct)
Simple Question
Q7040276
P161
Q502895
USER
Who were casted in Nishana ?
(Q7040276,P161,c(Q502895))
action filter_type
action find
entity Q7040276
relation P161
type Q502895
['Q7040276', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7040276 property:P161 ?p . ?p rdf:type ontology:Q502895 }
Nishana
action filter_type
action find
entity Nishana
relation cast member
type common name
['Nishana', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Nishana property:cast_member ?p . ?p rdf:type ontology:common_name }
[]
common name
Q379604 Q3123705 Q465826
SYSTEM
Mithun Chakraborty, Paresh Rawal, Rekha
Q4779117 Q3123705 Q379604 Q7299451 Q465826 Q7131283 Q7461024
(Q7040276,P161,c(Q502895))
action filter_type
action find
entity Q7040276
relation P161
type Q502895
[ANSWERS] were casted in Nishana
['Q7040276', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7040276 property:P161 ?p . ?p rdf:type ontology:Q502895 }
Aparajita Paresh Rawal Mithun Chakraborty Raza Murad Rekha Pankaj Dheer Shafi Inamdar
Mithun Chakraborty, Paresh Rawal and Rekha were casted in Nishana
Mithun Chakraborty Paresh Rawal Rekha
action filter_type
action find
entity Nishana
relation cast member
type common name
['Nishana', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Nishana property:cast_member ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q379604 Q3123705 Q465826
P166
Q618779
USER
What were won by those people ?
(Q379604,P166,c(Q618779)) (Q3123705,P166,c(Q618779)) (Q465826,P166,c(Q618779))
action filter_type
action find
entity prev_answer
relation P166
type Q618779
['Q379604', 'P166', {'concept': 'Q618779'}] ['Q3123705', 'P166', {'concept': 'Q618779'}] ['Q465826', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?e ) { ( resource:Q4779117 ) ( resource:Q3123705 ) ( resource:Q379604 ) } . ?e property:P166 ?k . ?k rdf:type ontology:Q618779 }
Mithun Chakraborty Paresh Rawal Rekha
action filter_type
action find
entity prev_answer
relation award received
type award
['Mithun Chakraborty', 'award received', {'concept': 'award'}] ['Paresh Rawal', 'award received', {'concept': 'award'}] ['Rekha', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?e ) { ( resource:Aparajita ) ( resource:Paresh_Rawal ) ( resource:Mithun_Chakraborty ) } . ?e property:award_received ?k . ?k rdf:type ontology:award }
[]
award
Q37049 Q37049 Q37049
SYSTEM
Filmfare Awards
Q37049 Q949193 Q37049 Q949193 Q37049
(Q379604,P166,c(Q618779)) (Q3123705,P166,c(Q618779)) (Q465826,P166,c(Q618779))
action filter_type
action find
entity prev_answer
relation P166
type Q618779
The [ANSWER], [ANSWER] and [ANSWER] were won by those people
['Q379604', 'P166', {'concept': 'Q618779'}] ['Q3123705', 'P166', {'concept': 'Q618779'}] ['Q465826', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?e ) { ( resource:Q4779117 ) ( resource:Q3123705 ) ( resource:Q379604 ) } . ?e property:P166 ?k . ?k rdf:type ontology:Q618779 }
Filmfare Awards Padma Shri Filmfare Awards Padma Shri Filmfare Awards
The Filmfare Awards, Filmfare Awards and Filmfare Awards were won by those people
Filmfare Awards Filmfare Awards Filmfare Awards
action filter_type
action find
entity prev_answer
relation award received
type award
['Mithun Chakraborty', 'award received', {'concept': 'award'}] ['Paresh Rawal', 'award received', {'concept': 'award'}] ['Rekha', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?e ) { ( resource:Aparajita ) ( resource:Paresh_Rawal ) ( resource:Mithun_Chakraborty ) } . ?e property:award_received ?k . ?k rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37049
P17
Q15617994
USER
Which administrative territory is Filmfare Awards situated in ?
(Q37049,P17,c(Q15617994))
action filter_type
action find
entity Q37049
relation P17
type Q15617994
['Q37049', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q37049 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Filmfare Awards
action filter_type
action find
entity Filmfare Awards
relation country
type designation for an administrative territorial entity
['Filmfare Awards', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Filmfare_Awards property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q37049,P17,c(Q15617994))
action filter_type
action find
entity Q37049
relation P17
type Q15617994
Filmfare Awards is situated in [ANSWER]
['Q37049', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q37049 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
India
Filmfare Awards is situated in India
India
action filter_type
action find
entity Filmfare Awards
relation country
type designation for an administrative territorial entity
['Filmfare Awards', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Filmfare_Awards property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q7725634
USER
How many administrative territories did around the same number of works of art or literary works originate as that administrative territory ?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q668
relation P495
type Q838948
type Q7725634
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } . ?b rdf:type ?v } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:P495 resource:Q668 . { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } . ?g rdf:type ?e } } } . FILTER ( ?p = ?k ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity India
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:literary_work ) } . ?b rdf:type ?v } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:country_of_origin resource:India . { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:literary_work ) } . ?g rdf:type ?e } } } . FILTER ( ?p = ?k ) }
[]
designation for an administrative territorial entity work of art literary work
SYSTEM
1
Q668
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q668
relation P495
type Q838948
type Q7725634
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } . ?b rdf:type ?v } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:P495 resource:Q668 . { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } . ?g rdf:type ?e } } } . FILTER ( ?p = ?k ) }
India
1
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity India
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:literary_work ) } . ?b rdf:type ?v } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:country_of_origin resource:India . { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:literary_work ) } . ?g rdf:type ?e } } } . FILTER ( ?p = ?k ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q37049
P21 P166
Q502895
USER
Which people won Filmfare Awards and have male as the sex ?
AND((c(Q502895),P166,Q37049), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q37049
relation P166
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q37049'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P21 resource:Q6581097 . ?z property:P166 resource:Q37049 . ?z rdf:type ontology:Q502895 }
male Filmfare Awards
action filter_type
action intersection
action find_reverse
entity Filmfare Awards
relation award received
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Filmfare Awards'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:gender resource:male . ?z property:award_received resource:Filmfare_Awards . ?z rdf:type ontology:common_name }
[]
common name
Q379157 Q3595650 Q3557842 Q7368804 Q16730057 Q7511179 Q4831843 Q2723913 Q6962310 Q3418007
SYSTEM
Some of them are Dharmendra, Ravi, Vidyut Jamwal, Roshan, Faredoon Irani, Rajinder Singh Bedi, Ayushmann Khurrana, Sachin Dev Burman, Nana Palsikar, Rajkumar Hirani
Q3111264 Q804792 Q1662036 Q2277365 Q3520369 Q16014936 Q80309 Q2875168 Q16732667 Q16008749 Q379604 Q7489036 Q55405 Q6750415 Q7124977 Q3032420 Q983043 Q7296728 Q633252 Q834338 Q1373377 Q13653638 Q7929361 Q560163 Q1190439 Q2341602 Q7416066 Q2820242 Q4667468 Q2723734 Q3441794 Q4667376 Q421581 Q4700820 Q46392 Q2475741 Q1063412 Q7408821 Q6962310 Q281249 Q6730188 Q15485253 Q3417931 Q360927 Q9557 Q331050 Q3633940 Q3633335 Q156815 Q3418007 Q3469326 Q355899 Q6713109 Q3112826 Q7903310 Q5230578 Q522232 Q333443 Q3401298 Q544240 Q3351160 Q1965837 Q4667388 Q3123705 Q18205931 Q442668 Q9026264 Q612167 Q334822 Q4790608 Q320115 Q7278407 Q732416 Q2995800 Q3631305 Q7906076 Q377903 Q5405753 Q9543 Q7368804 Q3595650 Q4769639 Q2319562 Q7285993 Q6752284 Q16008218 Q233748 Q7286617 Q3461215 Q15340767 Q7631749 Q1974722 Q7633780 Q2069891 Q472524 Q2845307 Q674337 Q3121114 Q5070934 Q9570 Q7960687 Q3177812 Q15460378 Q7285401 Q4807036 Q7238560 Q1391329 Q7418421 Q468339 Q187058 Q55407 Q379171 Q704859 Q469945 Q6881637 Q4746854 Q354051 Q1715105 Q12452258 Q4746891 Q589191 Q3518444 Q5315319 Q4901101 Q16013371 Q1729384 Q1887901 Q3191765 Q3117676 Q2726352 Q2552960 Q2721505 Q6073919 Q2049688 Q332876 Q3899724 Q3286556 Q15434742 Q3149575 Q7260793 Q455129 Q82066 Q6354984 Q5278086 Q7387803 Q252290 Q3557842 Q4831843 Q313956 Q2857813 Q7285950 Q174648 Q7296611 Q4648494 Q590853 Q4916186 Q6673963 Q3200413 Q12447893 Q1390803 Q468442 Q7313473 Q5278106 Q7633806 Q16730057 Q4396739 Q2344606 Q3065916 Q1397481 Q2276478 Q12445270 Q158533 Q6748387 Q13115036 Q4747497 Q944546 Q357608 Q3349404 Q3345399 Q2646553 Q3634256 Q806955 Q470898 Q5621241 Q6172986 Q3595129 Q1607373 Q2347152 Q3522294 Q258820 Q7511179 Q6123531 Q2723276 Q6983479 Q731854 Q628832 Q2723913 Q7396468 Q48619 Q7266401 Q3633946 Q2475653 Q7397582 Q7285367 Q2732205 Q3327572 Q3494501 Q30876 Q1397628 Q355748 Q2038656 Q1203191 Q630736 Q3632994 Q16201627 Q7286244 Q2839609 Q16750160 Q5636770 Q983571 Q7273418 Q2917376 Q7495981 Q6323404 Q4751368 Q2364996 Q1373408 Q3763980 Q726195 Q7633673 Q6165333 Q979990 Q3633978 Q6520598 Q4914479 Q2737017 Q2074877 Q5923646 Q381477 Q3630389 Q15814128 Q379157 Q560178 Q2723876 Q16200324 Q302743 Q310867
AND((c(Q502895),P166,Q37049), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q37049
relation P166
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] won Filmfare Awards and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q37049'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P21 resource:Q6581097 . ?z property:P166 resource:Q37049 . ?z rdf:type ontology:Q502895 }
Pran Baldev Raj Chopra Muzaffar Ali Sashadhar Mukherjee K. Balachander Jal Mistry Om Puri Aziz Mirza Akhtar Mirza Fali Mistry Mithun Chakraborty Shantanu Moitra Bimal Roy Manjot Singh Paintal Laxmikant-Pyarelal Sunil Shetty Ravindra Jain Sanjay Leela Bhansali Boman Irani Rakesh Roshan Nitin Chandrakant Desai Viju Shah Anupam Kher Prabhu Deva Manoj Kumar Sandeep Chowta Abbas Tyrewala Abhishek Kapoor Anand Bakshi Ronnie Screwvala Abhi Bhattacharya Akshaye Khanna Akhtar ul Iman Amjad Khan Nana Patekar Ranbir Kapoor Samaresh Basu Nana Palsikar Ashutosh Gowariker Vijay Bhatt Nabendu Ghosh Raj Khosla Irrfan Khan Aamir Khan Dhanush Deepak Dobriyal Gulshan Kumar Mehta Mohammed Rafi Rajkumar Hirani Sajid-Wajid G. P. Sippy M. S. Sathyu Govind Nihalani Uttam Singh David Abraham Cheulkar Shekhar Kapur Amrish Puri Prakash Jha Sachin Bhowmick R. D. Burman Nasir Hussain Abhijat Joshi Paresh Rawal Chinni Prakash Arjun Rampal M. S. Shinde Anu Malik Shammi Kapoor Arijit Singh Dev Anand Raam Laxman Vijay Anand Nawazuddin Siddiqui Rahi Masoom Raza V. K. Murthy Sunil Dutt Verma Malik Salman Khan Roshan Ravi Annu Kapoor Javed Akhtar Rajendra Krishan Manu Rishi Nariman Irani Akshay Kumar Rakesh Pandit Saeed Akhtar Mirza Ankit Tiwari Subodh Ghosh Sanjeev Kumar Sudhendu Roy Rajkumar Santoshi Amiya Chakravarty Anand-Milind Naushad Satish Kaushik Chandan Arora Amitabh Bachchan Wajahat Mirza A. Sreekar Prasad Vikramaditya Motwane Raja Babu Asit Sen Prasoon Joshi Ram Gopal Varma Sanjay Chauhan Gulzar Abhishek Bachchan Raj Kapoor Shashi Kapoor Arshad Warsi Naseeruddin Shah Mithoon Amit Kumar Sooraj R. Barjatya Majrooh Sultanpuri Vasant Dev Amit Trivedi C. V. Sridhar Girish Karnad Duniya Soori Bharat Bhushan Kamal Bose K. Asif Mani Kaul Kader Khan Rahul Khanna Tusshar Kapoor Shakeel Badayuni Amol Palekar Irshad Kamil S. P. Balasubrahmanyam J. P. Dutta Ashok Kumar Mansoor Khan Manoj Tyagi Imtiaz Ali Purab Kohli Basu Chatterjee Kaifi Azmi Kalyanji Virji Shah Dinesh Kumar S. Ramachandra Saif Ali Khan Vidyut Jamwal Ayushmann Khurrana Anil Kapoor Anurag Basu Rajeev Ravi Mani Ratnam Ravi Baswani A. Vincent Farhan Akhtar Biren Nag Longinus Fernandes Kundan Shah Motilal Ramanand Sagar Karan Johar Rensil D'Silva Dinesh Thakur Sudhir Mishra Faredoon Irani Ronit Roy Sukhwinder Singh Rakeysh Omprakash Mehra Shakti Samanta Shailendra Manmohan Krishna Manoj Bajpai Maneesh Sharma Samir Chanda Amole Gupte Sunny Deol Aditya Chopra Salil Chowdhury Bappi Lahiri N. T. Rama Rao Shriram Lagoo Bansi Chandragupta Sonu Nigam Vikram Dharma Jeet Ganguly Asrani Vidhu Vinod Chopra Mahesh Bhatt Karthik Raja Rishi Kapoor Rajinder Singh Bedi Jaideep Sahni Indeevar Nazir Hussain Vivek Oberoi Kunal Kohli Sachin Dev Burman Sabu Cyril Bobby Deol Qamar Jalalabadi Nagesh Kukunoor Subhash Ghai Sadashiv Amrapurkar Rajkummar Rao Hemanta Kumar Mukhopadhyay Mukul S. Anand Shiney Ahuja Yash Chopra O. P. Nayyar Mehmood Ali Vinod Khanna Arbaaz Khan Goutam Ghose Mohammed Zahur Khayyam Bosco-Caesar Rajiv Rai Anurag Kashyap Radhu Karmakar Habib Faisal Johnny Lever R.Verman Mohit Chauhan Shiamak Davar K. J. Singh Anandji Virji Shah Prateik Babbar V. Shantaram Raaj Kumar Ashok Mehta Sudeep Chatterjee Javed Siddiqui Saeed Jaffrey Pritam Chakraborty Lekh Tandon Binod Pradhan Mahendra Kapoor Rajesh Roshan Hriday Lani Kamal Haasan Kamleshwar Ritesh Batra Dharmendra Jackie Shroff Utpal Dutt Nikhil Dwivedi Basu Bhattacharya Sanjay Dutt
Dharmendra, Ravi, Vidyut Jamwal, Roshan, Faredoon Irani, Rajinder Singh Bedi, Ayushmann Khurrana, Sachin Dev Burman, Nana Palsikar and Rajkumar Hirani won Filmfare Awards and have male as the sex
Dharmendra Ravi Vidyut Jamwal Roshan Faredoon Irani Rajinder Singh Bedi Ayushmann Khurrana Sachin Dev Burman Nana Palsikar Rajkumar Hirani
action filter_type
action intersection
action find_reverse
entity Filmfare Awards
relation award received
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Filmfare Awards'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:gender resource:male . ?z property:award_received resource:Filmfare_Awards . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q379157
P26
Q502895
USER
Who is married to Dharmendra ?
(Q379157,P26,c(Q502895))
action filter_type
action find
entity Q379157
relation P26
type Q502895
['Q379157', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q379157 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Dharmendra
action filter_type
action find
entity Dharmendra
relation spouse
type common name
['Dharmendra', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Dharmendra property:spouse ?y . ?y rdf:type ontology:common_name }
[]
common name
Q33635
SYSTEM
Hema Malini
Q33635
(Q379157,P26,c(Q502895))
action filter_type
action find
entity Q379157
relation P26
type Q502895
[ANSWER] is married to Dharmendra
['Q379157', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q379157 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Hema Malini
Hema Malini is married to Dharmendra
Hema Malini
action filter_type
action find
entity Dharmendra
relation spouse
type common name
['Dharmendra', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Dharmendra property:spouse ?y . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3190749 Q379157
P26
Q502895
USER
Or Jérémy Florès?
OR((Q379157,P26,c(Q502895)), (Q3190749,P26,c(Q502895)))
action filter_type
action union
action find
entity Q379157
relation P26
action find
entity Q3190749
relation P26
type Q502895
{'OR': [['Q379157', 'P26', {'concept': 'Q502895'}], ['Q3190749', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { { ?c property:P26 ?r . VALUES ( ?c ) { ( resource:Q3190749 ) ( resource:Q379157 ) } } . ?r rdf:type ontology:Q502895 }
Jérémy Florès Dharmendra
action filter_type
action union
action find
entity Dharmendra
relation spouse
action find
entity Jérémy Florès
relation spouse
type common name
{'OR': [['Dharmendra', 'spouse', {'concept': 'common name'}], ['Jérémy Florès', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { { ?c property:spouse ?r . VALUES ( ?c ) { ( resource:Jérémy_Florès ) ( resource:Dharmendra ) } } . ?r rdf:type ontology:common_name }
[]
common name
Q33635 Q1532647
SYSTEM
Hema Malini, Hinarani de Longeaux
Q33635 Q1532647
OR((Q379157,P26,c(Q502895)), (Q3190749,P26,c(Q502895)))
action filter_type
action union
action find
entity Q379157
relation P26
action find
entity Q3190749
relation P26
type Q502895
[ANSWERS]
{'OR': [['Q379157', 'P26', {'concept': 'Q502895'}], ['Q3190749', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { { ?c property:P26 ?r . VALUES ( ?c ) { ( resource:Q3190749 ) ( resource:Q379157 ) } } . ?r rdf:type ontology:Q502895 }
Hema Malini Hinarani de Longeaux
Hema Malini Hinarani de Longeaux
action filter_type
action union
action find
entity Dharmendra
relation spouse
action find
entity Jérémy Florès
relation spouse
type common name
{'OR': [['Dharmendra', 'spouse', {'concept': 'common name'}], ['Jérémy Florès', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { { ?c property:spouse ?r . VALUES ( ?c ) { ( resource:Jérémy_Florès ) ( resource:Dharmendra ) } } . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q33635 Q1532647
P26
Q502895
USER
Who are married to those ones ?
(c(Q502895),P26,Q33635) (c(Q502895),P26,Q1532647)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q33635'] [{'concept': 'Q502895'}, 'P26', 'Q1532647']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q33635 ) ( resource:Q1532647 ) } . ?x property:P26 ?q }
Hema Malini Hinarani de Longeaux
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hema Malini'] [{'concept': 'common name'}, 'spouse', 'Hinarani de Longeaux']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:Hema_Malini ) ( resource:Hinarani_de_Longeaux ) } . ?x property:spouse ?q }
[]
common name
Q379157 Q3190749
SYSTEM
Dharmendra, Jérémy Florès
Q379157 Q3190749
(c(Q502895),P26,Q33635) (c(Q502895),P26,Q1532647)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are married to those ones
[{'concept': 'Q502895'}, 'P26', 'Q33635'] [{'concept': 'Q502895'}, 'P26', 'Q1532647']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . VALUES ( ?x ) { ( resource:Q33635 ) ( resource:Q1532647 ) } . ?x property:P26 ?q }
Dharmendra Jérémy Florès
Dharmendra and Jérémy Florès are married to those ones
Dharmendra Jérémy Florès
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hema Malini'] [{'concept': 'common name'}, 'spouse', 'Hinarani de Longeaux']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . VALUES ( ?x ) { ( resource:Hema_Malini ) ( resource:Hinarani_de_Longeaux ) } . ?x property:spouse ?q }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q379157 Q3190749
P27
Q15617994
USER
Which administrative territories are Dharmendra and Jérémy Florès an inhabitant of ?
(Q379157,P27,c(Q15617994)) (Q3190749,P27,c(Q15617994))
action union
action filter_type
action find
entity Q379157
relation P27
type Q15617994
action filter_type
action find
entity Q3190749
relation P27
type Q15617994
['Q379157', 'P27', {'concept': 'Q15617994'}] ['Q3190749', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?h ) { ( resource:Q3190749 ) ( resource:Q379157 ) } . ?h property:P27 ?g }
Dharmendra Jérémy Florès
action union
action filter_type
action find
entity Dharmendra
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Jérémy Florès
relation country of citizenship
type designation for an administrative territorial entity
['Dharmendra', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jérémy Florès', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?h ) { ( resource:Jérémy_Florès ) ( resource:Dharmendra ) } . ?h property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q668 Q142
SYSTEM
India, France
Q668 Q142
(Q379157,P27,c(Q15617994)) (Q3190749,P27,c(Q15617994))
action union
action filter_type
action find
entity Q379157
relation P27
type Q15617994
action filter_type
action find
entity Q3190749
relation P27
type Q15617994
[ANSWERS] are Dharmendra and Jérémy Florès an inhabitant of
['Q379157', 'P27', {'concept': 'Q15617994'}] ['Q3190749', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?h ) { ( resource:Q3190749 ) ( resource:Q379157 ) } . ?h property:P27 ?g }
India France
India and France are Dharmendra and Jérémy Florès an inhabitant of
India France
action union
action filter_type
action find
entity Dharmendra
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Jérémy Florès
relation country of citizenship
type designation for an administrative territorial entity
['Dharmendra', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jérémy Florès', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?h ) { ( resource:Jérémy_Florès ) ( resource:Dharmendra ) } . ?h property:country_of_citizenship ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q379157
P140
Q874405
USER
Which social group is the religion of that person ?
(Q379157,P140,c(Q874405))
action filter_type
action find
entity Q379157
relation P140
type Q874405
['Q379157', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q379157 property:P140 ?w . ?w rdf:type ontology:Q874405 }
Dharmendra
action filter_type
action find
entity Dharmendra
relation religion
type social group
['Dharmendra', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Dharmendra property:religion ?w . ?w rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q379157
SYSTEM
Did you mean Dharmendra ?
Q668 Q142
(Q668,P140,c(Q874405)) (Q142,P140,c(Q874405))
[ANSWER]
['Q668', 'P140', {'concept': 'Q874405'}] ['Q142', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q379157 property:P140 ?w . ?w rdf:type ontology:Q874405 }
India France
Did you mean Dharmendra ?
Dharmendra
['India', 'religion', {'concept': 'social group'}] ['France', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Dharmendra property:religion ?w . ?w rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
Yes
(Q379157,P140,c(Q874405))
['Q379157', 'P140', {'concept': 'Q874405'}]
['Dharmendra', 'religion', {'concept': 'social group'}]
[]
Q9316
SYSTEM
Sikhism
Q9316
(Q379157,P140,c(Q874405))
action filter_type
action find
entity Q379157
relation P140
type Q874405
[ANSWER] is the religion of that person
['Q379157', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q379157 property:P140 ?w . ?w rdf:type ontology:Q874405 }
Sikhism
Sikhism is the religion of that person
Sikhism
action filter_type
action find
entity Dharmendra
relation religion
type social group
['Dharmendra', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Dharmendra property:religion ?w . ?w rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q379157
P162
Q838948
USER
Which works of art have been produced by Dharmendra ?
(c(Q838948),P162,Q379157)
action filter_type
action find_reverse
entity Q379157
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q379157']
SELECT DISTINCT ?i WHERE { ?i property:P162 resource:Q379157 . ?i rdf:type ontology:Q838948 }
Dharmendra
action filter_type
action find_reverse
entity Dharmendra
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Dharmendra']
SELECT DISTINCT ?i WHERE { ?i property:producer resource:Dharmendra . ?i rdf:type ontology:work_of_art }
[]
work of art
Q19263636 Q4631657 Q4780033
SYSTEM
Ghayal Once Again, 23rd March 1931: Shaheed, Apne
Q4631657 Q19263636 Q4864967 Q8048074 Q7550355 Q4780033 Q5555971 Q6019764
(c(Q838948),P162,Q379157)
action filter_type
action find_reverse
entity Q379157
relation P162
type Q838948
[ANSWERS] have been produced by Dharmendra
[{'concept': 'Q838948'}, 'P162', 'Q379157']
SELECT DISTINCT ?i WHERE { ?i property:P162 resource:Q379157 . ?i rdf:type ontology:Q838948 }
23rd March 1931: Shaheed Ghayal Once Again Barsaat Yamla Pagla Deewana 2 Socha Na Tha Apne Ghayal Indian
Ghayal Once Again, 23rd March 1931: Shaheed and Apne have been produced by Dharmendra
Ghayal Once Again 23rd March 1931: Shaheed Apne
action filter_type
action find_reverse
entity Dharmendra
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Dharmendra']
SELECT DISTINCT ?i WHERE { ?i property:producer resource:Dharmendra . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19263636 Q4631657 Q4780033
P161
Q502895
USER
Which people starred in those works of art ?
(Q19263636,P161,c(Q502895)) (Q4631657,P161,c(Q502895)) (Q4780033,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
['Q19263636', 'P161', {'concept': 'Q502895'}] ['Q4631657', 'P161', {'concept': 'Q502895'}] ['Q4780033', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?z ) { ( resource:Q4631657 ) ( resource:Q19263636 ) ( resource:Q4864967 ) } . ?v rdf:type ontology:Q502895 . ?z property:P161 ?v }
Ghayal Once Again 23rd March 1931: Shaheed Apne
action filter_type
action find
entity prev_answer
relation cast member
type common name
['Ghayal Once Again', 'cast member', {'concept': 'common name'}] ['23rd March 1931: Shaheed', 'cast member', {'concept': 'common name'}] ['Apne', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?z ) { ( resource:23rd_March_1931:_Shaheed ) ( resource:Ghayal_Once_Again ) ( resource:Barsaat ) } . ?v rdf:type ontology:common_name . ?z property:cast_member ?v }
[]
common name
Q944546 Q944546 Q944546
SYSTEM
Sunny Deol
Q434435 Q944546 Q80309 Q6937290 Q718211 Q62136 Q7283589 Q2670291 Q944546 Q312789 Q467964 Q48619 Q3595455 Q48619 Q270665 Q158136 Q944546 Q9550
(Q19263636,P161,c(Q502895)) (Q4631657,P161,c(Q502895)) (Q4780033,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
[ANSWER], [ANSWER] and [ANSWER] starred in those works of art
['Q19263636', 'P161', {'concept': 'Q502895'}] ['Q4631657', 'P161', {'concept': 'Q502895'}] ['Q4780033', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?z ) { ( resource:Q4631657 ) ( resource:Q19263636 ) ( resource:Q4864967 ) } . ?v rdf:type ontology:Q502895 . ?z property:P161 ?v }
Soha Ali Khan Sunny Deol Om Puri Murali Sharma Tisca Chopra Prachi Desai Rahul Dev Amrita Singh Sunny Deol Shakti Kapoor Divya Dutta Bobby Deol Suresh Oberoi Bobby Deol Shilpa Shetty Kirron Kher Sunny Deol Katrina Kaif
Sunny Deol, Sunny Deol and Sunny Deol starred in those works of art
Sunny Deol Sunny Deol Sunny Deol
action filter_type
action find
entity prev_answer
relation cast member
type common name
['Ghayal Once Again', 'cast member', {'concept': 'common name'}] ['23rd March 1931: Shaheed', 'cast member', {'concept': 'common name'}] ['Apne', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?z ) { ( resource:23rd_March_1931:_Shaheed ) ( resource:Ghayal_Once_Again ) ( resource:Barsaat ) } . ?v rdf:type ontology:common_name . ?z property:cast_member ?v }
[]