Question: For what was Alice (which has Joe Mantegna as a cast member) nominated for an Academy Award for Best Writing, Original Screenplay?
Choices:
Italy–Moldova relations
Sri Lanka–Switzerland relations
Bolivia–China relations
Indonesia–Philippines border
Uzbekistan–Ukraine relations
State of Slovenes, Croats and Serbs
Lana Clarkson
63rd Academy Awards
Ireland–United States relations
Greece–Japan relations
Answer: 63rd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alice" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Joe Mantegna" . ?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: Joe Mantegna
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice
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