Question: Which movie is shorter, Oliver Twist (the one whose publication date is 1922-01-01) or It (the one whose box office is 700381748 United States dollar)?
Choices:
It
The Hunchback of Notre Dame
The Towering Inferno
Oliver Twist
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Pleasantville
Rebecca
Answer: Oliver Twist
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> "It" . ?e <box_office> ?pv_2 . ?pv_2 <pred:unit> "United States dollar" . ?pv_2 <pred:value> "700381748"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oliver Twist
function: FilterDate
dependencies: 0
inputs: publication date
1922-01-01
=
function: Find
inputs: It
function: FilterNum
dependencies: 2
inputs: box office
700381748 United States dollar
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less