what is the {character role} for {Lawrence of Arabia} has {cast member} as {Jack Hawkins} ?
Who did Jack Hawkins play in Lawrence of Arabia?
What character in Lawrence of Arabia is played by Jack Hawkins?
SELECT ?j WHERE { ?y property:cast_member resource:Jack_Hawkins . ?y property:character_role ?j . resource:Lawrence_of_Arabia property:cast_member ?y }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q228186> .
?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/Q26118> .
?statement <http://www.wikidata.org/entity/P453> ?value. 
} 

SELECT ?value WHERE { wd:Q228186 p:P161 ?s . ?s ps:P161 wd:Q26118 . ?s pq:P453 ?value}