Question: Which is the shortest among the feature films whose narrative location is Los Angeles?
Choices:
John Carter
Holes
The Rocketeer
National Treasure: Book of Secrets
The Muppets
The Flintstones in Viva Rock Vegas
Alvin and the Chipmunks: The Squeakquel
Last Action Hero
Alvin and the Chipmunks: Chipwrecked
G-Force
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alvin and the Chipmunks: The Squeakquel