Types for path correctness of XML queries

被引:19
作者
Colazzo, D [1 ]
Ghelli, G [1 ]
Manghi, P [1 ]
Sartiani, C [1 ]
机构
[1] Univ Pisa, Dipartimento Informat, Pisa, Italy
关键词
languages; theory; algorithms; verification; type correctness; XML queries; XML types;
D O I
10.1145/1016848.1016869
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
If a subexpression in a query will never contribute data to the query answer, this should be regarded as an error. This principle has been recently accepted into mainstream XML query languages, but was still waiting for a complete treatment. We provide here a precise definition for this class of errors, and define a type system that is sound and complete, in its search for such errors, for a core language, under mild restrictions on the use of recursion in type definitions. In the process, we describe a dichotomy among existential and universal type systems, which is useful to understand some unusual features of our type system.
引用
收藏
页码:126 / 137
页数:12
相关论文
共 37 条
  • [1] Answering XML queries by means of data summaries
    Baralis, Elena
    Garza, Paolo
    Quintarelli, Elisa
    Tanca, Letizia
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2007, 25 (03)
  • [2] Capturing Continuous Data and Answering Aggregate Queries in Probabilistic XML
    Abiteboul, Serge
    Chan, T. -H. Hubert
    Kharlamov, Evgeny
    Nutt, Werner
    Senellart, Pierre
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2011, 36 (04):
  • [3] Expressive Languages for Path Queries over Graph-Structured Data
    Barcelo, Pablo
    Libkin, Leonid
    Lin, Anthony W.
    Wood, Peter T.
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2012, 37 (04):
  • [4] Path Minima Queries in Dynamic Weighted Trees
    Brodal, Gerth Stolting
    Davoodi, Pooya
    Rao, S. Srinivasa
    ALGORITHMS AND DATA STRUCTURES, 2011, 6844 : 290 - +
  • [5] Shortest-Path Queries in Static Networks
    Sommer, Christian
    ACM COMPUTING SURVEYS, 2014, 46 (04)
  • [6] Queries on XmL streams with bounded delay and concurrency
    Gauwin, Olivier
    Niehren, Joachim
    Tison, Sophie
    INFORMATION AND COMPUTATION, 2011, 209 (03) : 409 - 442
  • [7] Computing graphical queries over XML data
    Comai, S
    Damiani, E
    Fraternali, P
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2001, 19 (04) : 371 - 430
  • [8] MODULAR PATH QUERIES WITH ARITHMETIC
    Michaliszyn, Jakub
    Otop, Jan
    Wieczorek, Piotr
    LOGICAL METHODS IN COMPUTER SCIENCE, 2020, 17 (03) : 27:1 - 27:36
  • [9] Write it recursively: A generic framework for optimal path queries
    Morihata, Akimasa
    Matsuzaki, Kiminori
    Takeichi, Masato
    ACM SIGPLAN NOTICES, 2008, 43 (09) : 169 - 178
  • [10] Parametric regular path queries
    Liu, YHA
    Rothamel, T
    Yu, FX
    Stoller, SD
    Hu, NJ
    ACM SIGPLAN NOTICES, 2004, 39 (06) : 219 - 230