what is the {character role} for {Seventeen Moments of Spring} has {cast member} as {Nikolay Prokopovich} ?
What character does nikolay prokopovich play in seventeen moments of spring?
what is the character role for seventeen moments of spring has cast member as nikolay prokopovich?
SELECT ?o WHERE { ?e property:cast_member resource:Nikolay_Prokopovich . resource:Seventeen_Moments_of_Spring property:cast_member ?e . ?e property:character_role ?o }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q472018> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P161> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4380349> .
?statement <http://www.wikidata.org/entity/P453> ?value. 
} 

SELECT ?value WHERE { wd:Q472018 p:P161 ?s . ?s ps:P161 wd:Q4380349 . ?s pq:P453 ?value}