Question: Which is shorter in duration, Doctor Zhivago which had Geraldine Chaplin on its cast, or Road Trip?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Road Trip
The Towering Inferno
Curse of the Golden Flower
Rebecca
Training Day
The Fifth Element
Talk to Her
Pleasantville
Answer: Road Trip
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Road Trip" .  } UNION { ?e <pred:name> "Doctor Zhivago" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Geraldine Chaplin" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Road Trip
function: Find
inputs: Geraldine Chaplin
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Doctor Zhivago
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less