Question: Which Martin Balsam work was nominated for an Academy Award for Best Supporting Actor?
Choices:
38th Academy Awards
Bulgaria–Turkey border
Canada–Germany relations
Chad–Nigeria border
Argentina–Sweden relations
Brazil–Democratic Republic of the Congo relations
Austria–Czech Republic relations
Guinea-Bissau–United States relations
Algeria–Morocco relations
The Beatles in India
Answer: 38th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Martin Balsam" . ?e_2 <pred:name> "Academy Award for Best Supporting Actor" . ?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: Martin Balsam
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
statement is subject of