What is {spouse} of {Empress Matilda} that is {start time} is {1128-1-1} ?
Empress Matilda was married to whom on January 1st, 1128?
Who was the spouse of Empress Matilda on January 1, 1128?
SELECT ?h WHERE { ?l property:spouse ?h . resource:Empress_Matilda property:spouse ?l . ?l property:start_time ?t . FILTER ( CONTAINS ( YEAR ( ?t ) , '1128' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q150872> .
?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> <1128-1-1>
} 

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