Question: Which film has genre as drama and is titled Yes ?
Choices: A Prairie Home Companion
Volver
Sweeney Todd: The Demon Barber of Fleet Street
Bobby
Rocky
Rebecca
Nuremberg
Talk to Her
Pleasantville
Yes
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .  ?e <title> ?pv . ?pv <pred:value> "Yes" .  }
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Yes
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Yes