Question: Which is shorter: The Killers, with a story set in Los Angeles, or Sherlock Holmes, produced by 20th Century Fox?
Choices:
Rebecca
The Fifth Element
Training Day
A Prairie Home Companion
The Towering Inferno
Sherlock Holmes
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: The Killers
function: And
dependencies: 1
2
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Sherlock Holmes
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Killers" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "Sherlock Holmes" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "20th Century Fox" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sherlock Holmes