A Temporal JSON Data Model and Its Query Languages

A Temporal JSON Data Model and Its Query Languages

Ruizhe Ma, Zhangbing Hu, Li Yan
Copyright: © 2022 |Pages: 29
DOI: 10.4018/JDM.299556
OnDemand:
(Individual Articles)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

As a ubiquitous form of data in the natural world, time has been widely used in many domains such as the military, finance, medical treatment, and environment. Temporal data models that are used to model the dynamic development process of data are constantly proposed, such as temporal database and temporal XML. With the rapid development and popularization of the Web, the requirement of dealing with diverse data efficiently is becoming more important. As a new generation of data exchange language, JSON (JavaScript Object Notation) has been widely used because it is lightweight, has fast parsing, and has high transmission efficiency. In this paper, we propose a novel temporal JSON data model. Based on the proposed temporal JSON data model, we further propose two temporal JSON query languages, t-JSONPath, and t-JSONiq, which are the temporal extensions to JSONPath and JSONiq, respectively. With the proposed temporal JSON data model, we demonstrate our temporal JSON query languages with typical temporal query examples and evaluate their query response times.
Article Preview
Top

Introduction

As a new generation of data exchange language, JSON (JavaScript Object Notation) has the advantages of being lightweight, having fast parsing speed, and high transmission efficiency compared with XML (eXtensible Markup Language) (Lin et al., 2012). Nowadays, JSON has been widely used in various application fields. A distributed evolutionary computing system, for example, is designed and implemented in (Merelo-Guervós et al., 2008), which is based on the usability and efficiency of asynchronous JavaScript and JSON to improve the utilization of computing resources in distributed systems. In addition, the JSON network interface is based on its concise grammar format and efficient transmission, which can simplify message communication between heterogeneous systems (e.g., ACT-R and EPIC1). With Big Data's development, NoSQL (not only SQL) databases have been widely studied and applied. The document databases in NoSQL databases (e.g., MongoDB and CouchDB), for example, are designed and implemented based on JSON (Boicea, Radulescu, & Agapin, 2012). Moreover, JSON adopts a language-independent text format, which makes it easier for ones to read and write and at the same time retains the grammatical habits similar to the C programming language. These characteristics have made JSON an ideal data exchange language.

Time widely exists in various practical applications. Typically, data generated by applications are closely associated with time: data may be available or correct at a certain time point or a given time interval (Dyreson et al., 1994). In addition, some historical data need to be recorded. From a philosophical point of view, time is ubiquitous. For example, for Bunge, a state of anything is a list of its properties at a particular moment in time. Hence, every application would require the consideration of time, explicitly or implicitly. Therefore, it is essential to manage temporal data (Nascimento, Sellis, & Cheng, 2015; Claramunt, Schneider, & Wong, 2017; Zheng, Li, & Shim, 2018). A core issue in temporal data management is establishing a temporal data model (Nascimento, Sellis, & Cheng, 2015). Some temporal data models have been proposed for representing the temporal semantics of data. Traditionally, temporal data management is mainly based on temporal relational databases (Tansel and Tin, 1998; Tansel et al., 1993; Chomicki, 1994; Clifford et al., 1995; Clifford, Croker, & Tuzhilin, 1996). With the emergence of new application paradigms and data models, several temporal data models are proposed beyond the temporal relational databases. In the context of the Web, for example, temporal XML models are developed (Wang, Zhou, & Zaniolo, 2004; Rizzolo and Vaisman, 2008; Snodgrass et al., 2008), and temporal RDF (Resource Description Framework) models are proposed (Gutiérrez, Hurtado, & Vaisman, 2007; Wang and Tansel, 2019). Furthermore, to deal with Big Data with time (Cuzzocrea, 2015), temporal NoSQL database models are devised (Hu & Dessloch, 2015).

Complete Article List

Search this Journal:
Reset
Volume 35: 1 Issue (2024)
Volume 34: 3 Issues (2023)
Volume 33: 5 Issues (2022): 4 Released, 1 Forthcoming
Volume 32: 4 Issues (2021)
Volume 31: 4 Issues (2020)
Volume 30: 4 Issues (2019)
Volume 29: 4 Issues (2018)
Volume 28: 4 Issues (2017)
Volume 27: 4 Issues (2016)
Volume 26: 4 Issues (2015)
Volume 25: 4 Issues (2014)
Volume 24: 4 Issues (2013)
Volume 23: 4 Issues (2012)
Volume 22: 4 Issues (2011)
Volume 21: 4 Issues (2010)
Volume 20: 4 Issues (2009)
Volume 19: 4 Issues (2008)
Volume 18: 4 Issues (2007)
Volume 17: 4 Issues (2006)
Volume 16: 4 Issues (2005)
Volume 15: 4 Issues (2004)
Volume 14: 4 Issues (2003)
Volume 13: 4 Issues (2002)
Volume 12: 4 Issues (2001)
Volume 11: 4 Issues (2000)
Volume 10: 4 Issues (1999)
Volume 9: 4 Issues (1998)
Volume 8: 4 Issues (1997)
Volume 7: 4 Issues (1996)
Volume 6: 4 Issues (1995)
Volume 5: 4 Issues (1994)
Volume 4: 4 Issues (1993)
Volume 3: 4 Issues (1992)
Volume 2: 4 Issues (1991)
Volume 1: 2 Issues (1990)
View Complete Journal Contents Listing