JEDI: These aren't the JSON documents you're looking for...

Thomas Hütter, Nikolaus Augsten, Christoph Kirsch, Michael J Carey, Chen Li

Publikation: KonferenzbeitragPaperPeer-reviewed

Abstract

The JavaScript Object Notation (JSON) is a popular data format used in document stores to natively support semi-structured data. In this paper, we address the problem of JSON similarity lookup queries: given a query document and a distance threshold τ, retrieve all documents that are within τ from the query document. Different from other hierarchical formats such as XML, JSON supports both ordered and unordered sibling collections within a single document which poses a new challenge to the tree model and distance computation. We propose JSON tree, a lossless tree representation of JSON documents, and define the JSON Edit Distance (JEDI), the first edit-based distance measure for JSON. We develop QuickJEDI, an algorithm that computes JEDI by leveraging a new technique to prune expensive sibling matchings. It outperforms a baseline algorithm by an order of magnitude in runtime. To boost the performance of JSON similarity queries, we introduce an index called JSIM and an effective upper bound based on tree sorting. Our upper bound algorithm runs in O(nτ) time and O(n+τ log n) space, which substantially improves the previous best bound of O(n2) time and O(n log n) space (where n is the tree size). Our experimental evaluation shows that our solution scales to databases with millions of documents and JSON trees with tens of thousands of nodes.

OriginalspracheEnglisch
Seiten1584-1597
Seitenumfang14
DOIs
PublikationsstatusVeröffentlicht - 10 Juni 2022
VeranstaltungACM SIGMOD International Conference on Management of Data - Philadelphia, USA/Vereinigte Staaten
Dauer: 12 Juni 202217 Juni 2022
https://2022.sigmod.org

Konferenz

KonferenzACM SIGMOD International Conference on Management of Data
Land/GebietUSA/Vereinigte Staaten
OrtPhiladelphia
Zeitraum12/06/2217/06/22
Internetadresse

Bibliographische Notiz

Funding Information:
We thank Wail Alkowaileet, Daniel Kocher, Mateusz Pawlik, and Zhihui Yang for valuable discussions. This work was supported by the Austrian Marshall Plan Foundation, the Austrian Science Fund (FWF): P 29859 and P 34962, the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program, under grant agreement No. 695412, and the Czech Ministry of Education, Youth and Sports from the Czech Operational Programme Research, Development, and Education, under grant agreement No. CZ.02.1.01/0.0/0.0/15_003/0000421.

Publisher Copyright:
© 2022 Owner/Author.

Systematik der Wissenschaftszweige 2012

  • 102 Informatik

Dieses zitieren