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