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