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