Question: What movie which features Iraq as it's main location is longest?
Choices:
Talk to Her
Green Zone
Rebecca
The Devil's Double
A Prairie Home Companion
The Hurt Locker
The Men Who Stare at Goats
Courage Under Fire
Three Kings
The Fifth Element
Program:
function: Find
inputs: Iraq
function: Relate
dependencies: 0
inputs: narrative location
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Iraq" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Hurt Locker