A GPFCSP-Based Fuzzy XQuery Interpreter

Pannipa Sae Ueng, Srđan Škrbić, Supaporn Kansomkeat, Apirada Thadadech


Nowadays XQuery has become the strongest standard for querying XML data. However, most of the real world information is in the form of imprecise, vague, ambiguous, uncertain and incomplete values. That is why there is a need for a flexible query language in which users can formulate queries that arise from their own criteria. In this paper, we propose an implementation of the Fuzzy XQuery - an extension of the XQuery query language based on the fuzzy set theory. In particular, we provide priority, threshold and fuzzy expressions for handling flexible queries. In addition, we have implemented an interpreter for this language by using the GPFCSP concept in Java and eXist-db environment.


Fuzzy XQuery; XQuery Interpreter; XML Database; Fuzzy Set Theory.

Full Text:



Škrbić, S., Racković, M. and Takaši, A. 2013. Prioritized fuzzy logic based information processing in relational databases. Knowledge Based Systems. 38:62–73.

Škrbić, S., Racković, M. 2013. Fuzzy Databases. Novi Sad, Serbia: Faculty of Sciences.

Škrbić, S. and Racković, M. 2009. Pfsql: a fuzzy sql language with priorities. The 4th International Conference on Engineering

Technologies (ICET), 2009 Novi Sad, Serbia. 28-30 April 2009. 119–125.

Campi, A., Damiani, E., Guinea, S., Marrara, S., Pasi, G., and Spoletini, P. 2009. A fuzzy extension of the XPath query language. Journal of Intelligent Information Systems. 33:285–305.

Goncalves, M. and Tineo, L. 2010. Fuzzy XQuery. In Soft Computing in XML Data Management. Series Studies in Fuzziness and Soft Computing. Ma, Z. and Yan, L. (ed.) Springer Berlin/Heidelberg. 255:133–163.

Fredrick, E. T. and Radhamani, G. 2009. Fuzzy logic based XQuery operations for native XML database systems. International Journal Database Theory and Application. 2:13–20.

Fredrick, E. T. and Radhamani, G. 2010. A GUI based tool for generating XQuery and fuzzy XQuery. International Journal of Computer Applications Database Theory and Application. 1:54–58.

Fredrick, E. T. and Radhamani, G. 2011. Information retrieval using XQuery processing techniques. International Journal of Database Management Systems (IJDMS). 3:50–58. Feb, 2011.

Fredrick, E. T. and Radhamani, G. 2012. Fuzzy integrity constraints for native xml database. International Journal of Computer Science (IJCSI). 9:50–58. Mar, 2012.

Panić, G., Škrbić, S. and Racković, M. 2014. Fuzzy xml and prioritized fuzzy xquery with implementation. Journal of Intelligent and Fuzzy Systems. 26:303–316.

Sukpisit, S., Kansomkeat, S., Thadadech, A., Ueng, P. S. and Škrbić, S. 2015. Polygon intersection based algorithm for fuzzy set compatibility calculations. 2015 International Conference on Information Technology (ICIT), 2015. Singapore. 2-3 Feb. 2015. 241–248.

Bodenhofer, U. 2008. Orderings of fuzzy sets based on fuzzy orderings part i: The basic approach. Mathware Soft Computing. 15:201–218.

Kansomkeat, S., Sukpisit, S., Thadadech, A., Ueng, P. S. and Škrbić, S. 2015. Fuzzy ordering implementation applied in fuzzy XQuery. 5th International Conference on Information Society and Technology (ICIST), 2015. Kopaonik, Serbia. 8-11 March 2015. 443–448.

Thadadech, A., Kansomkeat, S., Vonghirandecha, P. and Škrbić, S. 2015. A Fuzzy XML Database System. Final report of collaborative research. Prince of Songkla University, Thailand.

eXistdb project. 2014. eXistdb. [Online]. From: http://existdb.org/exist/apps/homepage/index.html. [Accessed on July 2015].

Parr, T. 2012. ANTLR v3. [Online]. From: http://www.antlr3.org.[Accessed on 10 June 2015.


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.

ISSN: 2180-1843

eISSN: 2289-8131