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