what is the {character role} for {House} has {cast member} as {Hugh Laurie} ?
Give the name of the character that Hugh Laurie played of in the show House.
Who did Hugh Laurie play the character of in the show House?
SELECT ?f WHERE { resource:House property:cast_member ?r . ?r property:character_role ?f . ?r property:cast_member resource:Hugh_Laurie }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23558> .
?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/Q49017> .
?statement <http://www.wikidata.org/entity/P453> ?value. 
} 

SELECT ?value WHERE { wd:Q23558 p:P161 ?s . ?s ps:P161 wd:Q49017 . ?s pq:P453 ?value}