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