Simple Question (Direct)
Simple Question
Q906045
P57
Q502895
USER
Who directed Kingdom of the Spiders ?
(Q906045,P57,c(Q502895))
action filter_type
action find
entity Q906045
relation P57
type Q502895
['Q906045', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q906045 property:P57 ?q }
Kingdom of the Spiders
action filter_type
action find
entity Kingdom of the Spiders
relation director
type common name
['Kingdom of the Spiders', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Kingdom_of_the_Spiders property:director ?q }
[]
common name
Q6225102
SYSTEM
John Cardos
Q6225102
(Q906045,P57,c(Q502895))
action filter_type
action find
entity Q906045
relation P57
type Q502895
[ANSWER] directed Kingdom of the Spiders
['Q906045', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q906045 property:P57 ?q }
John Cardos
John Cardos directed Kingdom of the Spiders
John Cardos
action filter_type
action find
entity Kingdom of the Spiders
relation director
type common name
['Kingdom of the Spiders', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Kingdom_of_the_Spiders property:director ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q906045
P495
Q15617994
USER
What is the origin of Kingdom of the Spiders ?
(Q906045,P495,c(Q15617994))
action filter_type
action find
entity Q906045
relation P495
type Q15617994
['Q906045', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q906045 property:P495 ?e . ?e rdf:type ontology:Q15617994 }
Kingdom of the Spiders
action filter_type
action find
entity Kingdom of the Spiders
relation country of origin
type designation for an administrative territorial entity
['Kingdom of the Spiders', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Kingdom_of_the_Spiders property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q906045,P495,c(Q15617994))
action filter_type
action find
entity Q906045
relation P495
type Q15617994
The origin of Kingdom of the Spiders is the [ANSWER]
['Q906045', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q906045 property:P495 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
The origin of Kingdom of the Spiders is the United States of America
United States of America
action filter_type
action find
entity Kingdom of the Spiders
relation country of origin
type designation for an administrative territorial entity
['Kingdom of the Spiders', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Kingdom_of_the_Spiders property:country_of_origin ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2729833
Q15617994
USER
And what about For the Love of Nancy?
(Q2729833,P495,c(Q15617994))
action filter_type
action find
entity Q2729833
relation P495
type Q15617994
['Q2729833', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q2729833 property:P495 ?t }
For the Love of Nancy
action filter_type
action find
entity For the Love of Nancy
relation country of origin
type designation for an administrative territorial entity
['For the Love of Nancy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:For_the_Love_of_Nancy property:country_of_origin ?t }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2729833,P495,c(Q15617994))
action filter_type
action find
entity Q2729833
relation P495
type Q15617994
[ANSWER]
['Q2729833', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q2729833 property:P495 ?t }
United States of America
United States of America
action filter_type
action find
entity For the Love of Nancy
relation country of origin
type designation for an administrative territorial entity
['For the Love of Nancy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:For_the_Love_of_Nancy property:country_of_origin ?t }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1060293 Q2729833
P161
Q502895
USER
Which people are in For the Love of Nancy or Chalte Chalte ?
OR((Q2729833,P161,c(Q502895)), (Q1060293,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2729833
relation P161
action find
entity Q1060293
relation P161
type Q502895
{'OR': [['Q2729833', 'P161', {'concept': 'Q502895'}], ['Q1060293', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { ?y property:P161 ?l . VALUES ( ?y ) { ( resource:Q2729833 ) ( resource:Q1060293 ) } } . ?l rdf:type ontology:Q502895 }
Chalte Chalte For the Love of Nancy
action filter_type
action union
action find
entity For the Love of Nancy
relation cast member
action find
entity Chalte Chalte
relation cast member
type common name
{'OR': [['For the Love of Nancy', 'cast member', {'concept': 'common name'}], ['Chalte Chalte', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { ?y property:cast_member ?l . VALUES ( ?y ) { ( resource:For_the_Love_of_Nancy ) ( resource:Chalte_Chalte ) } } . ?l rdf:type ontology:common_name }
[]
common name
Q1628810 Q1612623 Q262498 Q7285956 Q1569078 Q485557 Q4934913 Q3527168 Q16120034 Q6161349
SYSTEM
Some of them are Lillete Dubey, Satish Shah, Tracey Gold, Rajeev Verma, Hyder Ali, Rani Mukherjee, Bobby Darling, Suresh Menon, Haidar Ali, Jas Arora
Q6161349 Q485557 Q9535 Q7285956 Q983571 Q4277747 Q1612623 Q3527168 Q16120034 Q4934913 Q1569078 Q1628810 Q6167973 Q262498
OR((Q2729833,P161,c(Q502895)), (Q1060293,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2729833
relation P161
action find
entity Q1060293
relation P161
type Q502895
[ANSWERS] are in For the Love of Nancy or Chalte
{'OR': [['Q2729833', 'P161', {'concept': 'Q502895'}], ['Q1060293', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { ?y property:P161 ?l . VALUES ( ?y ) { ( resource:Q2729833 ) ( resource:Q1060293 ) } } . ?l rdf:type ontology:Q502895 }
Jas Arora Rani Mukherjee Shah Rukh Khan Rajeev Verma Johnny Lever Meghna Malik Satish Shah Suresh Menon Haidar Ali Bobby Darling Hyder Ali Lillete Dubey Jayshree T. Tracey Gold
Lillete Dubey, Satish Shah, Tracey Gold, Rajeev Verma, Hyder Ali, Rani Mukherjee, Bobby Darling, Suresh Menon, Haidar Ali and Jas Arora are in For the Love of Nancy or Chalte
Lillete Dubey Satish Shah Tracey Gold Rajeev Verma Hyder Ali Rani Mukherjee Bobby Darling Suresh Menon Haidar Ali Jas Arora
action filter_type
action union
action find
entity For the Love of Nancy
relation cast member
action find
entity Chalte Chalte
relation cast member
type common name
{'OR': [['For the Love of Nancy', 'cast member', {'concept': 'common name'}], ['Chalte Chalte', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { ?y property:cast_member ?l . VALUES ( ?y ) { ( resource:For_the_Love_of_Nancy ) ( resource:Chalte_Chalte ) } } . ?l rdf:type ontology:common_name }
[]