Question: Is the run-time longer on Titanic, an MTV Movie Award nominee for Best Movie, or on King Kong, with David O. Selznick as an executive producer?
Choices:
A Prairie Home Companion
Training Day
Rebecca
Curse of the Golden Flower
King Kong
The Towering Inferno
The Hunchback of Notre Dame
Titanic
Talk to Her
Pleasantville
Answer: Titanic
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Titanic" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Movie" .   } UNION { ?e <pred:name> "King Kong" . ?e <executive_producer> ?e_2 . ?e_2 <pred:name> "David O. Selznick" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: MTV Movie Award for Best Movie
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Titanic
function: And
dependencies: 1
2
function: Find
inputs: David O. Selznick
function: Relate
dependencies: 4
inputs: executive producer
backward
function: Find
inputs: King Kong
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater