Question: Who is the English-speaking director of The Bridge on the River Kwai ?
Choices:
Max Fleischer
Lars von Trier
Richard Gere
David Lean
Sylvester Stallone
Uwe Boll
William Henry Harrison
James Cameron
Ian McKellen
Robert Altman
Program:
function: Find
inputs: The Bridge on the River Kwai
function: Relate
dependencies: 0
inputs: director
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: English
function: Relate
dependencies: 3
inputs: languages spoken, written or signed
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "The Bridge on the River Kwai" .  ?e <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "English" .  }
Answer: David Lean