What is {spouse} of {LeAnn Rimes} that is {place of marriage} is {California} ?
Give me the name of husband of LeAnn Rimes who married in California.
Who is the spouse of LeAnn Rimes when she was married in California?
SELECT ?g WHERE { ?v property:place_of_marriage resource:California . ?v property:spouse ?g . resource:LeAnn_Rimes property:spouse ?v }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q120533> .
?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 .
?statement <http://www.wikidata.org/entity/P2842> <http://wikidata.dbpedia.org/resource/Q99>
} 

SELECT ?obj WHERE { wd:Q120533 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P2842 wd:Q99 }