Simple Question (Direct)
Simple Question
Q6172875
P57
Q502895
USER
Who directed Jeena Hai Toh Thok Daal ?
(Q6172875,P57,c(Q502895))
action filter_type
action find
entity Q6172875
relation P57
type Q502895
['Q6172875', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q6172875 property:P57 ?b . ?b rdf:type ontology:Q502895 }
Jeena Hai Toh Thok Daal
action filter_type
action find
entity Jeena Hai Toh Thok Daal
relation director
type common name
['Jeena Hai Toh Thok Daal', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Jeena_Hai_Toh_Thok_Daal property:director ?b . ?b rdf:type ontology:common_name }
[]
common name
Q6749899
SYSTEM
Manish Vatsalya
Q6749899
(Q6172875,P57,c(Q502895))
action filter_type
action find
entity Q6172875
relation P57
type Q502895
[ANSWER] directed Jeena Hai Toh Thok Daal
['Q6172875', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q6172875 property:P57 ?b . ?b rdf:type ontology:Q502895 }
Manish Vatsalya
Manish Vatsalya directed Jeena Hai Toh Thok Daal
Manish Vatsalya
action filter_type
action find
entity Jeena Hai Toh Thok Daal
relation director
type common name
['Jeena Hai Toh Thok Daal', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Jeena_Hai_Toh_Thok_Daal property:director ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6749899
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q6749899,P27,c(Q15617994))
action filter_type
action find
entity Q6749899
relation P27
type Q15617994
['Q6749899', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q6749899 property:P27 ?y }
Manish Vatsalya
action filter_type
action find
entity Manish Vatsalya
relation country of citizenship
type designation for an administrative territorial entity
['Manish Vatsalya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Manish_Vatsalya property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q6749899,P27,c(Q15617994))
action filter_type
action find
entity Q6749899
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q6749899', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q6749899 property:P27 ?y }
India
India is the country of citizenship of that person
India
action filter_type
action find
entity Manish Vatsalya
relation country of citizenship
type designation for an administrative territorial entity
['Manish Vatsalya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Manish_Vatsalya property:country_of_citizenship ?y }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q4695744 Q6749899
P27
Q15617994
USER
Or Ahmed Ali Butt?
OR((Q6749899,P27,c(Q15617994)), (Q4695744,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6749899
relation P27
action find
entity Q4695744
relation P27
type Q15617994
{'OR': [['Q6749899', 'P27', {'concept': 'Q15617994'}], ['Q4695744', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q6749899 property:P27 ?t } UNION { resource:Q4695744 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Ahmed Ali Butt Manish Vatsalya
action filter_type
action union
action find
entity Manish Vatsalya
relation country of citizenship
action find
entity Ahmed Ali Butt
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Manish Vatsalya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ahmed Ali Butt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Manish_Vatsalya property:country_of_citizenship ?t } UNION { resource:Ahmed_Ali_Butt property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843 Q668
SYSTEM
Pakistan, India
Q843 Q668
OR((Q6749899,P27,c(Q15617994)), (Q4695744,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6749899
relation P27
action find
entity Q4695744
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q6749899', 'P27', {'concept': 'Q15617994'}], ['Q4695744', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q6749899 property:P27 ?t } UNION { resource:Q4695744 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Pakistan India
Pakistan India
action filter_type
action union
action find
entity Manish Vatsalya
relation country of citizenship
action find
entity Ahmed Ali Butt
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Manish Vatsalya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ahmed Ali Butt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Manish_Vatsalya property:country_of_citizenship ?t } UNION { resource:Ahmed_Ali_Butt property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20949997 Q6172875
P161
Q502895
USER
Which people starred in Jeena Hai Toh Thok Daal or Torchy Blane... Playing with Dynamite ?
OR((Q6172875,P161,c(Q502895)), (Q20949997,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6172875
relation P161
action find
entity Q20949997
relation P161
type Q502895
{'OR': [['Q6172875', 'P161', {'concept': 'Q502895'}], ['Q20949997', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q20949997 property:P161 ?j } UNION { resource:Q6172875 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Torchy Blane... Playing with Dynamite Jeena Hai Toh Thok Daal
action filter_type
action union
action find
entity Jeena Hai Toh Thok Daal
relation cast member
action find
entity Torchy Blane... Playing with Dynamite
relation cast member
type common name
{'OR': [['Jeena Hai Toh Thok Daal', 'cast member', {'concept': 'common name'}], ['Torchy Blane... Playing with Dynamite', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Torchy_Blane..._Playing_with_Dynamite property:cast_member ?j } UNION { resource:Jeena_Hai_Toh_Thok_Daal property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q95055 Q7283599 Q7296641 Q3625887 Q8049765 Q6749899
SYSTEM
Jane Wyman, Rahul Kumar, Ravi Kishan, Hazel Crowney, Yashpal Sharma, Manish Vatsalya
Q95055 Q7283599 Q7296641 Q3625887 Q8049765 Q6749899
OR((Q6172875,P161,c(Q502895)), (Q20949997,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6172875
relation P161
action find
entity Q20949997
relation P161
type Q502895
[ANSWERS] starred in Jeena Hai Toh Thok Daal or Torchy Blane... Playing with Dynamite
{'OR': [['Q6172875', 'P161', {'concept': 'Q502895'}], ['Q20949997', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q20949997 property:P161 ?j } UNION { resource:Q6172875 property:P161 ?j } } . ?j rdf:type ontology:Q502895 }
Jane Wyman Rahul Kumar Ravi Kishan Hazel Crowney Yashpal Sharma Manish Vatsalya
Jane Wyman, Rahul Kumar, Ravi Kishan, Hazel Crowney, Yashpal Sharma and Manish Vatsalya starred in Jeena Hai Toh Thok Daal or Torchy Blane... Playing with Dynamite
Jane Wyman Rahul Kumar Ravi Kishan Hazel Crowney Yashpal Sharma Manish Vatsalya
action filter_type
action union
action find
entity Jeena Hai Toh Thok Daal
relation cast member
action find
entity Torchy Blane... Playing with Dynamite
relation cast member
type common name
{'OR': [['Jeena Hai Toh Thok Daal', 'cast member', {'concept': 'common name'}], ['Torchy Blane... Playing with Dynamite', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Torchy_Blane..._Playing_with_Dynamite property:cast_member ?j } UNION { resource:Jeena_Hai_Toh_Thok_Daal property:cast_member ?j } } . ?j rdf:type ontology:common_name }
[]