Similar Items: Fine-Grained Complexity of Regular Path Queries