Index-Based Algorithms For Local Query Process In Large-Scale Graphs