Question: Brad Pitt is cast in what role on Troy, which took in 497409852 USD at the box office?
Choices: Morpheus
Wade Winston Wilson
Townie
Achilles
Melvin Purvis
Lumière
Kitty Kiernan
Lara Lor-Van
John Seward
Dan Humphrey
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Troy" . ?e_1 <box_office> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "497409852"^^xsd:double . ?e_2 <pred:name> "Brad Pitt" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Troy
function: FilterNum
dependencies: 0
inputs: box office
497409852 United States dollar
=
function: Find
inputs: Brad Pitt
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Achilles