Question: Which lasted longer Brothers (the one whose original language is Hindi) or Porto (the one whose publication date is 2016)?
Choices:
Talk to Her
Brothers
Pleasantville
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Training Day
The Towering Inferno
Answer: Brothers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brothers" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Hindi" . } UNION { ?e <pred:name> "Porto" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2016 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hindi
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Brothers
function: And
dependencies: 1
2
function: Find
inputs: Porto
function: FilterYear
dependencies: 4
inputs: publication date
2016
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater