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