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