Context-Free Path Querying (CFPQ) allows one to express path constraints in navigational graph queries as context-free grammars. Although there are many algorithms for CFPQ developed, no graph database provides full-stack support of CFPQ. The Azimov's CFPQ algorithm is applicable for real-world graph analyses, as shown by Arseniy Terekhov. In this work we provide a modification to Azimov's algorithm for multiple-source CFPQ which makes the algorithm more practical and eases the integration into RedisGraph graph database. We also implement a Cypher graph query language extension for context-free constraints. Thus we provide the first full-stack support of CFPQ for graph databases. Our evaluation shows that the provided solution is suitable for real-world graph analyses.

Original languageEnglish
Pages (from-to)487-492
Number of pages6
JournalOpenProceedings
DOIs
StatePublished - 2021
Event24th International Conference on Extending Database Technology - , Cyprus
Duration: 23 Mar 202126 Mar 2021

    Scopus subject areas

  • Information Systems
  • Software
  • Computer Science Applications

ID: 84502422