Question: Who is the nominee for the Academy Award for Best Original Score for which The Hours (that mainly portrays Virginia Woolf) was nominated?
Choices:
David Brenner
Ruth Gordon
Caroline Baron
Hugh S. Fowler
Philip Glass
Stanley Kubrick
Joan Harrison
James Cromwell
Lois Burwell
Roger S. H. Schulman
Program:
function: Find
inputs: Virginia Woolf
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: The Hours
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Score
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Hours" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "Virginia Woolf" . ?e_2 <pred:name> "Academy Award for Best Original Score" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Answer: Philip Glass