Prometheus Bildarchiv has the option to include Wikidata for artist names, and they mentioned in their #ALW2026 talk that they want to use it for more aspects like the one you describe in the future. (screenshot is from one of their open access collections).
Also https://www.nga.gov links to artwork IDs (under "Research ressources")