Question: Which was shorter, Changeling (the one whose narrative location is Los Angeles) or the costume drama The Man in the Iron Mask?
Choices:
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
The Man in the Iron Mask
Talk to Her
The Fifth Element
Training Day
Changeling
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Changeling
function: And
dependencies: 1
2
function: Find
inputs: costume drama
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: The Man in the Iron Mask
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Changeling" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "The Man in the Iron Mask" . ?e <genre> ?e_2 . ?e_2 <pred:name> "costume drama" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Man in the Iron Mask