Question: Does The Mission (the one whose director is Johnnie To) or Raiders of the Lost Ark have greater duration ?
Choices:
A Prairie Home Companion
Raiders of the Lost Ark
Rebecca
The Towering Inferno
The Mission
Talk to Her
Pleasantville
Curse of the Golden Flower
Training Day
The Hunchback of Notre Dame
Answer: Raiders of the Lost Ark
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mission" . ?e <director> ?e_1 . ?e_1 <pred:name> "Johnnie To" .   } UNION { ?e <pred:name> "Raiders of the Lost Ark" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Johnnie To
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Mission
function: And
dependencies: 1
2
function: Find
inputs: Raiders of the Lost Ark
function: SelectBetween
dependencies: 3
4
inputs: duration
greater