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