Question: Which is longer, Ghostbusters II or Popeye?
Choices:
Ghostbusters II
G-Force
National Treasure: Book of Secrets
Old Dogs
Alvin and the Chipmunks: Chipwrecked
John Carter
The Flintstones
Popeye
The Muppets
The Flintstones in Viva Rock Vegas
Program:
function: Find
inputs: Ghostbusters II
function: Find
inputs: Popeye
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ghostbusters II" .  } UNION { ?e <pred:name> "Popeye" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Popeye