Question: Does Dick Tracy (whose production company is RKO Pictures) or Mary Shelley (whose genre is historical fiction) have the longer runtime?
Choices: Curse of the Golden Flower
Rebecca
Pleasantville
Mary Shelley
Talk to Her
The Towering Inferno
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dick Tracy" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "RKO Pictures" .   } UNION { ?e <pred:name> "Mary Shelley" . ?e <genre> ?e_2 . ?e_2 <pred:name> "historical fiction" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: RKO Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Dick Tracy
function: And
dependencies: 1
2
function: Find
inputs: historical fiction
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Mary Shelley
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Mary Shelley