Question: Were production costs lower on Annie, with Michael J. Fox as a cast member, or Moon, which took in 9760104 USD at the box office?
Choices:
Moon
Talk to Her
Pleasantville
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Rebecca
The Fifth Element
Curse of the Golden Flower
Annie
Answer: Moon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Annie" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Michael J. Fox" . } UNION { ?e <pred:name> "Moon" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "9760104"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Michael J. Fox
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Annie
function: And
dependencies: 1
2
function: Find
inputs: Moon
function: FilterNum
dependencies: 4
inputs: box office
9760104 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: cost
less