Evaluating Regular Path Queries on Compressed Adjacency Matrices