What is {spouse} of {Myrna Loy} that is {end time} is {1944-1-1} ?
Who was the wife of Myrna Loy in 1944?
Who was the spouse of Myrna Loy in 1944?
SELECT ?c WHERE { FILTER ( CONTAINS ( YEAR ( ?t ) , '1944' ) ) . resource:Myrna_Loy property:spouse ?g . ?g property:end_time ?t . ?g property:spouse ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q105941> .
?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> <1944-1-1>
} 

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