Question: Who was nominated for Academy Award for Best Film Editing for Rocky (the one that has Lloyd Kaufman as a cast member) ?
Choices:
China–Netherlands relations
North Carolina–South Carolina border
Switzerland–Taiwan relations
49th Academy Awards
Taiwan–Uruguay relations
Germany–Syria relations
Serbia–Zimbabwe relations
Serbia–United Arab Emirates relations
Albania–Netherlands relations
Pakistan–Soviet Union relations
Answer: 49th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rocky" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Lloyd Kaufman" . ?e_2 <pred:name> "Academy Award for Best Film Editing" . ?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: Lloyd Kaufman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Rocky
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Film Editing
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of