Use of Multiple Ontologies to Characterize the Bioactivity of Small Molecules