Question: Which movie is longer, The Living Daylights or Percy Jackson & the Olympians: The Lightning Thief?
Choices:
Training Day
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
Rebecca
Percy Jackson & the Olympians: The Lightning Thief
Curse of the Golden Flower
A Prairie Home Companion
The Towering Inferno
The Living Daylights
Program:
function: Find
inputs: The Living Daylights
function: Find
inputs: Percy Jackson & the Olympians: The Lightning Thief
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Living Daylights" .  } UNION { ?e <pred:name> "Percy Jackson & the Olympians: The Lightning Thief" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Living Daylights