Question: Which is longer from start-to-finish: Eve, with Ben Gazzara as a cast member, or the romance movie Solaris?
Choices:
Eve
Curse of the Golden Flower
Talk to Her
The Fifth Element
Pleasantville
Rebecca
A Prairie Home Companion
The Hunchback of Notre Dame
Solaris
Training Day
Answer: Solaris
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eve" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ben Gazzara" .   } UNION { ?e <pred:name> "Solaris" . ?e <genre> ?e_2 . ?e_2 <pred:name> "romance film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ben Gazzara
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Eve
function: And
dependencies: 1
2
function: Find
inputs: romance film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Solaris
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater