Question: Does A Single Man (whose production company is The Weinstein Company) or The Treasure of the Sierra Madre have the shorter runtime?
Choices:
Pleasantville
A Single Man
The Hunchback of Notre Dame
Talk to Her
Training Day
Rebecca
The Treasure of the Sierra Madre
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
Program:
function: Find
inputs: The Weinstein Company
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: A Single Man
function: And
dependencies: 1
2
function: Find
inputs: The Treasure of the Sierra Madre
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Single Man" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "The Weinstein Company" .   } UNION { ?e <pred:name> "The Treasure of the Sierra Madre" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: A Single Man