Question: Does The Love Guru or The Phantom of the Opera (whose release date is 1998-01-01) have the shorter length?
Choices:
Rebecca
The Phantom of the Opera
Training Day
The Towering Inferno
The Fifth Element
The Love Guru
Pleasantville
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
Answer: The Love Guru
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Love Guru" . } UNION { ?e <pred:name> "The Phantom of the Opera" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1998-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Love Guru
function: Find
inputs: The Phantom of the Opera
function: FilterDate
dependencies: 1
inputs: publication date
1998-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less