Question: What was Malcolm X (the one that has Vincent D'Onofrio as a cast member and was nominated for Academy Award for Best Actor) about?
Choices:
Cape Verde–China relations
Cambodia–Denmark relations
Gabon–Republic of the Congo border
Bangladesh–Sierra Leone relations
Russia–Thailand relations
Slovenia–United States relations
Myanmar–Thailand border
Chad–Nigeria border
65th Academy Awards
China–South Korea border
Answer: 65th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Malcolm X" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Vincent D'Onofrio" . ?e_2 <pred:name> "Academy Award for Best 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: Vincent D'Onofrio
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Malcolm X
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of