Question: Tell me the one with a longer duration, Ran or Chicago (which has a cast member Queen Latifah)
Choices:
Training Day
Chicago
A Prairie Home Companion
The Towering Inferno
Ran
Pleasantville
The Fifth Element
Curse of the Golden Flower
Rebecca
Talk to Her
Program:
function: Find
inputs: Ran
function: Find
inputs: Queen Latifah
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ran" .  } UNION { ?e <pred:name> "Chicago" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Queen Latifah" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ran