Question: Which movie is shorter, Savages (the one whose release region is Turkey) or Milan (the one whose publication date is 1967-01-01)?
Choices:
Milan
The Fifth Element
Curse of the Golden Flower
Training Day
The Towering Inferno
Talk to Her
A Prairie Home Companion
The Hunchback of Notre Dame
Savages
Pleasantville
Program:
function: Find
inputs: Turkey
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Savages
function: And
dependencies: 1
2
function: Find
inputs: Milan
function: FilterDate
dependencies: 4
inputs: publication date
1967-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savages" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Turkey" . } UNION { ?e <pred:name> "Milan" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1967-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Savages