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