Question: Does the disaster film Monster or The Rum Diary have a longer running time?
Choices:
The Fifth Element
Monster
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
Rebecca
Training Day
The Rum Diary
Curse of the Golden Flower
Pleasantville
Program:
function: Find
inputs: disaster film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Monster
function: And
dependencies: 1
2
function: Find
inputs: The Rum Diary
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monster" . ?e <genre> ?e_1 . ?e_1 <pred:name> "disaster film" .   } UNION { ?e <pred:name> "The Rum Diary" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Rum Diary