Question: Who was the person that was nominated for Academy Award for Best Actor for the movie Ray published on 2004-09-12?
Choices:
John A. Alonzo
Sara Allgood
Jamie Foxx
John Bruno
Veit Heiduschka
Patricia Neal
Verna Fields
Philip G. Epstein
Roman Polanski
John Stears
Program:
function: Find
inputs: Ray
function: FilterDate
dependencies: 0
inputs: publication date
2004-09-12
=
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ray" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2004-09-12"^^xsd:date . ?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: Jamie Foxx