What is {spouse} of {George Sand} that is {end time} is {1835-1-1} ?
What was the name of George Sand's wife, in 1835?
In 1835, what was the name of George Sand's spouse?
SELECT ?w WHERE { FILTER ( CONTAINS ( YEAR ( ?q ) , '1835' ) ) . ?c property:spouse ?w . ?c property:end_time ?q . resource:George_Sand property:spouse ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3816> .
?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/P582> <1835-1-1>
} 

SELECT ?obj WHERE { wd:Q3816 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1835')) }