1. A method of scoring items comprising obtaining a plurality of items having annotations that are semantically related to the terms in a query by using one or more ontologies and said annotations in order to determine the statistical significance of similarities between query terms and sets of terms used in the annotations of the items, assigning a P-value to the probability of obtaining the observed semantic similarity score for each obtained item, and scoring the items according to their individual P-values.