Question: In "The Wiz," what character was played by the actor who also played the character Mayor Ghoul?
Answer(s):
answer: Scarecrow

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:film.actor.film ?k .
?k ns:film.performance.character ns:m.0y9dxk6 . 
?c ns:film.actor.film ?y .
?y ns:film.performance.character ?x .
?y ns:film.performance.film ns:m.027fwmt .
}