What is {spouse} of {Booker T. Washington} that is {end time} is {1884-0-0} ?
Which spouse divorced Booker T. Washington in 1884?
what is spouse of Booker T.Washington that is end time is 1884-0-0?
SELECT ?u WHERE { resource:Booker_T._Washington property:spouse ?m . ?m property:end_time ?r . FILTER ( CONTAINS ( YEAR ( ?r ) , '1884' ) ) . ?m property:spouse ?u }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q319871> .
?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> <1884-0-0>
} 

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