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