Question: Which movie is shorter, The Other Boleyn Girl or Dressed to Kill (the one whose production company is 20th Century Fox)?
Choices:
The Hunchback of Notre Dame
Pleasantville
Talk to Her
Curse of the Golden Flower
The Other Boleyn Girl
The Towering Inferno
Dressed to Kill
The Fifth Element
Training Day
A Prairie Home Companion
Program:
function: Find
inputs: The Other Boleyn Girl
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Dressed to Kill
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Other Boleyn Girl" .  } UNION { ?e <pred:name> "Dressed to Kill" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dressed to Kill