what is the {character role} for {The Brady Bunch} has {cast member} as {Maureen McCormick} ?
Who did Maureen McCormick play in The Brady Bunch?
What character did Maureen McCormick play in The Brady Bunch?
SELECT ?k WHERE { resource:The_Brady_Bunch property:cast_member ?g . ?g property:character_role ?k . ?g property:cast_member resource:Maureen_McCormick }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q250767> .
?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/Q454374> .
?statement <http://www.wikidata.org/entity/P453> ?value. 
} 

SELECT ?value WHERE { wd:Q250767 p:P161 ?s . ?s ps:P161 wd:Q454374 . ?s pq:P453 ?value}