Question: How much did Avatar (the one that has James Horner as a performer) cost to make?
Choices:
16000000 euro
24000000 United States dollar
4000000 United States dollar
62000000 United States dollar
7000000 United States dollar
2883848 United States dollar
38000000 United States dollar
250000 United States dollar
237000000 United States dollar
145000000 United States dollar
Answer: 237000000 United States dollar
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Avatar" . ?e <performer> ?e_1 . ?e_1 <pred:name> "James Horner" .  ?e <cost> ?pv .  }
Program:
function: Find
inputs: James Horner
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Avatar
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: cost