Question: Does The Phantom (that has Patrick McGoohan as a cast member) or Precious (that was nominated for an Academy Award for Best Film Editing) have the shorter runtime?
Choices: Rebecca
The Towering Inferno
A Prairie Home Companion
Talk to Her
Pleasantville
Curse of the Golden Flower
Training Day
The Hunchback of Notre Dame
The Phantom
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Phantom" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Patrick McGoohan" .   } UNION { ?e <pred:name> "Precious" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Film Editing" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Patrick McGoohan
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Phantom
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Film Editing
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Precious
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: The Phantom