Question: For what was Alan Ball, creator of True Blood, nominated for an Academy Award for Best Writing, Original Screenplay?
Choices: Australia–China relations
Israel–Nepal relations
Luxembourg–Russia relations
Somalia – United Arab Emirates relations
72nd Academy Awards
Bahrain–United Arab Emirates relations
Kosovo–Turkey relations
Colorado–Kansas border
Niger–Nigeria relations
Azerbaijan–Kazakhstan relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alan Ball" . ?e_3 <creator> ?e_1 . ?e_3 <pred:name> "True Blood" . ?e_2 <pred:name> "Academy Award for Best Writing, Original Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: True Blood
function: Relate
dependencies: 0
inputs: creator
forward
function: Find
inputs: Alan Ball
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of
Answer: 72nd Academy Awards