constraints.
An approach in which an ontology with a database
is exploited to capture semantics for the query trans-
formation process is proposed by (Necib and Freytag,
2005). A set of rewriting rules relying on seman-
tic information extracted from the ontology associ-
ated with the database are developed. This approach
allows to rewrite a query into another one which is
not necessary equivalent but can provide more mean-
ingful result satisfying the user’s intention while our
approach aims at providing a semantically equivalent
query. This approach can only be applied in a single
database while ours can be used in a data integration
system.
7 CONCLUSIONS
In this paper we present a semantic query optimizer
for XML-based data integration systems. Constraints
from different data sources are translated into con-
straints expressed in global schema through con-
straint wrapper and stored in the constraint reposi-
tory. Global constraints can be defined and stored too.
Queries submitted by the users will be optimized se-
mantically in the semantic query optimizer using con-
straints in the constraint repository. We implement
three semantic query optimization techniques: detec-
tion of empty results, join elimination, and predicate
elimination. We carry out experiments to test the per-
formance. The results are very promising. We ana-
lyze the performance issues and conclude that the se-
mantic query optimizer works best when the underly-
ing data sources are mixed, i.e., not purely relational
DBMSs, and when the data volume is large, as typi-
cally is the case in real world scenarios.
REFERENCES
Abiteboul, S., Segoufin, L., and Vianu, V. (2001). Rep-
resenting and querying xml with incomplete informa-
tion. In Proceedings of the Twentieth ACM Symposium
on Principles of Database Systems. ACM Press.
BEA-Systems-Inc (2003). Bea liquiddata for we-
blogic, building queries and data views. In
http://edocs.bea.com/liquiddata/docs81/
querybld/index.html.
Beneventano, D., Bergamaschi, S., and Mandreoli, F.
(2001). Extensional knowledge for semantic query
optimization in a mediator based system. In Interna-
tional Workshop on Foundations of Models for Infor-
mation Integration.
Carey, M., Florescu, D., Ives, Z., Lu, Y., Shanmugasun-
daram, J., Shekita, E., and Subramanian, S. (2000).
Xperanto: Publishing object-relational data as xml. In
Proceedings of the Third International Workshop on
the Web and Databases (WebDB).
Carey, M. and the BEA AquaLogic Team (2006). Data de-
livery in a service-oriented world: The bea aqualogic
data services platform. In Proc. of ACM SIGMOD
Conf. on Management of Data. ACM Press.
Chakravarthy, U., Grant, J., and Minker, J. (1990). Logic-
based approach to semantic query optimization. In
ACM Transactions on Database Systems (TODS).
ACM Press.
Cheng, Q., Gryz, J., Koo, F., Leung, T. Y. C., Liu, L., Qian,
X., and Schiefer, K. B. (1999). Implementation of two
semantic query optimization techniques in db2 univer-
sal database. In Proceedings of the 25th International
Conference on Very Large Data Bases.
Fernandez, M., Tan, W., and Suciu, D. (2000). Silkroute:
Trading between relations and xml. In 9th Interna-
tional World Wide Web Conference.
Hsu, C. and Knoblock, C. A. (2000). Semantic query
optimization for query plans of heterogeneous multi-
database system. In IEEE Transactions on Knowledge
and Data Engineering, VOL. 12, NO. 6. IEEE Press.
Huhns, M. and Singh, M. (2005). Service-oriented comput-
ing: Key concepts and principles. In IEEE Internet
Computing, 1(9). IEEE Press.
Lu, J. and Mitschang, B. (2007). Dis-cs: Improving enter-
prise data integration by constraint service. In ISCA
20th International Conference on Computer Applica-
tions in Industry and Engineering (CAINE 07).
Necib, C. B. and Freytag, J. C. (2005). Semantic query
transformation using ontologies. In 9th International
Database Engineering and Application Symposium
(IDEAS 2005). IEEE Press.
Ouzzani, M. and Bouguettaya, A. (2004). Query process-
ing and optimization on the web. In Distributed and
Parallel Databases. Kluwer Academic.
Papakonstantinou, Y. and Vassalos, V. (2002). Architecture
and implementation of an xquery-based information
integration platform. In Bulletin of the IEEE Com-
puter Society Technical Committee on Data Engineer-
ing, vol. (25). IEEE Press.
Shenoy, S. T. and Ozsoyoglu, Z. M. (1989). Design and im-
plementation of a semantic query optimizer. In IEEE
Transactions on Knowledge and Data Engineering.
Vol 1, No 3. IEEE Press.
Software-AG (2006). Number one in xml management:
Tamino xml server. In Technical Factsheet.
The-Apache-Software-Foundation (2006). Apache tomcat
6.0. In http://tomcat.apache.org.
WEBIST 2008 - International Conference on Web Information Systems and Technologies
92