arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2107.08677cs.DB
收藏

真实世界JSON模式文档(长版)中“Not用法”的实证研究

An Empirical Study on the "Usage of Not" in Real-World JSON Schema Documents (Long Version)

Mohamed-Amine Baazizi, Dario Colazzo, Giorgio Ghelli, Carlo Sartiani, Stefanie Scherzinger

摘要:

在本文中,我们研究了否定在JSON Schema数据建模中的使用。否定是一种逻辑运算符,很少出现在类型系统和模式描述语言中,因为它使决策问题复杂化。因此,许多软件工具以及使用JSON Schema的正式框架都不完全支持否定。到今天为止,覆盖否定是否具有实际意义,或者主要是一个理论练习(尽管具有挑战性)的问题仍然是开放的。这促使我们研究否定是否真的在实践中使用,目的是什么,原则上是否可以用更简单的运算符来代替。我们收集了迄今为止分析的最多样化的JSON Schema文档语料库,基于GitHub上托管的90k开源模式的抓取。我们进行了系统的分析,量化的使用模式的否定,也定性分析图式。我们表明,否定确实使用,以下一组稳定的模式,有可能成熟到设计模式。

英文摘要:

In this paper, we study the usage of negation in JSON Schema data modeling. Negation is a logical operator that is rarely present in type systems and schema description languages, since it complicates decision problems. As a consequence, many software tools, but also formal frameworks for working with JSON Schema, do not fully support negation. As of today, the question whether covering negation is practically relevant, or a mainly theoretical exercise (albeit challenging), is open. This motivates us to study whether negation is really used in practice, for which aims, and whether it could be - in principle - replaced by simpler operators. We have collected the most diverse corpus of JSON Schema documents analyzed so far, based on a crawl of 90k open source schemas hosted on GitHub. We perform a systematic analysis, quantify usage patterns of negation, and also qualitatively analyze schemas. We show that negation is indeed used, following a stable set of patterns, with the potential to mature into design patterns.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑