Question: Is the duration greater for Prizzi's Honor or The Bodyguard (the one whose production company is Lawrence Kasdan)?
Choices:
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
The Bodyguard
The Fifth Element
The Towering Inferno
A Prairie Home Companion
Talk to Her
Prizzi's Honor
Program:
function: Find
inputs: Prizzi's Honor
function: Find
inputs: Lawrence Kasdan
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The Bodyguard
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prizzi's Honor" .  } UNION { ?e <pred:name> "The Bodyguard" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Lawrence Kasdan" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Prizzi's Honor