Simple Question (Direct)
Simple Question
Q5555971
P161
Q502895
USER
Which people are in Ghayal ?
(Q5555971,P161,c(Q502895))
action filter_type
action find
entity Q5555971
relation P161
type Q502895
['Q5555971', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q5555971 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Ghayal
action filter_type
action find
entity Ghayal
relation cast member
type common name
['Ghayal', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ghayal property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
Q944546 Q3595480 Q333443
SYSTEM
Sunny Deol, Raj Babbar, Amrish Puri
Q2723357 Q3595480 Q333443 Q944546 Q3595278
(Q5555971,P161,c(Q502895))
action filter_type
action find
entity Q5555971
relation P161
type Q502895
[ANSWERS] are in Ghayal
['Q5555971', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q5555971 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Moushumi Chatterjee Raj Babbar Amrish Puri Sunny Deol Meenakshi Seshadri
Sunny Deol, Raj Babbar and Amrish Puri are in Ghayal
Sunny Deol Raj Babbar Amrish Puri
action filter_type
action find
entity Ghayal
relation cast member
type common name
['Ghayal', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ghayal property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5555971
P86
Q502895
USER
Who was that work of art composed by ?
(Q944546,P86,c(Q502895)) (Q3595480,P86,c(Q502895)) (Q333443,P86,c(Q502895))
action filter_type
action find
entity Q5555971
relation P86
type Q502895
['Q944546', 'P86', {'concept': 'Q502895'}] ['Q3595480', 'P86', {'concept': 'Q502895'}] ['Q333443', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q5555971 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Ghayal
action filter_type
action find
entity Ghayal
relation composer
type common name
['Sunny Deol', 'composer', {'concept': 'common name'}] ['Raj Babbar', 'composer', {'concept': 'common name'}] ['Amrish Puri', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Ghayal property:composer ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3345399
SYSTEM
Bappi Lahiri
Q3345399
(Q944546,P86,c(Q502895)) (Q3595480,P86,c(Q502895)) (Q333443,P86,c(Q502895))
action filter_type
action find
entity Q5555971
relation P86
type Q502895
By that work of art was composed by [ANSWER]
['Q944546', 'P86', {'concept': 'Q502895'}] ['Q3595480', 'P86', {'concept': 'Q502895'}] ['Q333443', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q5555971 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Bappi Lahiri
By that work of art was composed by Bappi Lahiri
Bappi Lahiri
action filter_type
action find
entity Ghayal
relation composer
type common name
['Sunny Deol', 'composer', {'concept': 'common name'}] ['Raj Babbar', 'composer', {'concept': 'common name'}] ['Amrish Puri', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Ghayal property:composer ?k . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2824471 Q3345399
P161 P86
Q838948
USER
Which works of art have Bappi Lahiri as the composer and do Aditya Pancholi star in ?
AND((c(Q838948),P86,Q3345399), (c(Q838948),P161,Q2824471))
action filter_type
action intersection
action find_reverse
entity Q3345399
relation P86
action find_reverse
entity Q2824471
relation P161
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P86', 'Q3345399'], [{'concept': 'Q838948'}, 'P161', 'Q2824471']]}
SELECT DISTINCT ?q WHERE { ?q property:P86 resource:Q3345399 . ?q property:P161 resource:Q2824471 . ?q rdf:type ontology:Q838948 }
Aditya Pancholi Bappi Lahiri
action filter_type
action intersection
action find_reverse
entity Bappi Lahiri
relation composer
action find_reverse
entity Aditya Pancholi
relation cast member
type work of art
{'AND': [[{'concept': 'work of art'}, 'composer', 'Bappi Lahiri'], [{'concept': 'work of art'}, 'cast member', 'Aditya Pancholi']]}
SELECT DISTINCT ?q WHERE { ?q property:composer resource:Bappi_Lahiri . ?q property:cast_member resource:Aditya_Pancholi . ?q rdf:type ontology:work_of_art }
[]
work of art
Q17199004 Q4662818 Q4830155 Q7400161
SYSTEM
Kab Tak Chup Rahungi, Aaya Toofan, Awwal Number, Sailaab
Q17199004 Q4662818 Q4830155 Q7400161
AND((c(Q838948),P86,Q3345399), (c(Q838948),P161,Q2824471))
action filter_type
action intersection
action find_reverse
entity Q3345399
relation P86
action find_reverse
entity Q2824471
relation P161
type Q838948
[ANSWERS] have Bappi Lahiri as the composer and do Aditya Pancholi star in
{'AND': [[{'concept': 'Q838948'}, 'P86', 'Q3345399'], [{'concept': 'Q838948'}, 'P161', 'Q2824471']]}
SELECT DISTINCT ?q WHERE { ?q property:P86 resource:Q3345399 . ?q property:P161 resource:Q2824471 . ?q rdf:type ontology:Q838948 }
Kab Tak Chup Rahungi Aaya Toofan Awwal Number Sailaab
Kab Tak Chup Rahungi, Aaya Toofan, Awwal Number and Sailaab have Bappi Lahiri as the composer and do Aditya Pancholi star in
Kab Tak Chup Rahungi Aaya Toofan Awwal Number Sailaab
action filter_type
action intersection
action find_reverse
entity Bappi Lahiri
relation composer
action find_reverse
entity Aditya Pancholi
relation cast member
type work of art
{'AND': [[{'concept': 'work of art'}, 'composer', 'Bappi Lahiri'], [{'concept': 'work of art'}, 'cast member', 'Aditya Pancholi']]}
SELECT DISTINCT ?q WHERE { ?q property:composer resource:Bappi_Lahiri . ?q property:cast_member resource:Aditya_Pancholi . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4662818
P57
Q502895
USER
Who was Aaya Toofan directed by ?
(Q4662818,P57,c(Q502895))
action filter_type
action find
entity Q4662818
relation P57
type Q502895
['Q4662818', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4662818 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Aaya Toofan
action filter_type
action find
entity Aaya Toofan
relation director
type common name
['Aaya Toofan', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Aaya_Toofan property:director ?r . ?r rdf:type ontology:common_name }
[]
common name
Q5250485
SYSTEM
Deepak Balraj Vij
Q5250485
(Q4662818,P57,c(Q502895))
action filter_type
action find
entity Q4662818
relation P57
type Q502895
Aaya Toofan was directed by [ANSWER] by
['Q4662818', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q4662818 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Deepak Balraj Vij
Aaya Toofan was directed by Deepak Balraj Vij by
Deepak Balraj Vij
action filter_type
action find
entity Aaya Toofan
relation director
type common name
['Aaya Toofan', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Aaya_Toofan property:director ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3345399
P166
Q618779
USER
What was awarded to Bappi Lahiri ?
(Q3345399,P166,c(Q618779))
action filter_type
action find
entity Q3345399
relation P166
type Q618779
['Q3345399', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3345399 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Bappi Lahiri
action filter_type
action find
entity Bappi Lahiri
relation award received
type award
['Bappi Lahiri', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Bappi_Lahiri property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q37049
SYSTEM
Filmfare Awards
Q37049
(Q3345399,P166,c(Q618779))
action filter_type
action find
entity Q3345399
relation P166
type Q618779
The [ANSWER] was awarded to Bappi Lahiri
['Q3345399', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q3345399 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Filmfare Awards
The Filmfare Awards was awarded to Bappi Lahiri
Filmfare Awards
action filter_type
action find
entity Bappi Lahiri
relation award received
type award
['Bappi Lahiri', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Bappi_Lahiri property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3339953
Q618779
USER
And also tell me about Nicolas-Claude de Lambert?
(Q3339953,P166,c(Q618779))
action filter_type
action find
entity Q3339953
relation P166
type Q618779
['Q3339953', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q3339953 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Nicolas-Claude de Lambert
action filter_type
action find
entity Nicolas-Claude de Lambert
relation award received
type award
['Nicolas-Claude de Lambert', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Nicolas-Claude_de_Lambert property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q11593374
SYSTEM
Knight of the Royal and Military Order of Saint Louis
Q11593374
(Q3339953,P166,c(Q618779))
action filter_type
action find
entity Q3339953
relation P166
type Q618779
[ANSWER]
['Q3339953', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q3339953 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Knight of the Royal and Military Order of Saint Louis
Knight of the Royal and Military Order of Saint Louis
action filter_type
action find
entity Nicolas-Claude de Lambert
relation award received
type award
['Nicolas-Claude de Lambert', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Nicolas-Claude_de_Lambert property:award_received ?u . ?u rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11593374 Q3287675
P166
Q502895
USER
Was Marc-Antoine de Lévis awarded with that award ?
(Q3287675,P166,Q11593374)
action is_in
entity Q11593374
action find
entity Q3287675
relation P166
['Q3287675', 'P166', 'Q11593374']
ASK WHERE { resource:Q3287675 property:P166 resource:Q11593374 }
Knight of the Royal and Military Order of Saint Louis Marc-Antoine de Lévis
action is_in
entity Knight of the Royal and Military Order of Saint Louis
action find
entity Marc-Antoine de Lévis
relation award received
['Marc-Antoine de Lévis', 'award received', 'Knight of the Royal and Military Order of Saint Louis']
ASK WHERE { resource:Marc-Antoine_de_Lévis property:award_received resource:Knight_of_the_Royal_and_Military_Order_of_Saint_Louis }
[]
common name
SYSTEM
YES
(Q3287675,P166,Q11593374)
action is_in
entity Q11593374
action find
entity Q3287675
relation P166
[ANSWER]
['Q3287675', 'P166', 'Q11593374']
ASK WHERE { resource:Q3287675 property:P166 resource:Q11593374 }
Yes
action is_in
entity Knight of the Royal and Military Order of Saint Louis
action find
entity Marc-Antoine de Lévis
relation award received
['Marc-Antoine de Lévis', 'award received', 'Knight of the Royal and Military Order of Saint Louis']
ASK WHERE { resource:Marc-Antoine_de_Lévis property:award_received resource:Knight_of_the_Royal_and_Military_Order_of_Saint_Louis }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15727446 Q3595480
P27 P495
Q15617994
USER
Which administrative territories are Raj Babbar a civilian of and did Bharat Ka Veer Putra – Maharana Pratap originate ?
AND((Q3595480,P27,c(Q15617994)), (Q15727446,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3595480
relation P27
action find
entity Q15727446
relation P495
type Q15617994
{'AND': [['Q3595480', 'P27', {'concept': 'Q15617994'}], ['Q15727446', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3595480 property:P27 ?p . resource:Q15727446 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
Bharat Ka Veer Putra – Maharana Pratap Raj Babbar
action filter_type
action intersection
action find
entity Raj Babbar
relation country of citizenship
action find
entity Bharat Ka Veer Putra – Maharana Pratap
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Raj Babbar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bharat Ka Veer Putra – Maharana Pratap', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Raj_Babbar property:country_of_citizenship ?p . resource:Bharat_Ka_Veer_Putra_–_Maharana_Pratap property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
AND((Q3595480,P27,c(Q15617994)), (Q15727446,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3595480
relation P27
action find
entity Q15727446
relation P495
type Q15617994
[ANSWER] is Raj Babbar a civilian of and did Bharat Ka Veer Putra – Maharana Pratap originate
{'AND': [['Q3595480', 'P27', {'concept': 'Q15617994'}], ['Q15727446', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3595480 property:P27 ?p . resource:Q15727446 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
India
India is Raj Babbar a civilian of and did Bharat Ka Veer Putra – Maharana Pratap originate
India
action filter_type
action intersection
action find
entity Raj Babbar
relation country of citizenship
action find
entity Bharat Ka Veer Putra – Maharana Pratap
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Raj Babbar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bharat Ka Veer Putra – Maharana Pratap', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Raj_Babbar property:country_of_citizenship ?p . resource:Bharat_Ka_Veer_Putra_–_Maharana_Pratap property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15727446
P272
Q43229
USER
Which organization was the producer of that television program ?
(Q668,P272,c(Q43229))
action filter_type
action find
entity Q15727446
relation P272
type Q43229
['Q668', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q15727446 property:P272 ?t . ?t rdf:type ontology:Q43229 }
Bharat Ka Veer Putra – Maharana Pratap
action filter_type
action find
entity Bharat Ka Veer Putra – Maharana Pratap
relation production company
type organization
['India', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:Bharat_Ka_Veer_Putra_–_Maharana_Pratap property:production_company ?t . ?t rdf:type ontology:organization }
[]
organization
Q41187
SYSTEM
Sony
Q41187
(Q668,P272,c(Q43229))
action filter_type
action find
entity Q15727446
relation P272
type Q43229
[ANSWER] was the producer of that television program
['Q668', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q15727446 property:P272 ?t . ?t rdf:type ontology:Q43229 }
Sony
Sony was the producer of that television program
Sony
action filter_type
action find
entity Bharat Ka Veer Putra – Maharana Pratap
relation production company
type organization
['India', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:Bharat_Ka_Veer_Putra_–_Maharana_Pratap property:production_company ?t . ?t rdf:type ontology:organization }
[]