Question: Is Louisiana (black and white film) or Sleepy Hollow (featuring cast member Jeffrey Jones) longer in duration?
Choices:
Training Day
The Fifth Element
Sleepy Hollow
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Pleasantville
The Towering Inferno
Talk to Her
Louisiana
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Louisiana
function: And
dependencies: 1
2
function: Find
inputs: Jeffrey Jones
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Sleepy Hollow
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Louisiana" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "Sleepy Hollow" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jeffrey Jones" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sleepy Hollow