Question: Who is shorter, Selma (the one whose publication date is 2015-02-19) or New York (the one whose original language is Hindi)?
Choices: Rebecca
The Hunchback of Notre Dame
The Fifth Element
Selma
A Prairie Home Companion
The Towering Inferno
Pleasantville
Talk to Her
Curse of the Golden Flower
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Selma" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2015-02-19"^^xsd:date . } UNION { ?e <pred:name> "New York" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Hindi" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Selma
function: FilterDate
dependencies: 0
inputs: publication date
2015-02-19
=
function: Find
inputs: Hindi
function: Relate
dependencies: 2
inputs: original language of film or TV show
backward
function: Find
inputs: New York
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Selma