Path knowledge representation