Question: What is the subject of a statement that Wyatt Earp (the one that has Annabeth Gish as a cast member) was nominated for Academy Award for Best Cinematography?
Choices:
Mali–Mauritania relations
GBM
Afghanistan–China relations
Albania–United Kingdom relations
67th Academy Awards
Republic of the Congo–Russia relations
Israel–Uganda relations
Albania–Kosovo relations
Arizona–Nevada border
Llanito
Answer: 67th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Wyatt Earp" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Annabeth Gish" . ?e_2 <pred:name> "Academy Award for Best Cinematography" . ?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: Annabeth Gish
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Wyatt Earp
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Cinematography
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of