What is the {fictional human} for {spouse} of {Princess Leia}
Who is the husband of Princess Leila?
Who is married to Princess Leia?
SELECT DISTINCT ?z WHERE { ?z property:spouse resource:Leia_Organa . ?z rdf:type ontology:fictional_human }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q51797> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q15632617> } 
 select distinct ?sbj where { ?sbj wdt:P26 wd:Q51797 . ?sbj wdt:P31 wd:Q15632617 } 
Han Solo