Question: Which is shorter, Hope Springs released in New Zealand or Brazil published on 1944-01-01?
Choices:
Brazil
Hope Springs
Training Day
Talk to Her
Pleasantville
Rebecca
The Towering Inferno
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
Answer: Brazil
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hope Springs" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "New Zealand" . } UNION { ?e <pred:name> "Brazil" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1944-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New Zealand
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Hope Springs
function: And
dependencies: 1
2
function: Find
inputs: Brazil
function: FilterDate
dependencies: 4
inputs: publication date
1944-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less