Question: Is Iris (starring Kate Winslet) or The Terminator longer in duration?
Choices:
A Prairie Home Companion
Training Day
Rebecca
Iris
Pleasantville
The Fifth Element
The Towering Inferno
The Terminator
Talk to Her
The Hunchback of Notre Dame
Program:
function: Find
inputs: Kate Winslet
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Iris
function: And
dependencies: 1
2
function: Find
inputs: The Terminator
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iris" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kate Winslet" .   } UNION { ?e <pred:name> "The Terminator" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Terminator