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