Wikipedia is a significant source of data. Data from Wikipedia may be available in various formats via other servers (e.g., SPARQL end point). For a task of extracting all pairs of "ATC code" - "generic or brand drug name" For example data on this page
what server and what technologies could one use?
Example data shown graphically: