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