What is {characters} of {Frasier} that is {object has role} is {recurring character} ?
Frasier played in what role in recurring character?
what role did Frasier play in recurring character?
SELECT ?m WHERE { ?a property:characters ?m . ?a property:object_has_role resource:recurring_character . resource:Frasier property:characters ?a }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q209282> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P674> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P3831> <http://wikidata.dbpedia.org/resource/Q1086098>
} 

SELECT ?obj WHERE { wd:Q209282 p:P674 ?s . ?s ps:P674 ?obj . ?s pq:P3831 wd:Q1086098 }