Question: Who is the winner for Erin Brockovich (which is in the biographical film genre) got Academy Award for Best Actress?
Choices:
Tom Schiller
Gábor Csupó
Portia de Rossi
Julia Roberts
Larry Stensvold
Theodor Pištěk
Chiaki Kuriyama
Leslie I. Carey
Busboy Productions
Dolly Parton
Answer: Julia Roberts
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Erin Brockovich" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "biographical film" . ?e_2 <pred:name> "Academy Award for Best Actress" . ?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: biographical film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Erin Brockovich
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
winner