what is the {character role} for {Monty Python and the Holy Grail} has {cast member} as {Graham Chapman} ?
Which character did Graham Chapman play in Monty Python and the Holy Grail?
SELECT ?value WHERE { wd:Q25043 p:P161 ?s . ?s ps:P161 wd:Q24962 . ?s pq:P453 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25043> .
?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/Q24962> .
?statement <http://www.wikidata.org/entity/P453> ?value. 
} 

What role did Graham Chapman play in Monty Python and the Holy Grail?