Question: Who had the title of Mary in the Spanish Empire?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q80702 wdt:P417 ?obj . ?obj wdt:P31 wd:Q1509831 }