The Local Algorithm: Relevance, Proximity, and Prominence