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