Skip to main content

Abstract

We have recently designed a fuzzy extension of the XPath language which provides ranked answers to flexible queries taking profit of fuzzy variants of and, or and avg operators for XPath conditions, as well as two structural constraints, called down and deep, for which a certain degree of relevance is associated. In this work, we describe how to implement the proposed fuzzy XPath with the XQuery language. Basically, we have defined an XQuery library able to fuzzily handle XPath expressions in such a way that our proposed fuzzy XPath can be encoded as XQuery expressions. The advantages of our approach is that any XQuery processor can handle a fuzzy version of XPath by using the library we have implemented.

This work was supported by the EU (FEDER), and the Spanish MINECO Ministry (Ministerio de Economía y Competitividad) under grants TIN2013-45732-C4-2-P and TIN2013-44742-C4-4-R, as well as by the Andalusian Regional Government (Spain) under Project P10-TIC-6114.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Almendros-Jiménez, J.M., Luna, A., Moreno, G.: Fuzzy Logic Programming for Implementing a Flexible XPath-based Query Language. Electr. Notes Theor. Comput. Sci. 282, 3–18 (2012)

    Article  Google Scholar 

  2. Almendros-Jiménez, J.M., Luna, A., Moreno, G.: A Flexible XPath-based Query Language Implemented with Fuzzy Logic Programming. In: Bassiliades, N., Governatori, G., Paschke, A. (eds.) RuleML 2011 - Europe. LNCS, vol. 6826, pp. 186–193. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  3. Almendros-Jiménez, J.M., Luna, A., Moreno, G.: A XPath Debugger Based on Fuzzy Chance Degrees. In: Herrero, P., Panetto, H., Meersman, R., Dillon, T. (eds.) OTM-WS 2012. LNCS, vol. 7567, pp. 669–672. Springer, Heidelberg (2012)

    Google Scholar 

  4. Almendros-Jiménez, J.M., Luna, A., Moreno, G.: Annotating “Fuzzy Chance Degrees” when Debugging Xpath Queries. In: Rojas, I., Joya, G., Cabestany, J. (eds.) IWANN 2013, Part II. LNCS, vol. 7903, pp. 300–311. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  5. Almendros-Jiménez, J.M., Luna, A., Moreno, G.: Dynamic Filtering of Ranked Answers When Evaluating Fuzzy XPath Queries. In: Cornelis, C., Kryszkiewicz, M., Ślęzak, D., Ruiz, E.M., Bello, R., Shang, L. (eds.) RSCTC 2014. LNCS, vol. 8536, pp. 319–330. Springer, Heidelberg (2014)

    Chapter  Google Scholar 

  6. Berglund, A., Boag, S., Chamberlin, D., Fernandez, M., Kay, M., Robie, J., Siméon, J.: XML path language (XPath) 2.0. W3C (2007)

    Google Scholar 

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

    Article  Google Scholar 

  8. Damiani, E., Marrara, S., Pasi, G.: FuzzyXPath: Using fuzzy logic and IR features to approximately query XML documents. In: Melin, P., Castillo, O., Aguilar, L.T., Kacprzyk, J., Pedrycz, W. (eds.) IFSA 2007. LNCS (LNAI), vol. 4529, pp. 199–208. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  9. Fazzinga, B., Flesca, S., Furfaro, F.: On the expressiveness of generalization rules for XPath query relaxation. In: Proceedings of the Fourteenth International Database Engineering & Applications Symposium, pp. 157–168. ACM (2010)

    Google Scholar 

  10. Fazzinga, B., Flesca, S., Pugliese, A.: Top-k Answers to Fuzzy XPath Queries. In: Bhowmick, S.S., Küng, J., Wagner, R. (eds.) DEXA 2009. LNCS, vol. 5690, pp. 822–829. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  11. Fazzinga, B., Flesca, S., Furfaro, F.: Xpath query relaxation through rewriting rules. IEEE Transactions on Knowledge and Data Engineering 23(10), 1583–1600 (2011)

    Article  Google Scholar 

  12. Goncalves, M., Tineo, L.: Fuzzy XQuery. In: Ma, Z., Yan, L. (eds.) Soft Computing in XML Data Management. STUDFUZZ, vol. 255, pp. 133–163. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  13. Grün, C.: BaseX. The XML Database (2014), http://basex.org

  14. Kay, M.: Ten reasons why saxon xquery is fast. IEEE Data Eng. Bull. 31(4), 65–74 (2008)

    MathSciNet  Google Scholar 

  15. Meier, W.: eXist: An open source native XML database. In: Chaudhri, A.B., Jeckle, M., Rahm, E., Unland, R. (eds.) NODe-WS 2002. LNCS, vol. 2593, pp. 169–183. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  16. Morcillo, P.J., Moreno, G.: Programming with Fuzzy Logic Rules by using the FLOPER Tool. In: Bassiliades, N., Governatori, G., Paschke, A. (eds.) RuleML 2008. LNCS, vol. 5321, pp. 119–126. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  17. Morcillo, P.J., Moreno, G., Penabad, J., Vázquez, C.: A Practical Management of Fuzzy Truth Degrees using FLOPER. In: Dean, M., Hall, J., Rotolo, A., Tabet, S. (eds.) RuleML 2010. LNCS, vol. 6403, pp. 20–34. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  18. Ueng, P., Skrbic, S.: Implementing xquery fuzzy extensions using a native xml database. In: 2012 IEEE 13th International Symposium on Computational Intelligence and Informatics (CINTI), pp. 305–309. IEEE (2012)

    Google Scholar 

  19. Üstünkaya, E., Yazici, A., George, R.: Fuzzy data representation and querying in xml database. International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems 15(suppl. 01), 43–57 (2007)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Almendros-Jiménez, J.M., Luna, A., Moreno, G. (2014). Fuzzy XPath Queries in XQuery. In: Meersman, R., et al. On the Move to Meaningful Internet Systems: OTM 2014 Conferences. OTM 2014. Lecture Notes in Computer Science, vol 8841. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-45563-0_27

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-45563-0_27

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-45562-3

  • Online ISBN: 978-3-662-45563-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics