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