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