Journal of Applied Computer Science & Mathematics (Mar 2014)

An Algorithm Reformulation of XQuery Queries Using GLAV Mapping for Mediator-based System

  • Benharzallah SABER,
  • Kazar OKBA

Journal volume & issue
Vol. 8, no. 16
pp. 20 – 26

Abstract

Read online

This paper describes an algorithm for reformulation of XQuery queries. The mediation is based on an essential component called mediator. The main role of the mediator is to reformulate a user query, written in terms of global schema, in queries written in terms of sources schemas. Our algorithm is based on the principle of logical equivalence, simple and complex unification, to obtain a better reformulation. It takes as parameter the query XQuery, the global schema (written in XMLSchema), mappings GLAV and gives as a result a query written in terms of sources schemas. The results of implementation show the proper functioning of the algorithm.

Keywords