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