What is {spouse} of {María Félix} that is {end time} is {1947-1-1} ?
What was the name of the person Felix divorced on January 1, 1947?
Who did Maria Felix divorce on January 1, 1947?
SELECT ?b WHERE { ?y property:end_time ?y . FILTER ( CONTAINS ( YEAR ( ?y ) , '1947' ) ) . ?y property:spouse ?b . resource:María_de_los_Angeles_Felix_Güereña property:spouse ?y }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q465189> .
?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> <1947-1-1>
} 

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