Question: Does Platoon (that has Oliver Stone as a cast member) or The Wicker Man (that originates in the United Kingdom) have the shorter runtime?
Choices:
The Hunchback of Notre Dame
The Wicker Man
Training Day
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
Platoon
Rebecca
Pleasantville
Program:
function: Find
inputs: Oliver Stone
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Platoon
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: The Wicker Man
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Platoon" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Oliver Stone" .   } UNION { ?e <pred:name> "The Wicker Man" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Wicker Man