Simple Question (Direct)
Simple Question
Q7573242
P58
Q502895
USER
Who wrote the script for Spanish Masala ?
(Q7573242,P58,c(Q502895))
action filter_type
action find
entity Q7573242
relation P58
type Q502895
['Q7573242', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q7573242 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Spanish Masala
action filter_type
action find
entity Spanish Masala
relation screenwriter
type common name
['Spanish Masala', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Spanish_Masala property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
common name
Q13113668
SYSTEM
Benny P. Nayarambalam
Q13113668
(Q7573242,P58,c(Q502895))
action filter_type
action find
entity Q7573242
relation P58
type Q502895
[ANSWER] wrote the script for Spanish Masala
['Q7573242', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q7573242 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Benny P. Nayarambalam
Benny P. Nayarambalam wrote the script for Spanish Masala
Benny P. Nayarambalam
action filter_type
action find
entity Spanish Masala
relation screenwriter
type common name
['Spanish Masala', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Spanish_Masala property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7573242
P136
Q1792379
USER
What can be considered as category for Spanish Masala ?
(Q7573242,P136,c(Q1792379))
action filter_type
action find
entity Q7573242
relation P136
type Q1792379
['Q7573242', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q7573242 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
Spanish Masala
action filter_type
action find
entity Spanish Masala
relation genre
type art genre
['Spanish Masala', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Spanish_Masala property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q860626
SYSTEM
romantic comedy
Q860626
(Q7573242,P136,c(Q1792379))
action filter_type
action find
entity Q7573242
relation P136
type Q1792379
[ANSWER] can be considered as category for Spanish Masala
['Q7573242', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q7573242 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
romantic comedy
Romantic comedy can be considered as category for Spanish Masala
romantic comedy
action filter_type
action find
entity Spanish Masala
relation genre
type art genre
['Spanish Masala', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Spanish_Masala property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7573242
P161
Q502895
USER
Which people are in Spanish Masala ?
(Q7573242,P161,c(Q502895))
action filter_type
action find
entity Q7573242
relation P161
type Q502895
['Q7573242', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7573242 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Spanish Masala
action filter_type
action find
entity Spanish Masala
relation cast member
type common name
['Spanish Masala', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Spanish_Masala property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q5276736 Q4907283 Q6444213
SYSTEM
Dileep, Biju Menon, Kunchacko Boban
Q4907283 Q5219252 Q6444213 Q3595283 Q5276736
(Q7573242,P161,c(Q502895))
action filter_type
action find
entity Q7573242
relation P161
type Q502895
[ANSWERS] are in Spanish Masala
['Q7573242', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7573242 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Biju Menon Daniela Zacherl Kunchacko Boban Vinaya Prasad Dileep
Dileep, Biju Menon and Kunchacko Boban are in Spanish Masala
Dileep Biju Menon Kunchacko Boban
action filter_type
action find
entity Spanish Masala
relation cast member
type common name
['Spanish Masala', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Spanish_Masala property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1213396
Q502895
USER
And how about The Inn of the Sixth Happiness?
(Q1213396,P161,c(Q502895))
action filter_type
action find
entity Q1213396
relation P161
type Q502895
['Q1213396', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1213396 property:P161 ?b . ?b rdf:type ontology:Q502895 }
The Inn of the Sixth Happiness
action filter_type
action find
entity The Inn of the Sixth Happiness
relation cast member
type common name
['The Inn of the Sixth Happiness', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Inn_of_the_Sixth_Happiness property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q43247 Q57584 Q116983
SYSTEM
Ingrid Bergman, Curd Jürgens, Robert Donat
Q725674 Q3308132 Q321943 Q5338674 Q43247 Q57584 Q2869021 Q2165755 Q116983
(Q1213396,P161,c(Q502895))
action filter_type
action find
entity Q1213396
relation P161
type Q502895
[ANSWERS]
['Q1213396', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1213396 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Burt Kwouk Michael David Richard Wattis Edith Sharpe Ingrid Bergman Curd Jürgens Athene Seyler Ronald Squire Robert Donat
Ingrid Bergman Curd Jürgens Robert Donat
action filter_type
action find
entity The Inn of the Sixth Happiness
relation cast member
type common name
['The Inn of the Sixth Happiness', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Inn_of_the_Sixth_Happiness property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3793541 Q7573242
P495
Q15617994
USER
Which administrative territories did Spanish Masala or Inspector Nardone originate ?
OR((Q7573242,P495,c(Q15617994)), (Q3793541,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7573242
relation P495
action find
entity Q3793541
relation P495
type Q15617994
{'OR': [['Q7573242', 'P495', {'concept': 'Q15617994'}], ['Q3793541', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7573242 property:P495 ?u } UNION { resource:Q3793541 property:P495 ?u } } . ?u rdf:type ontology:Q15617994 }
Inspector Nardone Spanish Masala
action filter_type
action union
action find
entity Spanish Masala
relation country of origin
action find
entity Inspector Nardone
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Spanish Masala', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Inspector Nardone', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Spanish_Masala property:country_of_origin ?u } UNION { resource:Inspector_Nardone property:country_of_origin ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q668
SYSTEM
Italy, India
Q38 Q668
OR((Q7573242,P495,c(Q15617994)), (Q3793541,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7573242
relation P495
action find
entity Q3793541
relation P495
type Q15617994
Spanish Masala or Inspector Nardone originated from [ANSWERS]
{'OR': [['Q7573242', 'P495', {'concept': 'Q15617994'}], ['Q3793541', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7573242 property:P495 ?u } UNION { resource:Q3793541 property:P495 ?u } } . ?u rdf:type ontology:Q15617994 }
Italy India
Spanish Masala or Inspector Nardone originated from Italy and India
Italy India
action filter_type
action union
action find
entity Spanish Masala
relation country of origin
action find
entity Inspector Nardone
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Spanish Masala', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Inspector Nardone', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Spanish_Masala property:country_of_origin ?u } UNION { resource:Inspector_Nardone property:country_of_origin ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have ambassadorial relations with those administrative territories ?
(Q408,P530,Q38) (Q408,P530,Q668)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q38'] ['Q408', 'P530', 'Q668']
ASK WHERE { VALUES ( ?e ) { ( resource:Q38 ) ( resource:Q668 ) } . resource:Q408 property:P530 ?e }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Italy'] ['Australia', 'diplomatic relation', 'India']
ASK WHERE { VALUES ( ?e ) { ( resource:Italy ) ( resource:India ) } . resource:Australia property:diplomatic_relation ?e }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q38) (Q408,P530,Q668)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q38'] ['Q408', 'P530', 'Q668']
ASK WHERE { VALUES ( ?e ) { ( resource:Q38 ) ( resource:Q668 ) } . resource:Q408 property:P530 ?e }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Italy'] ['Australia', 'diplomatic relation', 'India']
ASK WHERE { VALUES ( ?e ) { ( resource:Italy ) ( resource:India ) } . resource:Australia property:diplomatic_relation ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q116983 Q593098
P1411
Q4220917
USER
Was Robert Donat nominated for Golden Globe Award for Best Actor – Motion Picture Drama ?
(Q116983,P1411,Q593098)
action is_in
entity Q593098
action find
entity Q116983
relation P1411
['Q116983', 'P1411', 'Q593098']
ASK WHERE { resource:Q116983 property:P1411 resource:Q593098 }
Robert Donat Golden Globe Award for Best Actor – Motion Picture Drama
action is_in
entity Golden Globe Award for Best Actor – Motion Picture Drama
action find
entity Robert Donat
relation nominated for
['Robert Donat', 'nominated for', 'Golden Globe Award for Best Actor – Motion Picture Drama']
ASK WHERE { resource:Robert_Donat property:nominated_for resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Drama }
[]
film award
SYSTEM
YES
(Q116983,P1411,Q593098)
action is_in
entity Q593098
action find
entity Q116983
relation P1411
[ANSWER]
['Q116983', 'P1411', 'Q593098']
ASK WHERE { resource:Q116983 property:P1411 resource:Q593098 }
Yes
action is_in
entity Golden Globe Award for Best Actor – Motion Picture Drama
action find
entity Robert Donat
relation nominated for
['Robert Donat', 'nominated for', 'Golden Globe Award for Best Actor – Motion Picture Drama']
ASK WHERE { resource:Robert_Donat property:nominated_for resource:Golden_Globe_Award_for_Best_Actor_–_Motion_Picture_Drama }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q116983
P26
Q502895
USER
Which person is the spouse of that one ?
action filter_type
action find
entity Q116983
relation P26
type Q502895
SELECT DISTINCT ?n WHERE { resource:Q116983 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Robert Donat
action filter_type
action find
entity Robert Donat
relation spouse
type common name
SELECT DISTINCT ?n WHERE { resource:Robert_Donat property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q2012810
SYSTEM
Renée Asherson
Q2012810
action filter_type
action find
entity Q116983
relation P26
type Q502895
[ANSWER] is the spouse of that one
SELECT DISTINCT ?n WHERE { resource:Q116983 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Renée Asherson
Renée Asherson is the spouse of that one
Renée Asherson
action filter_type
action find
entity Robert Donat
relation spouse
type common name
SELECT DISTINCT ?n WHERE { resource:Robert_Donat property:spouse ?n . ?n rdf:type ontology:common_name }
[]