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