Question: Who is the nominee for an Academy Award for Best Actor for which The Pursuit of Happyness received a nomination?
Choices:
Will Smith
Vanessa Redgrave
Charles H. Joffe
Lance Anderson
Martin Poll
Geoffrey Unsworth
Steve Maslow
Kerrie Brown
Michael Douglas
Beverley Dunn
Program:
function: Find
inputs: The Pursuit of Happyness
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Pursuit of Happyness" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Answer: Will Smith