Question: Does Dark Shadows (that has Johnny Depp as a cast member) or A Better Tomorrow (whose title is 英雄本色) have the longer runtime?
Choices:
A Better Tomorrow
Curse of the Golden Flower
Talk to Her
A Prairie Home Companion
Training Day
The Hunchback of Notre Dame
The Fifth Element
Pleasantville
The Towering Inferno
Dark Shadows
Answer: Dark Shadows
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dark Shadows" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Johnny Depp" . } UNION { ?e <pred:name> "A Better Tomorrow" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "英雄本色" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Johnny Depp
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Dark Shadows
function: And
dependencies: 1
2
function: Find
inputs: A Better Tomorrow
function: FilterStr
dependencies: 4
inputs: title
英雄本色
function: SelectBetween
dependencies: 3
5
inputs: duration
greater