Question: Which movie is longer, Days of Being Wild or Chinatown?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Chinatown
Pleasantville
Curse of the Golden Flower
Rebecca
Days of Being Wild
Talk to Her
The Fifth Element
Training Day
Program:
function: Find
inputs: Days of Being Wild
function: Find
inputs: Chinatown
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Days of Being Wild" .  } UNION { ?e <pred:name> "Chinatown" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chinatown