What is {spouse} of {Ivan Pyryev} that is {start time} is {1936-0-0} ?
Who was Ivan Pyryev married to in 1936?
Who is the spouse of Ivan Pyryev on 1936-0-0?
SELECT ?g WHERE { resource:Ivan_Pyryev property:spouse ?r . ?r property:start_time ?l . FILTER ( CONTAINS ( YEAR ( ?l ) , '1936' ) ) . ?r property:spouse ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q552450> .
?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> <1936-0-0>
} 

SELECT ?obj WHERE { wd:Q552450 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1936')) }