Question: Who won a Saturn Award for Best Director for Avatar (whose box office is 2787965087 United States dollars)?
Choices: James Cameron
Richard D. Zanuck
Stephen Fry
Dominick Tavella
Laurence Olivier
Erik-Jan de Boer
Angelo P. Graham
Eiko Ishioka
Richard Attenborough
Robert Wuhl
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Avatar" . ?e_1 <box_office> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "2787965087"^^xsd:double . ?e_2 <pred:name> "Saturn Award for Best Director" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }
Program:
function: Find
inputs: Avatar
function: FilterNum
dependencies: 0
inputs: box office
2787965087 United States dollar
=
function: Find
inputs: Saturn Award for Best Director
function: QueryRelationQualifier
dependencies: 1
2
inputs: award received
winner
Answer: James Cameron