Question: Which one has a longer duration, Far from Heaven or World Trade Center
Choices:
Pleasantville
Curse of the Golden Flower
Far from Heaven
World Trade Center
Rebecca
Training Day
Talk to Her
The Fifth Element
The Towering Inferno
A Prairie Home Companion
Program:
function: Find
inputs: Far from Heaven
function: Find
inputs: World Trade Center
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Far from Heaven" .  } UNION { ?e <pred:name> "World Trade Center" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: World Trade Center