Question: Who is the director of Public Enemies (the one whose narrative location is Wisconsin)?
Choices:
Clint Eastwood
David Arnold
David Byrne
William Henry Harrison
Sylvester Stallone
Jack Kerouac
Richard Gere
Robert Zemeckis
Michael Mann
Philip Baker Hall
Program:
function: Find
inputs: Wisconsin
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Public Enemies
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "Public Enemies" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> "Wisconsin" .   }
Answer: Michael Mann