Question: Which one is longer, Coming to America or The Stepford Wives (the one whose producer is Scott Rudin) ?
Choices:
The Hunchback of Notre Dame
The Fifth Element
Pleasantville
The Towering Inferno
A Prairie Home Companion
Coming to America
Curse of the Golden Flower
Rebecca
Talk to Her
The Stepford Wives
Program:
function: Find
inputs: Coming to America
function: Find
inputs: Scott Rudin
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: The Stepford Wives
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Coming to America" .  } UNION { ?e <pred:name> "The Stepford Wives" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Scott Rudin" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Coming to America