Question: Who is the English-speaking screenwriter of Dog Day Afternoon?
Choices:
William James
Richard Gere
Edward Albee
Jeph Loeb
Max Fleischer
Magic Johnson
Frank Pierson
Emma Thompson
Gene Reynolds
Sylvester Stallone
Program:
function: Find
inputs: Dog Day Afternoon
function: Relate
dependencies: 0
inputs: screenwriter
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 <screenwriter> ?e . ?e_1 <pred:name> "Dog Day Afternoon" .  ?e <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "English" .  }
Answer: Frank Pierson