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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Regione Lombardia Open Data Portal - https://www.dati.lombardia.it/.
- 2.
Socrata platform - https://dev.socrata.com/.
- 3.
Haversine formula to calculate distance between two geo-referenced points https://en.wikipedia.org/wiki/Haversine_formula.
- 4.
Regione Lombardia Open Data Portal. Air-quality stations - https://www.dati.lombardia.it/Ambiente/Stazioni-qualit-dell-aria/ib47-atvt.
- 5.
Github repository of the J-CO Framework - https://github.com/zunstraal/J-Co-Project.
References
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
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)
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
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)
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)
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
Bosc, P., Pivert, O.: Sqlf: a relational database language for fuzzy querying. IEEE Trans. Fuzzy Syst. 3(1), 1–17 (1995)
Bray, T.: The javascript object notation (json) data interchange format (2014). https://www.rfc-editor.org/rfc/rfc7159.txt
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)
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)
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)
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)
Medina, J.M., Pons, O., Vila, M.A.: Gefred: a generalized model of fuzzy relational databases. Inf. Sci. 76(1), 87–109 (1994)
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)
Psaila, G., Fosci, P.: J-co: a platform-independent framework for managing geo-referenced json data sets. Electronics 10(5), 621 (2021)
Psaila, G., Marrara, S.: A first step towards a fuzzy framework for analyzing collections of json documents. IADIS AC 2019, 19–28 (2019)
Zadeh, L.A.: The concept of a linguistic variable and its application to approximate reasoning–i. Inf. Sci. 8(3), 199–249 (1975)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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
DOI: https://doi.org/10.1007/978-3-030-87869-6_20
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-87868-9
Online ISBN: 978-3-030-87869-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)