Question: Does the longer run-time belong to Thunderball, distributed by United Artists, or to Halloween, featuring cast member Danny Trejo ?
Choices:
Halloween
Training Day
Talk to Her
Curse of the Golden Flower
The Fifth Element
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Thunderball
The Towering Inferno
Answer: Thunderball
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thunderball" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "United Artists" .   } UNION { ?e <pred:name> "Halloween" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Danny Trejo" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United Artists
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Thunderball
function: And
dependencies: 1
2
function: Find
inputs: Danny Trejo
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Halloween
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater