Question: Which movie made less at the box office, Dr. Strangelove (the one that has James Earl Jones as a cast member) or The Expendables 2?
Choices:
The Expendables 2
The Fifth Element
Rebecca
The Towering Inferno
Talk to Her
Dr. Strangelove
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
Training Day
Program:
function: Find
inputs: James Earl Jones
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Dr. Strangelove
function: And
dependencies: 1
2
function: Find
inputs: The Expendables 2
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dr. Strangelove" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "James Earl Jones" .   } UNION { ?e <pred:name> "The Expendables 2" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dr. Strangelove