skip to main content
research-article

Bridging Theory and Practice with Query Log Analysis

Published:05 November 2019Publication History
Skip Abstract Section

Abstract

Since large structured query logs have recently become available, we have a new opportunity to gain insights in the types of queries that users ask. Even though such logs can be quite volatile, there are various new observations that can be made about the structure of queries inside them, on which we report here. Furthermore, building on an extensive analysis that has been done on such logs, we were able to provide a theoretical explanation why regular path queries in graph database applications behave better than worst-case complexity results suggest at first sight.

References

  1. S. Abiteboul, R. Hull, and V. Vianu. Foundations of Databases. Addison-Wesley, 1995.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. N. Alon, R. Yuster, and U. Zwick. Color-coding. Journal of the ACM, 42(4):844--856, 1995.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. G. Bagan, A. Bonifati, and B. Groz. A trichotomy for regular simple path queries on graphs. In PODS, pages 261--272, 2013.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. A. Bielefeldt, J. Gonsior, and M. Kr¨otzsch. Practical linked data access via SPARQL: the case of wikidata. In LDOW@WWW, 2018.Google ScholarGoogle Scholar
  5. A. Bonifati, W. Martens, and T. Timm. An analytical study of large SPARQL query logs. PVLDB, 11(2):149--161, 2017.Google ScholarGoogle Scholar
  6. A. Bonifati, W. Martens, and T. Timm. An analytical study of large SPARQL query logs. The VLDB Journal, 2019. Full version of [5], to appear.Google ScholarGoogle ScholarCross RefCross Ref
  7. A. Bonifati, W. Martens, and T. Timm. Navigating the maze of wikidata query logs. In WWW, pages 127--138, 2019.Google ScholarGoogle Scholar
  8. I. F. Cruz, A. O. Mendelzon, and P. T. Wood. A graphical query language supporting recursion. In SIGMOD Conference, pages 323--330, 1987.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. F. V. Fomin, D. Lokshtanov, F. Panolan, and S. Saurabh. Efficient computation of representative families with applications in parameterized and exact algorithms. Journal of the ACM, 63(4):29:1--29:60, 2016.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. N. Francis, A. Green, P. Guagliardo, L. Libkin, T. Lindaaker, V. Marsault, S. Plantikow, M. Rydberg, P. Selmer, and A. Taylor. Cypher: An evolving query language for property graphs. In SIGMOD Conference, pages 1433--1445, 2018.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. G. Gottlob, G. Greco, N. Leone, and F. Scarcello. Hypertree decompositions: Questions and answers. In PODS, pages 57--74, 2016.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. A. S. LaPaugh and R. L. Rivest. The subgraph homeomorphism problem. Journal of Computer and System Sciences, 20(2):133 -- 149, 1980.Google ScholarGoogle ScholarCross RefCross Ref
  13. W. Martens, M. Niewerth, and T. Trautner. A trichotomy for regular trail queries. CoRR, abs/1903.00226, 2019.Google ScholarGoogle Scholar
  14. W. Martens and T. Trautner. Evaluation and enumeration problems for regular path queries. In ICDT, pages 19:1--19:21, 2018.Google ScholarGoogle Scholar
  15. W. Martens and T. Trautner. Dichotomies for evaluating simple regular path queries. ACM Transactions on Database Systems, 2019. Full version of [14], to appear.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. O. Mendelzon and P. T. Wood. Finding regular simple paths in graph databases. SIAM Journal on Computing, 24(6):1235--1258, 1995.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Neo4j. The neo4j developer manual v3.2. https://neo4j.com/docs/developer-manual/3.2/, 2017.Google ScholarGoogle Scholar
  18. Y. Perl and Y. Shiloach. Finding two disjoint paths between two pairs of vertices in a graph. Journal of the ACM, 25(1):1--9, 1978.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. J. Y. Yen. Finding the k shortest loopless paths in a network. Management Science, 17(11):712--716, 1971.Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader