OSM tag name=St Mary matches Church of St Mary in these Wikidata fields:
OSM tag name=St Mary matches St Mary's, Thornborough in these Wikidata fields: