Question: Between The Day After Tomorrow and Hongkong acted by Ronald Reagan, which one is shorter?
Choices:
The Towering Inferno
Rebecca
Pleasantville
Hong Kong
The Day After Tomorrow
A Prairie Home Companion
The Fifth Element
Training Day
The Hunchback of Notre Dame
Talk to Her
Answer: Hong Kong
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Day After Tomorrow" .  } UNION { ?e <pred:name> "Hong Kong" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ronald Reagan" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Day After Tomorrow
function: Find
inputs: Ronald Reagan
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Hong Kong
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less