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