Question: Which movie is shorter, Christopher Columbus (the one whose duration is 94 minute) or The Ten Commandments (the one whose publication date is 1923-11-23)?
Choices:
Pleasantville
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Christopher Columbus
Curse of the Golden Flower
The Ten Commandments
The Fifth Element
A Prairie Home Companion
Talk to Her
Answer: Christopher Columbus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Christopher Columbus" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "94"^^xsd:double . } UNION { ?e <pred:name> "The Ten Commandments" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1923-11-23"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Christopher Columbus
function: FilterNum
dependencies: 0
inputs: duration
94 minute
=
function: Find
inputs: The Ten Commandments
function: FilterDate
dependencies: 2
inputs: publication date
1923-11-23
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less