Question: Which feature film has the largest duration among the ones whose production company is Amblin Entertainment?
Choices: The Flintstones in Viva Rock Vegas
Back to the Future Part III
Old Dogs
Hook
Back to the Future Part II
G-Force
Holes
The Flintstones
Alvin and the Chipmunks: Chipwrecked
Back to the Future
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Amblin Entertainment" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Amblin Entertainment
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: duration
largest
Answer: Hook