Question: Which movie is shorter, Rush Hour 3 or The Island of Dr. Moreau (the one that has Fairuza Balk as a cast member)?
Choices:
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
Training Day
Rush Hour 3
Rebecca
Talk to Her
The Island of Dr. Moreau
Program:
function: Find
inputs: Rush Hour 3
function: Find
inputs: Fairuza Balk
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Island of Dr. Moreau
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rush Hour 3" .  } UNION { ?e <pred:name> "The Island of Dr. Moreau" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Fairuza Balk" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rush Hour 3