Question: Which is shorter, Star Trek: Insurrection or The Mummy with Rachel Weisz as a cast member?
Choices:
Star Trek: Insurrection
Pleasantville
Curse of the Golden Flower
The Mummy
Training Day
A Prairie Home Companion
Talk to Her
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Program:
function: Find
inputs: Star Trek: Insurrection
function: Find
inputs: Rachel Weisz
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Mummy
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Trek: Insurrection" .  } UNION { ?e <pred:name> "The Mummy" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Rachel Weisz" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Star Trek: Insurrection