Question: Which movie is shorter, Poltergeist (the one whose release region is Italy) or Coming Home (the one whose publication date is 2003-01-08)?
Choices:
The Challenge
Coming Home
All Quiet on the Western Front
Poltergeist
The Music Man
Shackleton
The Late Shift
The Three Musketeers
The Goodbye Girl
A Streetcar Named Desire
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Poltergeist
function: And
dependencies: 1
2
function: Find
inputs: Coming Home
function: FilterDate
dependencies: 4
inputs: publication date
2003-01-08
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Poltergeist" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Italy" . } UNION { ?e <pred:name> "Coming Home" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2003-01-08"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Coming Home