What is the {human} for {spouse} of {Tom Hanks}
Who is Tom Hanks' wife?
What is the name of Tom Hanks Spouse
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:human . resource:Tom_Hanks property:spouse ?r }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2263> . ?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> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q5> } 
 select distinct ?obj where { wd:Q2263 wdt:P26 ?obj . ?obj wdt:P31 wd:Q5 } 
Rita Wilson