Question: What is the cost of For War and Peace written by Leo Tolstoy?
Choices: 207000000 United States dollar
105000000 United States dollar
65000000 United States dollar
325000 United States dollar
237000000 United States dollar
7000000 United States dollar
103000000 United States dollar
8291712 Russian ruble
102000000 United States dollar
1200000 United States dollar
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "War and Peace" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Leo Tolstoy" .  ?e <cost> ?pv .  }
Program:
function: Find
inputs: Leo Tolstoy
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: War and Peace
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: cost
Answer: 8291712 Russian ruble