Question: How is the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series related to English American John Mahoney?
Choices:
publisher
winner
airline hub
Wikidata property
residence
doctoral advisor
material used
mouth of the watercourse
located in the administrative territorial entity
occupant
Answer: winner
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series" . ?e_2 <pred:name> "John Mahoney" . ?e_2 <ethnic_group> ?e_3 . ?e_3 <pred:name> "English American" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
function: Find
inputs: English American
function: Relate
dependencies: 1
inputs: ethnic group
backward
function: Find
inputs: John Mahoney
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4