What is {spouse} of {Katy Perry} that is {start time} is {2010-10-23} ?
Who did Katy Perry get married to on 2010-10-23?
SELECT ?obj WHERE { wd:Q42493 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'2010')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42493> .
?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/P580> <2010-10-23>
} 

On October 23rd, 2010, who did Katy Perry marry?