OSM tag name=St Margaret matches Church of St Margaret in these Wikidata fields:
OSM tag name=St Margaret matches St Margaret's Church in these Wikidata fields: