Skip to main content

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1401))

Abstract

The availability of large data sets represented as JSON documents is demanding for powerful tools able to integrate and query them. The J-CO Framework is a research prototype under development at University of Bergamo (Italy), specifically devised to provide practical tools to manage possibly large JSON data sets. Its query language, named J-CO-QL, provides constructs to evaluate the belonging of documents to fuzzy sets, so as to perform soft queries on JSON documents. In this paper, we present a real case study that shows how a novel construct, which enables defining JavaScript functions within J-CO-QL queries, provides users with an even improved possibility to personalize soft operators used to evaluate membership degrees.

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 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.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

Notes

  1. 1.

    Regione Lombardia Open Data Portal - https://www.dati.lombardia.it/.

  2. 2.

    Socrata platform - https://dev.socrata.com/.

  3. 3.

    Haversine formula to calculate distance between two geo-referenced points https://en.wikipedia.org/wiki/Haversine_formula.

  4. 4.

    Regione Lombardia Open Data Portal. Air-quality stations - https://www.dati.lombardia.it/Ambiente/Stazioni-qualit-dell-aria/ib47-atvt.

  5. 5.

    Github repository of the J-CO Framework - https://github.com/zunstraal/J-Co-Project.

References

  1. Blair, D.C.: Information retrieval, 2nd ed. c.j. van rijsbergen. london: Butterworths; 1979: 208 pp. price: $32.50. J. Am. Soc. Inf. Sci. 30(6), 374–375 (1979). https://doi.org/10.1002/asi.4630300621

    Article  Google Scholar 

  2. Bordogna, G., Capelli, S., Ciriello, D.E., Psaila, G.: A cross-analysis framework for multi-source volunteered, crowdsourced, and authoritative geographic information: the case study of volunteered personal traces analysis against transport network data. Geo-spatial Inf. Sci. 21(3), 257–271 (2018)

    Article  Google Scholar 

  3. Bordogna, G., Capelli, S., Psaila, G.: A big geo data query framework to correlate open data with social network geotagged posts. In: The Annual International Conference on Geographic Information Science, pp. 185–203. Springer, Heidelberg (2017). https://doi.org/10.1007/978-3-319-56759-4_11

  4. Bordogna, G., Psaila, G.: Soft aggregation in flexible databases querying based on the vector p-norm. Int. J. Uncertainty Fuzz. Knowl.-Based Syst. 17(supp01), 25–40 (2009)

    Article  Google Scholar 

  5. Bordogna, G., Psaila, G.: Customizable flexible querying in classical relational databases. In: Handbook of Research on Fuzzy Information Processing in Databases, pp. 191–217. IGI Global (2008)

    Google Scholar 

  6. Bosc, P., Prade, H.: An introduction to the fuzzy set and possibility theory-based treatment of flexible queries and uncertain or imprecise databases. In: Uncertainty Management in Information Systems, pp. 285–324. Springer, Heidelberg (1997). https://doi.org/10.1007/978-1-4615-6245-0_10

  7. Bosc, P., Pivert, O.: Sqlf: a relational database language for fuzzy querying. IEEE Trans. Fuzzy Syst. 3(1), 1–17 (1995)

    Article  Google Scholar 

  8. Bray, T.: The javascript object notation (json) data interchange format (2014). https://www.rfc-editor.org/rfc/rfc7159.txt

  9. Colpaert, P., Joye, S., Mechant, P., Mannens, E., Van de Walle, R.: The 5 stars of open data portals. In: Proceedings of the 7th International Conference on Methodologies, Technologies and Tools Enabling E-Government (MeTTeG13), University of Vigo, Spain, pp. 61–67 (2013)

    Google Scholar 

  10. Fosci, P., Psaila, G.: Towards flexible retrieval, integration and analysis of json data sets through fuzzy sets: a case study. Information 12(7), 258 (2021)

    Article  Google Scholar 

  11. Kacprzyk, J., Zadrożny, S.: Fquery for access: fuzzy querying for a windows-based dbms. In: Bosc, P., Kacprzyk, J. (eds), Fuzziness in Database Management Systems. Studies in Fuzziness, vol. 5 (1995)

    Google Scholar 

  12. Kraft, D.H., Petry, F.E.: Fuzzy information systems: managing uncertainty in databases and information retrieval systems. Fuzzy Sets Syst. 90(2), 183–191 (1997)

    Article  Google Scholar 

  13. Medina, J.M., Pons, O., Vila, M.A.: Gefred: a generalized model of fuzzy relational databases. Inf. Sci. 76(1), 87–109 (1994)

    Article  Google Scholar 

  14. Psaila, G., Fosci, P.: Toward an anayist-oriented polystore framework for processing json geo-data. In: International Conferences on Applied Computing 2018, Budapest, Hungary, 21–23 October 2018, pp. 213–222. IADIS (2018)

    Google Scholar 

  15. Psaila, G., Fosci, P.: J-co: a platform-independent framework for managing geo-referenced json data sets. Electronics 10(5), 621 (2021)

    Article  Google Scholar 

  16. Psaila, G., Marrara, S.: A first step towards a fuzzy framework for analyzing collections of json documents. IADIS AC 2019, 19–28 (2019)

    Google Scholar 

  17. Zadeh, L.A.: The concept of a linguistic variable and its application to approximate reasoning–i. Inf. Sci. 8(3), 199–249 (1975)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Giuseppe Psaila .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Fosci, P., Psaila, G. (2022). Powering Soft Querying in J-CO-QL with JavaScript Functions. In: Sanjurjo González, H., Pastor López, I., García Bringas, P., Quintián, H., Corchado, E. (eds) 16th International Conference on Soft Computing Models in Industrial and Environmental Applications (SOCO 2021). SOCO 2021. Advances in Intelligent Systems and Computing, vol 1401. Springer, Cham. https://doi.org/10.1007/978-3-030-87869-6_20

Download citation

Publish with us

Policies and ethics