Question: John Spencer, one of the actors of The Rock, received a Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series for which TV show?
Choices:
Channel Orange
Warrior
Cinderella Man
Bridesmaids
War and Peace
Houseboat
Ulee's Gold
A Cabin on the Coast
The West Wing
When Harry Met Sally
Answer: The West Wing
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Spencer" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "The Rock" . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: The Rock
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: John Spencer
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Supporting Actor in a Drama Series
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work