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