Question: Which is shorter, The Count of Monte Cristo, published in 1934 or 3 Idiots?
Choices:
Pleasantville
Training Day
The Hunchback of Notre Dame
The Towering Inferno
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
3 Idiots
The Count of Monte Cristo
Rebecca
Answer: The Count of Monte Cristo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Count of Monte Cristo" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1934-01-01"^^xsd:date . } UNION { ?e <pred:name> "3 Idiots" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Count of Monte Cristo
function: FilterDate
dependencies: 0
inputs: publication date
1934-01-01
=
function: Find
inputs: 3 Idiots
function: SelectBetween
dependencies: 1
2
inputs: duration
less