Question: What film's title is 阿飛正傳 and director is Wong Kar-wai?
Choices:
Pleasantville
The Fifth Element
Rebecca
A Prairie Home Companion
Chungking Express
Talk to Her
Training Day
In the Mood for Love
Days of Being Wild
The Towering Inferno
Answer: Days of Being Wild
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv . ?pv <pred:value> "阿飛正傳" . ?e <director> ?e_1 . ?e_1 <pred:name> "Wong Kar-wai" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
阿飛正傳
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Wong Kar-wai
function: Relate
dependencies: 3
inputs: director
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6