Simple Question (Direct)
Simple Question
Q2468872
P161
Q502895
USER
Which people were casted in The Butterfly Lovers ?
(Q2468872,P161,c(Q502895))
action filter_type
action find
entity Q2468872
relation P161
type Q502895
['Q2468872', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2468872 property:P161 ?a . ?a rdf:type ontology:Q502895 }
The Butterfly Lovers
action filter_type
action find
entity The Butterfly Lovers
relation cast member
type common name
['The Butterfly Lovers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Butterfly_Lovers property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
common name
Q285713 Q714444 Q701041
SYSTEM
Harlem Yu, Charlene Choi, Wu Zun
Q2007213 Q3787623 Q701041 Q285713 Q1101496 Q714444
(Q2468872,P161,c(Q502895))
action filter_type
action find
entity Q2468872
relation P161
type Q502895
[ANSWERS]
['Q2468872', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2468872 property:P161 ?a . ?a rdf:type ontology:Q502895 }
Louis Fan Hung Yan-yan Wu Zun Harlem Yu Hu Ge Charlene Choi
Harlem Yu Charlene Choi Wu Zun
action filter_type
action find
entity The Butterfly Lovers
relation cast member
type common name
['The Butterfly Lovers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Butterfly_Lovers property:cast_member ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q285713 Q714444 Q701041
P161
Q838948
USER
Which works of art stars those people as actor ?
(c(Q838948),P161,Q285713) (c(Q838948),P161,Q714444) (c(Q838948),P161,Q701041)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q285713'] [{'concept': 'Q838948'}, 'P161', 'Q714444'] [{'concept': 'Q838948'}, 'P161', 'Q701041']
SELECT DISTINCT ?u WHERE { ?u property:P161 ?g . ?u rdf:type ontology:Q838948 . VALUES ( ?g ) { ( resource:Q2007213 ) ( resource:Q3787623 ) ( resource:Q701041 ) } }
Harlem Yu Charlene Choi Wu Zun
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Harlem Yu'] [{'concept': 'work of art'}, 'cast member', 'Charlene Choi'] [{'concept': 'work of art'}, 'cast member', 'Wu Zun']
SELECT DISTINCT ?u WHERE { ?u property:cast_member ?g . ?u rdf:type ontology:work_of_art . VALUES ( ?g ) { ( resource:Louis_Fan ) ( resource:Hung_Yan-yan ) ( resource:Wu_Zun ) } }
[]
work of art
Q536299 Q687068 Q4655870
SYSTEM
Shaolin Soccer, The Twins Effect, A Chinese Tall Story
Q2468872 Q687068 Q715295 Q4655870 Q1051184 Q16923870 Q4728509 Q536299 Q542532 Q3234902 Q1322844 Q3271510 Q2468872 Q19551081 Q863762 Q7836692 Q4986075 Q13534379 Q2983721 Q4184548 Q4184034 Q6691988 Q2152960 Q6730981 Q3084243 Q2468872
(c(Q838948),P161,Q285713) (c(Q838948),P161,Q714444) (c(Q838948),P161,Q701041)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q285713'] [{'concept': 'Q838948'}, 'P161', 'Q714444'] [{'concept': 'Q838948'}, 'P161', 'Q701041']
SELECT DISTINCT ?u WHERE { ?u property:P161 ?g . ?u rdf:type ontology:Q838948 . VALUES ( ?g ) { ( resource:Q2007213 ) ( resource:Q3787623 ) ( resource:Q701041 ) } }
The Butterfly Lovers The Twins Effect Kung Fu Dunk A Chinese Tall Story Diary My Wife Is 18 All About Love Shaolin Soccer The Sorcerer and the White Snake The Twins Effect II Rob-B-Hood The Storm Warriors The Butterfly Lovers Sara New Police Story Treasure Inn Bug Me Not! The Midas Touch House of Fury Twins Mission The Jade and the Pearl Love on the Rocks Triple Tap Magic to Win 14 Blades The Butterfly Lovers
Shaolin Soccer The Twins Effect A Chinese Tall Story
action filter_type
action find_reverse
entity prev_answer
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Harlem Yu'] [{'concept': 'work of art'}, 'cast member', 'Charlene Choi'] [{'concept': 'work of art'}, 'cast member', 'Wu Zun']
SELECT DISTINCT ?u WHERE { ?u property:cast_member ?g . ?u rdf:type ontology:work_of_art . VALUES ( ?g ) { ( resource:Louis_Fan ) ( resource:Hung_Yan-yan ) ( resource:Wu_Zun ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q536299
P86
Q502895
USER
Which person composed Shaolin Soccer ?
(Q536299,P86,c(Q502895))
action filter_type
action find
entity Q536299
relation P86
type Q502895
['Q536299', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q536299 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Shaolin Soccer
action filter_type
action find
entity Shaolin Soccer
relation composer
type common name
['Shaolin Soccer', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Shaolin_Soccer property:composer ?k . ?k rdf:type ontology:common_name }
[]
common name
Q701911
SYSTEM
Lowell Lo
Q701911
(Q536299,P86,c(Q502895))
action filter_type
action find
entity Q536299
relation P86
type Q502895
[ANSWER]
['Q536299', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q536299 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Lowell Lo
Lowell Lo
action filter_type
action find
entity Shaolin Soccer
relation composer
type common name
['Shaolin Soccer', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Shaolin_Soccer property:composer ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q714444
P26
Q502895
USER
Which person is the spouse of Charlene Choi ?
(Q714444,P26,c(Q502895))
action filter_type
action find
entity Q714444
relation P26
type Q502895
['Q714444', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q714444 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Charlene Choi
action filter_type
action find
entity Charlene Choi
relation spouse
type common name
['Charlene Choi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Charlene_Choi property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q698533
SYSTEM
Ronald Cheng
Q698533
(Q714444,P26,c(Q502895))
action filter_type
action find
entity Q714444
relation P26
type Q502895
[ANSWER]
['Q714444', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q714444 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Ronald Cheng
Ronald Cheng
action filter_type
action find
entity Charlene Choi
relation spouse
type common name
['Charlene Choi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Charlene_Choi property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3438982
Q502895
USER
And also tell me about Roger Frappier?
(Q3438982,P26,c(Q502895))
action filter_type
action find
entity Q3438982
relation P26
type Q502895
['Q3438982', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3438982 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Roger Frappier
action filter_type
action find
entity Roger Frappier
relation spouse
type common name
['Roger Frappier', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Roger_Frappier property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q6192829
SYSTEM
Jill Frappier
Q6192829
(Q3438982,P26,c(Q502895))
action filter_type
action find
entity Q3438982
relation P26
type Q502895
[ANSWER]
['Q3438982', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3438982 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Jill Frappier
Jill Frappier
action filter_type
action find
entity Roger Frappier
relation spouse
type common name
['Roger Frappier', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Roger_Frappier property:spouse ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6192829 Q3438982
P26
Q502895
USER
Does Roger Frappier have that one as spouse ?
(Q3438982,P26,Q6192829)
action is_in
entity Q3438982
action find
entity Q6192829
relation P26
['Q3438982', 'P26', 'Q6192829']
ASK WHERE { resource:Q6192829 property:P26 resource:Q3438982 }
Jill Frappier Roger Frappier
action is_in
entity Roger Frappier
action find
entity Jill Frappier
relation spouse
['Roger Frappier', 'spouse', 'Jill Frappier']
ASK WHERE { resource:Jill_Frappier property:spouse resource:Roger_Frappier }
[]
common name
SYSTEM
YES
(Q3438982,P26,Q6192829)
action is_in
entity Q3438982
action find
entity Q6192829
relation P26
[ANSWER]
['Q3438982', 'P26', 'Q6192829']
ASK WHERE { resource:Q6192829 property:P26 resource:Q3438982 }
Yes
action is_in
entity Roger Frappier
action find
entity Jill Frappier
relation spouse
['Roger Frappier', 'spouse', 'Jill Frappier']
ASK WHERE { resource:Jill_Frappier property:spouse resource:Roger_Frappier }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6192829
P1412
Q34770
USER
Which language does Jill Frappier speak in ?
(Q6192829,P1412,c(Q34770))
action filter_type
action find
entity Q6192829
relation P1412
type Q34770
['Q6192829', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q6192829 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Jill Frappier
action filter_type
action find
entity Jill Frappier
relation languages spoken, written or signed
type language
['Jill Frappier', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Jill_Frappier property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6192829,P1412,c(Q34770))
action filter_type
action find
entity Q6192829
relation P1412
type Q34770
[ANSWER]
['Q6192829', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q6192829 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Jill Frappier
relation languages spoken, written or signed
type language
['Jill Frappier', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Jill_Frappier property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]