Question: What is the association of The Office (that received an award at the 59th Primetime Emmy Awards) with Brian Baumgartner?
Choices:
does not have part
time period
operating area
military casualty classification
cast member
country of origin
taxon rank
derivative work
soundtrack album
country
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Office" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "59th Primetime Emmy Awards" . ?e_2 <pred:name> "Brian Baumgartner" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 59th Primetime Emmy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Office
function: And
dependencies: 1
2
function: Find
inputs: Brian Baumgartner
function: QueryRelation
dependencies: 3
4