1. A computer implemented method for extracting pharmacogenomics relations from text, comprising: receiving a plurality of sentences; parsing the plurality of sentences into dependency graphs; extracting a plurality of relations from the dependency graphs; constructing an ontology from the plurality of relations; and normalizing the plurality of relations.