Discovery/invention is one of the classic ways of differentiating (you can patent inventions but not mere discoveries of facts), but even going back hundreds of years the line gets a bit murky. For example, a ton of 19th-century patents were for chemical synthesis processes, which more or less boils down to a patent on discovering that certain reaction pathways exist and can be feasibly used with standard equipment.