what is the {character role} for {Game of Thrones} has {cast member} as {Hannah Murray} ?
Hannah Murray plays what role on Game of Thrones?
What is the name of Hannah Murray's character on Game of Thrones?
SELECT ?b WHERE { resource:Game_of_Thrones property:cast_member ?h . ?h property:character_role ?b . ?h property:cast_member resource:Hannah_Murray }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23572> .
?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/Q231086> .
?statement <http://www.wikidata.org/entity/P453> ?value. 
} 

SELECT ?value WHERE { wd:Q23572 p:P161 ?s . ?s ps:P161 wd:Q231086 . ?s pq:P453 ?value}