Simple Question (Direct)
Simple Question
Q1190116
P136
Q151885
USER
What is the genre of Patrick Tang ?
(Q1190116,P136,c(Q151885))
action filter_type
action find
entity Q1190116
relation P136
type Q151885
['Q1190116', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { resource:Q1190116 property:P136 ?x . ?x rdf:type ontology:Q151885 }
Patrick Tang
action filter_type
action find
entity Patrick Tang
relation genre
type concept
['Patrick Tang', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { resource:Patrick_Tang property:genre ?x . ?x rdf:type ontology:concept }
[]
concept
Q853873
SYSTEM
Cantopop
Q853873
(Q1190116,P136,c(Q151885))
action filter_type
action find
entity Q1190116
relation P136
type Q151885
The genre of Patrick Tang is in [ANSWER]
['Q1190116', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?x WHERE { resource:Q1190116 property:P136 ?x . ?x rdf:type ontology:Q151885 }
Cantopop
The genre of Patrick Tang is in Cantopop
Cantopop
action filter_type
action find
entity Patrick Tang
relation genre
type concept
['Patrick Tang', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?x WHERE { resource:Patrick_Tang property:genre ?x . ?x rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1190116
P161
Q838948
USER
Which works of art have Patrick Tang in their star cast ?
(c(Q838948),P161,Q1190116)
action filter_type
action find_reverse
entity Q1190116
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1190116']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q1190116 . ?k rdf:type ontology:Q838948 }
Patrick Tang
action filter_type
action find_reverse
entity Patrick Tang
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patrick Tang']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Patrick_Tang . ?k rdf:type ontology:work_of_art }
[]
work of art
Q1526706 Q11180473 Q7774482
SYSTEM
Wo Hu, Dragon Loaded 2003, The White Dragon
Q7774482 Q1526706 Q7848342 Q7993993 Q11180473
(c(Q838948),P161,Q1190116)
action filter_type
action find_reverse
entity Q1190116
relation P161
type Q838948
Wo Hu, Dragon loaded 2003 and The White Dragon have Patrick Tang in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q1190116']
SELECT DISTINCT ?k WHERE { ?k property:P161 resource:Q1190116 . ?k rdf:type ontology:Q838948 }
The White Dragon Wo Hu Truth or Dare: 6th Floor Rear Flat Whispers and Moans Dragon Loaded 2003
Wo Hu, Dragon loaded 2003 and The White Dragon have Patrick Tang in their star cast
Wo Hu Dragon Loaded 2003 The White Dragon
action filter_type
action find_reverse
entity Patrick Tang
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patrick Tang']
SELECT DISTINCT ?k WHERE { ?k property:cast_member resource:Patrick_Tang . ?k rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11180473
P162
Q502895
USER
Who is the creator of that work of art ?
(Q11180473,P162,c(Q502895))
action filter_type
action find
entity Q11180473
relation P162
type Q502895
['Q11180473', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q11180473 property:P162 ?m . ?m rdf:type ontology:Q502895 }
Dragon Loaded 2003
action filter_type
action find
entity Dragon Loaded 2003
relation producer
type common name
['Dragon Loaded 2003', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Dragon_Loaded_2003 property:producer ?m . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1526706
SYSTEM
Did you mean Wo Hu ?
Q1526706 Q11180473 Q7774482
(Q1526706,P162,c(Q502895)) (Q11180473,P162,c(Q502895)) (Q7774482,P162,c(Q502895))
[ANSWER]
['Q1526706', 'P162', {'concept': 'Q502895'}] ['Q11180473', 'P162', {'concept': 'Q502895'}] ['Q7774482', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q11180473 property:P162 ?m . ?m rdf:type ontology:Q502895 }
Wo Hu Dragon Loaded 2003 The White Dragon
Did you mean Wo Hu ?
Wo Hu
['Wo Hu', 'producer', {'concept': 'common name'}] ['Dragon Loaded 2003', 'producer', {'concept': 'common name'}] ['The White Dragon', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Dragon_Loaded_2003 property:producer ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Dragon Loaded 2003. Could you tell me the answer for that?
(Q11180473,P162,c(Q502895))
Q11180473
['Q11180473', 'P162', {'concept': 'Q502895'}]
['Dragon Loaded 2003', 'producer', {'concept': 'common name'}]
[]
Q454881
SYSTEM
Vincent Kok
Q454881
(Q11180473,P162,c(Q502895))
action filter_type
action find
entity Q11180473
relation P162
type Q502895
The creator of that work of art is Saint [ANSWER]
['Q11180473', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q11180473 property:P162 ?m . ?m rdf:type ontology:Q502895 }
Vincent Kok
The creator of that work of art is Saint Vincent Kok
Vincent Kok
action filter_type
action find
entity Dragon Loaded 2003
relation producer
type common name
['Dragon Loaded 2003', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Dragon_Loaded_2003 property:producer ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q454881 Q60794
P57
Q838948
USER
Is that person a director of Gorgeous ?
(Q60794,P57,Q454881)
action is_in
entity Q454881
action find
entity Q60794
relation P57
['Q60794', 'P57', 'Q454881']
ASK WHERE { resource:Q60794 property:P57 resource:Q454881 }
Vincent Kok Gorgeous
action is_in
entity Vincent Kok
action find
entity Gorgeous
relation director
['Gorgeous', 'director', 'Vincent Kok']
ASK WHERE { resource:Gorgeous property:director resource:Vincent_Kok }
[]
work of art
SYSTEM
YES
(Q60794,P57,Q454881)
action is_in
entity Q454881
action find
entity Q60794
relation P57
[ANSWER]
['Q60794', 'P57', 'Q454881']
ASK WHERE { resource:Q60794 property:P57 resource:Q454881 }
Yes
action is_in
entity Vincent Kok
action find
entity Gorgeous
relation director
['Gorgeous', 'director', 'Vincent Kok']
ASK WHERE { resource:Gorgeous property:director resource:Vincent_Kok }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7774482 Q3089283
P57
Q502895
USER
Did Wilson Yip serve as the directed of The White Dragon ?
(Q7774482,P57,Q3089283)
action is_in
entity Q3089283
action find
entity Q7774482
relation P57
['Q7774482', 'P57', 'Q3089283']
ASK WHERE { resource:Q7774482 property:P57 resource:Q3089283 }
The White Dragon Wilson Yip
action is_in
entity Wilson Yip
action find
entity The White Dragon
relation director
['The White Dragon', 'director', 'Wilson Yip']
ASK WHERE { resource:The_White_Dragon property:director resource:Wilson_Yip }
[]
common name
SYSTEM
YES
(Q7774482,P57,Q3089283)
action is_in
entity Q3089283
action find
entity Q7774482
relation P57
[ANSWER]
['Q7774482', 'P57', 'Q3089283']
ASK WHERE { resource:Q7774482 property:P57 resource:Q3089283 }
Yes
action is_in
entity Wilson Yip
action find
entity The White Dragon
relation director
['The White Dragon', 'director', 'Wilson Yip']
ASK WHERE { resource:The_White_Dragon property:director resource:Wilson_Yip }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q971008 Q11180473
P161 P1346
Q502895
USER
Which people starred in Dragon Loaded 2003 or were the champions of Saturn Award for Best Costume ?
OR((Q11180473,P161,c(Q502895)), (Q971008,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q11180473
relation P161
action find
entity Q971008
relation P1346
type Q502895
{'OR': [['Q11180473', 'P161', {'concept': 'Q502895'}], ['Q971008', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q971008 property:P1346 ?d } UNION { resource:Q11180473 property:P161 ?d } } }
Saturn Award for Best Costume Dragon Loaded 2003
action filter_type
action union
action find
entity Dragon Loaded 2003
relation cast member
action find
entity Saturn Award for Best Costume
relation winner
type common name
{'OR': [['Dragon Loaded 2003', 'cast member', {'concept': 'common name'}], ['Saturn Award for Best Costume', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:Saturn_Award_for_Best_Costume property:winner ?d } UNION { resource:Dragon_Loaded_2003 property:cast_member ?d } } }
[]
common name
Q3899138 Q6763645 Q8937136 Q451071 Q630767 Q698533 Q18697461 Q2157116 Q3802518 Q455394
SYSTEM
Some of them are Penny Rose, Marilyn Vance, Ken Chang, Theoni V. Aldredge, Richard Taylor, Ronald Cheng, Brian Ireland, Robert Fletcher, Isis Mussenden, Ngila Dickson
Q15919390 Q468707 Q3899138 Q1059865 Q1190116 Q837654 Q3802518 Q3169230 Q519207 Q2157116 Q5865531 Q6763645 Q8937136 Q4918748 Q711980 Q454881 Q436223 Q2662756 Q1701116 Q3850454 Q445608 Q511025 Q3263796 Q451071 Q8951378 Q16733481 Q16781 Q458815 Q8051106 Q3187958 Q297935 Q3189284 Q455394 Q630767 Q18697461 Q258156 Q862497 Q698533 Q3308577 Q289952 Q5094266
OR((Q11180473,P161,c(Q502895)), (Q971008,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q11180473
relation P161
action find
entity Q971008
relation P1346
type Q502895
[ANSWERS] starred in Dragon Loaded 2003 or were the champions of Saturn Award for Best Costume
{'OR': [['Q11180473', 'P161', {'concept': 'Q502895'}], ['Q971008', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q971008 property:P1346 ?d } UNION { resource:Q11180473 property:P161 ?d } } }
Ellen Mirojnick Stephy Tang Penny Rose Sam Lee Patrick Tang Law Kar-ying Isis Mussenden Jean-Pierre Dorleac Elois Jenssen Robert Fletcher Paco Delgado Marilyn Vance Ken Chang Michelle Yim Lam Sheung Yee Vincent Kok Jenny Beavan Bob Ringwood John Mollo Mary E. Vogt Eric Tsang Mary Zophres Louise Mingenbach Theoni V. Aldredge Patrick Dunn Rosanna Norton Jacky Cheung Alexandra Byrne Yee Chung-Man Judianna Makovsky Eiko Ishioka Julie Weiss Ngila Dickson Richard Taylor Brian Ireland Colleen Atwood Bill Thomas Ronald Cheng Michael Wilkinson Sandy Powell Cheung Tat-ming
Penny Rose, Marilyn Vance, Ken Chang, Theoni V. Aldredge, Richard Taylor, Ronald Cheng, Brian Ireland, Robert Fletcher, Isis Mussenden and Ngila Dickson starred in Dragon Loaded 2003 or were the champions of Saturn Award for Best Costume
Penny Rose Marilyn Vance Ken Chang Theoni V. Aldredge Richard Taylor Ronald Cheng Brian Ireland Robert Fletcher Isis Mussenden Ngila Dickson
action filter_type
action union
action find
entity Dragon Loaded 2003
relation cast member
action find
entity Saturn Award for Best Costume
relation winner
type common name
{'OR': [['Dragon Loaded 2003', 'cast member', {'concept': 'common name'}], ['Saturn Award for Best Costume', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:Saturn_Award_for_Best_Costume property:winner ?d } UNION { resource:Dragon_Loaded_2003 property:cast_member ?d } } }
[]