Question: Which has a greater duration, Anne of the Thousand Days or Willy Wonka & the Chocolate Factory?
Choices:
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Training Day
A Prairie Home Companion
The Towering Inferno
Anne of the Thousand Days
Willy Wonka & the Chocolate Factory
Talk to Her
Answer: Anne of the Thousand Days
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anne of the Thousand Days" .  } UNION { ?e <pred:name> "Willy Wonka & the Chocolate Factory" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Anne of the Thousand Days
function: Find
inputs: Willy Wonka & the Chocolate Factory
function: SelectBetween
dependencies: 0
1
inputs: duration
greater