Question: Does The Three Musketeers (script by Douglas Fairbanks) or The Last Airbender (has Conrad Buff IV as a film editor) have a longer runtime?
Choices:
Rebecca
A Prairie Home Companion
The Hunchback of Notre Dame
The Three Musketeers
Talk to Her
Pleasantville
The Towering Inferno
The Last Airbender
The Fifth Element
Curse of the Golden Flower
Program:
function: Find
inputs: Douglas Fairbanks
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Conrad Buff IV
function: Relate
dependencies: 4
inputs: film editor
backward
function: Find
inputs: The Last Airbender
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Three Musketeers" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Douglas Fairbanks" .   } UNION { ?e <pred:name> "The Last Airbender" . ?e <film_editor> ?e_2 . ?e_2 <pred:name> "Conrad Buff IV" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Three Musketeers