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