Artificial Intelligence and Patents: An International Perspective on Patenting AI-Related Inventions