Question: Does Platoon (the one that has Tony Todd as a cast member) or The Truman Show have the greater duration?
Choices:
Curse of the Golden Flower
Talk to Her
A Prairie Home Companion
Rebecca
The Towering Inferno
Training Day
The Fifth Element
The Truman Show
Platoon
The Hunchback of Notre Dame
Program:
function: Find
inputs: Tony Todd
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Platoon
function: And
dependencies: 1
2
function: Find
inputs: The Truman Show
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Platoon" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Tony Todd" .   } UNION { ?e <pred:name> "The Truman Show" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Platoon