Question: Does Transylvania (the one whose original language is Italian) or Public Enemies (the one whose duration is 140 minute) have lesser duration ?
Choices:
Public Enemies
Talk to Her
Training Day
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Transylvania
Rebecca
The Towering Inferno
Pleasantville
Answer: Transylvania
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Transylvania" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Italian" . } UNION { ?e <pred:name> "Public Enemies" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "140"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Italian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Transylvania
function: And
dependencies: 1
2
function: Find
inputs: Public Enemies
function: FilterNum
dependencies: 4
inputs: duration
140 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less