Question: Which is shorter, Days of Thunder published on 1990-09-20 or The Phantom of the Opera that is 106 minutes long?
Choices:
Curse of the Golden Flower
Pleasantville
Rebecca
The Towering Inferno
The Phantom of the Opera
Training Day
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
Days of Thunder
Answer: The Phantom of the Opera
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Days of Thunder" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1990-09-20"^^xsd:date . } UNION { ?e <pred:name> "The Phantom of the Opera" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "106"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Days of Thunder
function: FilterDate
dependencies: 0
inputs: publication date
1990-09-20
=
function: Find
inputs: The Phantom of the Opera
function: FilterNum
dependencies: 2
inputs: duration
106 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less