Question: What is the subject of the statement that Starship Troopers (that has Neil Patrick Harris as a cast member) was nominated for an Academy Award for Best Visual Effects?
Choices:
41st Academy Awards
Italy–Pakistan relations
France–Iran relations
Bosnia and Herzegovina–Republic of Macedonia relations
70th Academy Awards
India–Mali relations
Kuwait–Malaysia relations
Palau–Taiwan relations
Germany-Angola relations
Mexico–Netherlands relations
Answer: 70th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Starship Troopers" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Neil Patrick Harris" . ?e_2 <pred:name> "Academy Award for Best Visual Effects" . ?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: Neil Patrick Harris
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Starship Troopers
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Visual Effects
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of