Question: Who is {spouse} of {Charles IX of France} whose {end time} is {1574-5-30} ?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q134309 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1574')) }