Question: Which movie is shorter, The Best Exotic Marigold Hotel or Abraham Lincoln (the one whose title is Abraham Lincoln)?
Choices:
Talk to Her
The Best Exotic Marigold Hotel
Abraham Lincoln
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Rebecca
Curse of the Golden Flower
Training Day
A Prairie Home Companion
Program:
function: Find
inputs: The Best Exotic Marigold Hotel
function: Find
inputs: Abraham Lincoln
function: FilterStr
dependencies: 1
inputs: title
Abraham Lincoln
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Best Exotic Marigold Hotel" . } UNION { ?e <pred:name> "Abraham Lincoln" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Abraham Lincoln" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Abraham Lincoln