What is the {character from Star Wars} for {killed by} of {Luke Skywalker}
[]
When did character from Star Wars for killed by of Luke Skywalker?
SELECT DISTINCT ?p WHERE { resource:Luke_Skywalker property:killed_by ?p . ?p rdf:type ontology:character_from_Star_Wars }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q51746> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P157> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q33125444> } 
 select distinct ?obj where { wd:Q51746 wdt:P157 ?obj . ?obj wdt:P31 wd:Q33125444 } 