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, Whitchurch in these Wikidata fields: