OSM tag name=St. Mary the Virgin matches Church of St Mary in these Wikidata fields:
OSM tag name=St. Mary the Virgin matches St. Mary The Virgin, Purley-on-Thames in these Wikidata fields: