Question: Which one has greater duration,Nine Lives or Detective Conan; Captured in Her Eyes?
Choices:
The Towering Inferno
Nine Lives
Rebecca
Pleasantville
A Prairie Home Companion
Detective Conan: Captured in Her Eyes
The Hunchback of Notre Dame
Training Day
Talk to Her
The Fifth Element
Program:
function: Find
inputs: Holly Hunter
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Nine Lives
function: And
dependencies: 1
2
function: Find
inputs: Detective Conan: Captured in Her Eyes
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nine Lives" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Holly Hunter" .   } UNION { ?e <pred:name> "Detective Conan: Captured in Her Eyes" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nine Lives