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