The present invention relates to a method for predicting a drug-drug interaction and a drug-food interaction by using structural information of a drug and, more particularly, to a method for predicting the mechanism of action and activity of a drug interaction through interaction prediction results expressed by a standardized sentence. When using a method for predicting a drug interaction according to the present invention, a drug interaction can be predicted quickly and accurately, and in particular, activity information of an unknown compound can also be predicted by expressing a prediction result by means of a sentence, and thus the method is very useful for developing a drug exhibiting desired activity without causing adverse effects.