An Intermediate Representation for Rewriting Cypher Queries

被引:0
|
作者
Hofer, Daniel [1 ,2 ]
Mohamed, Aya [1 ,2 ]
Nadschlaeger, Stefan [1 ]
Auer, Dagmar [1 ,2 ]
机构
[1] Johannes Kepler Univ JKU Linz, Inst Applicat Oriented Knowledge Proc FAW, Linz, Austria
[2] Johannes Kepler Univ JKU Linz, Linz Inst Technol LIT, LIT Secure & Correct Syst Lab, Linz, Austria
关键词
Abstract Syntax Tree (AST); Query Rewriting; Cypher;
D O I
10.1007/978-3-031-39689-2_9
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Some of the current graph database systems provide built-in authorization and access control features. However, many authorization requirements demand for more sophisticated access control such as fine-grained, attribute-based access control (ABAC). Therefore, we decided for a query rewriting approach to enforce these authorizations. We propose an intermediate representation for the semantics of the query. Based on the Cypher grammar, we build an abstract syntax tree (AST) of the query to be extended (i.e., rewritten). We consider a universal class hierarchy for our AST nodes based on the composite pattern, while the semantics of the nodes is introduced via data components. This provides flexibility with respect to the supported kinds of permissions and complexity of the Cypher queries. Our concept and prototypical implementation rely on ANTLR (ANother Tool for Language Recognition), which generates a parser based on the Cypher grammar to create and traverse concrete syntax trees.
引用
收藏
页码:86 / 90
页数:5
相关论文
共 50 条
  • [41] Query Rewriting on Aggregate Queries over Uncertain Database
    Xie, Dong
    Long, Hai
    2010 SECOND INTERNATIONAL CONFERENCE ON E-LEARNING, E-BUSINESS, ENTERPRISE INFORMATION SYSTEMS, AND E-GOVERNMENT (EEEE 2010), VOL I, 2010, : 368 - 371
  • [42] Rewriting Queries for Web Searches That Use Local Expressions
    Gruetter, Rolf
    Helming, Iris
    Speich, Simon
    Bernstein, Abraham
    RULE-BASED REASONING, PROGRAMMING, AND APPLICATIONS, 2011, 6826 : 345 - +
  • [43] Rewriting unions of general conjunctive queries using views
    Wang, JH
    Maher, M
    Topor, R
    ADVANCES IN DATABASE TECHNOLOGY - EDBT 2002, 2002, 2287 : 52 - 69
  • [44] Object oriented mechanisms to rewriting queries using views
    Seriai, A
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2003, 2736 : 672 - 682
  • [45] Rewriting XPath queries using materialized XPath views
    Ramanan, Prakash
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2012, 78 (04) : 1006 - 1025
  • [46] Rewriting-based optimization for XQuery transformational queries
    Grinev, M
    Pleshachkov, P
    9th International Database Engineering & Application Symposium, Proceedings, 2005, : 163 - 174
  • [47] Fuzzy Queries over NoSQL Graph Databases: Perspectives for Extending the Cypher Language
    Castelltort, Arnaud
    Laurent, Anne
    INFORMATION PROCESSING AND MANAGEMENT OF UNCERTAINTY IN KNOWLEDGE-BASED SYSTEMS, PT III, 2014, 444 : 384 - 395
  • [48] A Concise Representation of Range Queries
    Yi, Ke
    Lian, Xiang
    Li, Feifei
    Chen, Lei
    ICDE: 2009 IEEE 25TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2009, : 1179 - +
  • [49] A compact representation of preference queries
    Abou Assi, Rawad
    Kaci, Souhila
    2007 IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS, VOLS 1-4, 2007, : 1519 - 1524
  • [50] Calderon: text, rewriting, meaning and representation
    Kroll, Simon
    REVISTA DE LITERATURA, 2016, 78 (156) : 645 - 647