Question: Which is longer, Dial M for Murder or monster film Starship Troopers?
Choices:
Dial M for Murder
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Starship Troopers
The Hunchback of Notre Dame
Training Day
Pleasantville
Rebecca
A Prairie Home Companion
Answer: Starship Troopers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dial M for Murder" .  } UNION { ?e <pred:name> "Starship Troopers" . ?e <genre> ?e_1 . ?e_1 <pred:name> "monster film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dial M for Murder
function: Find
inputs: monster film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Starship Troopers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater