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