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