Are there databases to query Chemical and Physical Properties of drugs or compounds with the input of drugs or compounds names? And then maybe do something like clustering? I'd want to check are there some common attributes for a list of drugs or compounds finally. Thank you.
Depending on the properties you are looking for, there are various alternatives (PubChem, ChEMBL, ChemSpider, Drugbank). What properties are you particularly interested in?