Question: Which is shorter, Land of the Lost published on 2009-10-01 or drama film Cyrano de Bergerac?
Choices:
The Hunchback of Notre Dame
Land of the Lost
Rebecca
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Cyrano de Bergerac
Talk to Her
Training Day
The Fifth Element
Program:
function: Find
inputs: Land of the Lost
function: FilterDate
dependencies: 0
inputs: publication date
2009-10-01
=
function: Find
inputs: drama film
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: Cyrano de Bergerac
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Land of the Lost" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2009-10-01"^^xsd:date . } UNION { ?e <pred:name> "Cyrano de Bergerac" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Land of the Lost