Question: Does From the Earth to the Moon (the film whose title is From the Earth to the Moon) or Heroes (whose release date is 2008-01-01) have the shorter runtime?
Choices: Rebecca
Curse of the Golden Flower
Talk to Her
From the Earth to the Moon
Training Day
Heroes
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "From the Earth to the Moon" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "From the Earth to the Moon" . } UNION { ?e <pred:name> "Heroes" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2008-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: From the Earth to the Moon
function: FilterStr
dependencies: 0
inputs: title
From the Earth to the Moon
function: Find
inputs: Heroes
function: FilterDate
dependencies: 2
inputs: publication date
2008-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
Answer: From the Earth to the Moon