Abstract
Web query languages promise convenient and efficient access to Web data such as XML, RDF, or Topic Maps. Xcerpt is one such Web query language with strong emphasis on novel high-level constructs for effective and convenient query authoring, particularly tailored to versatile access to data in different Web formats such as XML or RDF. However, so far it lacks an efficient implementation to supplement the convenient language features. AMa χ oS is an abstract machine implementation for Xcerpt that aims at efficiency and ease of deployment. It strictly separates compilation and execution of queries: Queries are compiled once to abstract machine code that consists in (1) a code segment with instructions for evaluating each rule and (2) a hint segment that provides the abstract machine with optimization hints derived by the query compilation. This article summarizes the motivation and principles behind AMa χ oS and discusses how its current architecture realizes these principles.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Abadi, D.J., Carney, D., Çetintemel, U., et al.: Aurora: a New Model and Architecture for Data Stream Management. VLDB Journal 12(2), 120–139 (2003)
Avnur, R., Hellerstein, J.M.: Eddies: Continuously Adaptive Query Processing. In: Proc. ACM SIGMOD, pp. 261–272 (2000)
Babu, S., Widom, J.: Continuous Queries over Data Streams. SIGMOD Record 30(3), 109–120 (2001)
Berger, S., Bry, F., Furche, T., et al.: Beyond XML and RDF: The Versatile Web Query Language Xcerpt. In: Proc. Int’l. Conf. on World Wide Web (2006)
Bruno, N., Koudas, N., Srivastava, D.: Holistic Twig Joins: Optimal XML Pattern Matching. In: Proc. ACM SIGMOD, pp. 310–321 (2002)
Bry, F., Coskun, F., Durmaz, S., Furche, T., Olteanu, D., Spannagel, M.: The XML Stream Query Processor SPEX. In: Proc. ICDE (2005)
Bry, F., Furche, T., et al.: Querying the Web Reconsidered: Design Principles for Versatile Web Query Languages. J. of Semantic Web and Inf. Sys. 1(2) (2005)
Bry, F., Schroeder, A., Furche, T., Linse, B.: Efficient Evaluation of n-ary Queries over Trees and Graphs (submitted for publication, 2006)
Bugnion, E., Devine, S., Govil, K., Rosenblum, M.: Disco: Running Commodity Operating Systems on Scalable Multiprocessors. ACM TOCS 15(4), 412–447 (1997)
Davis, B., Beatty, A., Casey, K., et al.: The Case for Virtual Register Machines. In: Proc. Workshop on Interpreters, Virtual Machines and Emulators, pp. 41–49 (2003)
Garfinkel, T., Pfaff, B., Chow, J., et al.: Terra: a Virtual Machine-based Platform for Trusted Computing. In: Proc. of ACM S. on Op. Sys. Princ., pp. 193–206 (2003)
Goldberg, R.P.: Survey of Virtual Machine Research. Computer 7(6), 34–45 (1974)
Gottlob, G., Koch, C., Schulz, K.U.: Conjunctive Queries over Trees. J. of the ACM 53(2) (2006)
Groves, L.J., Rogers, W.J.: The Design of a Virtual Machine for Ada. In: Proc. ACM Symposium on Ada Programming Language, pp. 223–234 (1980)
ISO/IEC. 23271, Common Language Infrastructure (CLI). Int’l. Standard (2003)
Johnsson, T.: Efficient Compilation of Lazy Evaluation. SIGPLAN N., 19(6) (1984)
Lindholm, T., Yellin, F.: The Java Virtual Machine Specification, 2nd edn. Addison-Wesley Professional, Reading (1999)
Malhotra, A., Melton, J., Walsh, N.: XQuery 1.0 and XPath 2.0 Functions and Operators. Working draft, W3C (2005)
Novoselsky, A.: The Oracle XSLT Virtual Machine. In: XTech 2005 (2005)
Olteanu, D., Meuss, H., Furche, T., Bry, F.: XPath: Looking Forward. In: Chaudhri, A.B., Unland, R., Djeraba, C., Lindner, W. (eds.) EDBT 2002. LNCS, vol. 2490, pp. 109–127. Springer, Heidelberg (2002)
O’Neil, P., O’Neil, E., Pal, S., et al.: ORDPATHs: Insert-friendly XML Node Labels. In: Proc. ACM SIGMOD, pp. 903–908 (2004)
Overheu, D.L.: An Abstract Machine for Symbolic Computation. J. of the ACM 13(3), 444–468 (1966)
Pemberton, S., Daniels, M.: Pascal Implementation: The P4 Compiler and Interpreter. Ellis Horwood (1982)
Randell, B., Russell, L.J.: ALGOL 60 Implementation. Academic Press, London (1964)
Rosenblum, M.: The Reincarnation of Virtual Machines. Queue 2(5), 34–40 (2004)
Sagonas, K., Swift, T.: An Abstract Machine for Tabled Execution of Fixed-order Stratified Logic Programs. ACM TOPLAS 20(3) (1998)
Schaffert, S.: Xcerpt: A Rule-Based Query and Transformation Language for the Web. Dissertation/Ph.D. thesis, University of Munich (2004)
Schaffert, S., Bry, F.: Querying the Web Reconsidered: A Practical Introduction to Xcerpt. In: Proc. Extreme Markup Languages (2004)
Shi, Y., Gregg, D., Beatty, A., Ertl, M.A.: Virtual Machine Showdown: Stack versus Registers. In: Proc. Int. Conf. on Virtual Execution Env.s, pp. 153–163 (2005)
Warren, D.H.D.: An Abstract Prolog Instruction Set. Note 309, SRI Int’l. (1983)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bry, F., Furche, T., Linse, B. (2006). AMa χ oS—Abstract Machine for Xcerpt: Architecture and Principles. In: Alferes, J.J., Bailey, J., May, W., Schwertel, U. (eds) Principles and Practice of Semantic Web Reasoning. PPSWR 2006. Lecture Notes in Computer Science, vol 4187. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11853107_8
Download citation
DOI: https://doi.org/10.1007/11853107_8
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-39586-7
Online ISBN: 978-3-540-39587-4
eBook Packages: Computer ScienceComputer Science (R0)