Question: Is the longer work Fiddler on the Roof or Splash, distributed by Walt Disney Studios Motion Pictures?
Choices:
Holes
The Flintstones in Viva Rock Vegas
Fiddler on the Roof
G-Force
National Treasure: Book of Secrets
John Carter
Old Dogs
Alvin and the Chipmunks: Chipwrecked
Splash
The Flintstones
Program:
function: Find
inputs: Fiddler on the Roof
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Splash
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fiddler on the Roof" .  } UNION { ?e <pred:name> "Splash" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Walt Disney Studios Motion Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fiddler on the Roof