Question: Which movie is longer, Vanity Fair (the one whose publication date is 1923-03-25) or The World's Fastest Indian?
Choices:
A Prairie Home Companion
Training Day
Rebecca
The Towering Inferno
Talk to Her
Curse of the Golden Flower
Vanity Fair
The Hunchback of Notre Dame
The World's Fastest Indian
Pleasantville
Answer: The World's Fastest Indian
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vanity Fair" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1923-03-25"^^xsd:date . } UNION { ?e <pred:name> "The World's Fastest Indian" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Vanity Fair
function: FilterDate
dependencies: 0
inputs: publication date
1923-03-25
=
function: Find
inputs: The World's Fastest Indian
function: SelectBetween
dependencies: 1
2
inputs: duration
greater