Question: What film was directed by John Wayne?
Choices:
Flags of Our Fathers
Coming Home
Savages
Talk to Her
South Park: Bigger, Longer & Uncut
Jackie Brown
A Prairie Home Companion
Pleasantville
Rhinestone
The Alamo
Program:
function: Find
inputs: John Wayne
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: film
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <director> ?e_1 . ?e_1 <pred:name> "John Wayne" .   }
Answer: The Alamo