Question: Which one, From Dusk till Dawn (the one that has Gregory Nicotero as a cast member) or Scoop (the one that has Anthony Head as a cast member), has less box office?
Choices: From Dusk till Dawn
The Fifth Element
A Prairie Home Companion
Pleasantville
Talk to Her
Rebecca
Scoop
The Towering Inferno
The Hunchback of Notre Dame
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "From Dusk till Dawn" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Gregory Nicotero" .   } UNION { ?e <pred:name> "Scoop" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Anthony Head" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Gregory Nicotero
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: From Dusk till Dawn
function: And
dependencies: 1
2
function: Find
inputs: Anthony Head
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Scoop
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less
Answer: From Dusk till Dawn