Question: Which one, Wuthering Heights (the one whose publication date is 2012-07-19) or Infernal Affairs (the one that is followed by Infernal Affairs II), has less duration?
Choices:
Talk to Her
Curse of the Golden Flower
The Fifth Element
Infernal Affairs
The Towering Inferno
Training Day
Pleasantville
The Hunchback of Notre Dame
Wuthering Heights
Rebecca
Program:
function: Find
inputs: Wuthering Heights
function: FilterDate
dependencies: 0
inputs: publication date
2012-07-19
=
function: Find
inputs: Infernal Affairs II
function: Relate
dependencies: 2
inputs: follows
forward
function: Find
inputs: Infernal Affairs
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wuthering Heights" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2012-07-19"^^xsd:date . } UNION { ?e <pred:name> "Infernal Affairs" . ?e_1 <follows> ?e . ?e_1 <pred:name> "Infernal Affairs II" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Infernal Affairs