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