Question: Is Cats & Dogs or Crazy Heart longer?
Choices:
A Prairie Home Companion
Talk to Her
The Hunchback of Notre Dame
Pleasantville
Cats & Dogs
Curse of the Golden Flower
Training Day
Crazy Heart
Rebecca
The Fifth Element
Program:
function: Find
inputs: Cats & Dogs
function: Find
inputs: Crazy Heart
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cats & Dogs" .  } UNION { ?e <pred:name> "Crazy Heart" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Crazy Heart