Question: How much did the movie that featured Forrest Gump (the one that has the occupation of entrepreneur) cost?
Choices: 1950000 United States dollar
27000000 United States dollar
170000000 United States dollar
15000000 United States dollar
475000 pound sterling
100000000 United States dollar
630000 United States dollar
207000000 United States dollar
75000000 United States dollar
55000000 United States dollar
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Forrest Gump" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "entrepreneur" .  ?e <cost> ?pv .  }
Program:
function: Find
inputs: entrepreneur
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Forrest Gump
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: cost
Answer: 55000000 United States dollar