Question: Which movie is longer, Some Kind of Monster or Lars and the Real Girl?
Choices:
The Hunchback of Notre Dame
Some Kind of Monster
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
Pleasantville
The Fifth Element
Rebecca
Lars and the Real Girl
The Towering Inferno
Program:
function: Find
inputs: Some Kind of Monster
function: Find
inputs: Lars and the Real Girl
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Some Kind of Monster" .  } UNION { ?e <pred:name> "Lars and the Real Girl" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Some Kind of Monster