Question: How is the Get Smart filmed in Montreal related to the Primetime Emmy for Outstanding Lead Actor in a Comedy Series?
Choices: has contributing factor
has edition
sexual orientation
musical conductor
based on
director of photography
narrative location
nominated for
operating area
architect
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Get Smart" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Montreal" . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Get Smart
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series
function: QueryRelation
dependencies: 3
4
Answer: nominated for