Question: Which person is a cast member of Pirates of the Caribbean: At World's End (the one that has Chow Yun-fat as a cast member) (the character role of this statement is Sao Feng) and a cast member of Curse of the Golden Flower?
Choices:
Rahul Dev Burman
Paul Simon
Sylvester Stallone
William Henry Harrison
James E. Reilly
Simon Cowell
Chow Yun-fat
David Byrne
Max Fleischer
Richard Gere
Program:
function: Find
inputs: Chow Yun-fat
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Pirates of the Caribbean: At World's End
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: QFilterStr
dependencies: 4
inputs: character role
Sao Feng
function: FilterConcept
dependencies: 5
inputs: human
function: Find
inputs: Curse of the Golden Flower
function: Relate
dependencies: 7
inputs: cast member
forward
function: FilterConcept
dependencies: 8
inputs: human
function: And
dependencies: 6
9
function: What
dependencies: 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Pirates of the Caribbean: At World's End" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Chow Yun-fat" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Sao Feng" . ?e_3 <cast_member> ?e . ?e_3 <pred:name> "Curse of the Golden Flower" .  }
Answer: Chow Yun-fat