Question: Which is longer, Iron Man which runs 73 minutes or Milk originally in Turkish?
Choices:
Milk
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Training Day
The Towering Inferno
Rebecca
Talk to Her
Iron Man
Program:
function: Find
inputs: Iron Man
function: FilterNum
dependencies: 0
inputs: duration
73 minute
=
function: Find
inputs: Turkish
function: Relate
dependencies: 2
inputs: original language of film or TV show
backward
function: Find
inputs: Milk
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "73"^^xsd:double . } UNION { ?e <pred:name> "Milk" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Turkish" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Milk