what is the {of} for {Moses} has {performer} as {Val Kilmer} ?
What movie did Val Kilmer play Moses in?
In what movie did Val Kilmer play as Moses?
SELECT ?n WHERE { ?v property:of ?n . resource:Moses property:performer ?v . ?v property:performer resource:Val_Kilmer }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9077> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P175> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q191084> .
?statement <http://www.wikidata.org/entity/P642> ?value. 
} 

SELECT ?value WHERE { wd:Q9077 p:P175 ?s . ?s ps:P175 wd:Q191084 . ?s pq:P642 ?value}