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