A Query-oriented Approach for Relevance in Citation Networks