Question: Which is shorter, Superman II or The Girl with the Dragon Tattoo published on 2010-07-08?
Choices: Talk to Her
The Towering Inferno
A Prairie Home Companion
Superman II
The Girl with the Dragon Tattoo
Curse of the Golden Flower
Training Day
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Superman II" . } UNION { ?e <pred:name> "The Girl with the Dragon Tattoo" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2010-07-08"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Superman II
function: Find
inputs: The Girl with the Dragon Tattoo
function: FilterDate
dependencies: 1
inputs: publication date
2010-07-08
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
Answer: Superman II