Question: Which movie is shorter, The Last of the Mohicans (the one whose publication date is 1932-01-01) or 21 Jump Street (the one that was nominated for MTV Movie Award for Best Comedic Performance)?
Choices:
The Fifth Element
Curse of the Golden Flower
Training Day
21 Jump Street
The Towering Inferno
The Last of the Mohicans
The Hunchback of Notre Dame
Talk to Her
Pleasantville
Rebecca
Program:
function: Find
inputs: The Last of the Mohicans
function: FilterDate
dependencies: 0
inputs: publication date
1932-01-01
=
function: Find
inputs: MTV Movie Award for Best Comedic Performance
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: 21 Jump Street
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Last of the Mohicans" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1932-01-01"^^xsd:date . } UNION { ?e <pred:name> "21 Jump Street" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Comedic Performance" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: 21 Jump Street