Question: Which is longer in duration, She's Having a Baby or The Heiress?
Choices:
The Heiress
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Training Day
Talk to Her
Pleasantville
She's Having a Baby
Curse of the Golden Flower
Rebecca
Program:
function: Find
inputs: She's Having a Baby
function: Find
inputs: The Heiress
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "She's Having a Baby" .  } UNION { ?e <pred:name> "The Heiress" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Heiress