ActiveXQBE: A Visual Paradigm for Triggers over XML Data

  • Daniele Braga
  • Alessandro Campi
  • Davide Martinenghi
  • Alessandro Raffio
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4254)


While XQuery is becoming a standard, the W3C is currently discussing the features of an update language for XML, and its requirements. Therefore, time is ripe for designing and defining the language features and extensions that are usually needed when updates are supported: reaction policies to constraint violations, business rules, and more. In the past years, several languages have been proposed for updates as well as for triggers in XML, such as XUpdate and Active XQuery.

In this paper, we propose a visual approach to the formulation of active rules building on XQBE, a graphical query language for XML data. Our approach is motivated by the need to provide unskilled users with the ability to express business rules in an intuitive fashion. Visual triggers are then translated into statements that can be interpreted by query engines.


Integrity Constraint Active Rule Business Rule Semistructured Data Relevant Node 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Abiteboul, S., McHugh, J., Rys, M., Vassalos, V., Wiener, J.L.: Incremental maintenance for materialized views over semistructured data. In: VLDB, pp. 38–49 (1998)Google Scholar
  2. 2.
    Bailey, J., Poulovassilis, A., Wood, P.T.: Analysis and optimisation of event-condition-action rules on XML. Computer Networks 39(3), 239–259 (2002)CrossRefGoogle Scholar
  3. 3.
    Benedikt, M., Bruns, G., Gibson, J., Kuss, R., Ng, A.: Automated Update Management for XML Integrity Constraints. In: PLAN-X (2002)Google Scholar
  4. 4.
    Bonifati, A., Braga, D., Campi, A., Ceri, S.: Active xquery. In: Proc. of the 18th ICDE. IEEE Computer Society Press, San José (2002)Google Scholar
  5. 5.
    Braga, D., Campi, A., Ceri, S.: XQBE (XQuery By Example): a visual interface to the standard XML query language. ACM TODS 30(2), 398–443 (2005)CrossRefGoogle Scholar
  6. 6.
    Bry, F., Marchiori, M.: Ten theses on logic languages for the semantic web. In: W3C WS on Rule Languages for Interoperability, W3C (2005)Google Scholar
  7. 7.
    Bry, F., Patranjan, P.-L.: Reactivity on the web: paradigms and applications of the language xchange. In: SAC, pp. 1645–1649 (2005)Google Scholar
  8. 8.
    Buchmann, A.P., Branding, H., Kudrass, T., Zimmermann, J.: Reach: A real-time, active and heterogeneous mediator system. IEEE Data Eng. Bull. 15(1-4), 44–47 (1992)Google Scholar
  9. 9.
    Ceri, S., Cochrane, R.J., Widom, J.: Practical applications of triggers and constraints: Successes and lingering issues. In: VLDB, pp. 254–262 (2000)Google Scholar
  10. 10.
    Chakravarthy, S., Anwar, E., Maugis, L.: Design and implementation of active capability for an object-oriented database. Technical report, Univ. Florida (1993)Google Scholar
  11. 11.
    Comai, S., Damiani, E., Fraternali, P.: Computing graphical queries over xml data. ACM TOIS 19(4), 371–430 (2001)CrossRefGoogle Scholar
  12. 12.
    Consens, M.P., Mendelzon, A.O.: The g+/graphlog visual query system. In: Proc. of the 1990 ACM SIGMOD, Atlantic City, NJ, May 23-25, p. 388 (1990)Google Scholar
  13. 13.
    Cruz, I.F., Mendelzon, A.O., Wood, P.T.: A graphical query language supporting recursion. In: Proc. of the ACM SIGMOD, pp. 323–330 (1987)Google Scholar
  14. 14.
    Cruz, I.F., Mendelzon, A.O., Wood, P.T.: G+: Recursive queries without recursion. In: 2nd Int. Conf. on Expert Database Systems, pp. 355–368 (1988)Google Scholar
  15. 15.
    Dayal, U., Buchmann, A.P., Chakravarthy, S.: The HiPAC Project. In: Active Database Systems, pp. 177–205. Morgan Kaufmann, San Francisco (1996)Google Scholar
  16. 16.
    Laux, A., Matin, L.: XUpdate working draft. Technical report (October 2000),
  17. 17.
    Paredaens, J., Van den Bussche, J., Andries, M., Gemis, M., Gyssens, M., Thyssens, I., Van Gucht, D., Sarathy, V., Saxton, L.V.: An Overview of GOOD. SIGMOD Record 21(1), 25–31 (1992)CrossRefGoogle Scholar
  18. 18.
    Paredaens, J., Peelman, P., Tanca, L.: G-log a declarative graph-based language. IEEE Trans. on Knowledge and Data Eng. 7(3), 436–453 (1995)CrossRefGoogle Scholar
  19. 19.
    Sur, G., Hammer, J., Siméon, J.: UpdateX - An XQuery-Based Language for Processing Updates in XML. In: PLAN-X 2004, pp. 40–53 (2004)Google Scholar
  20. 20.
    Tatarinov, I., Ives, Z.G., Halevy, A.Y., Weld, D.S.: Updating XML. In: ACM SIGMOD, pp. 413–424 (2001)Google Scholar
  21. 21.
    Widom, J.: The starburst active database rule system. IEEE TKDE (4), 583–595 (1996)Google Scholar
  22. 22.
    Zloof, M.M.: Query-by-example: A data base language. IBM Systems Journal 16(4), 324–343 (1977)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Daniele Braga
    • 1
  • Alessandro Campi
    • 1
  • Davide Martinenghi
    • 2
  • Alessandro Raffio
    • 1
  1. 1.Dip. di Elettronica e InformazionePolitecnico di MilanoMilanoItaly
  2. 2.Faculty of Computer ScienceFree University of Bozen/BolzanoBolzanoItaly

Personalised recommendations