arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.07085cs.DB
收藏

提取带标签联合(Tagged Unions)的JSON Schema

Extracting JSON Schemas with Tagged Unions

Stefan Klessinger, Meike Klettke, Uta Störl, Stefanie Scherzinger

AI总结:

针对JSON数据集合的描述性模式提取难题,提出将标签联合形式化为条件函数依赖、用if-then-else表示并结合启发式避免过拟合的方法,实验验证其可在真实GeoJSON、TopoJSON数据集中有效检测标签联合。

摘要:

随着数据湖与无模式NoSQL文档存储的普及,从JSON数据集合中提取描述性模式已成为一项严峻挑战。本文聚焦于标签联合(tagged unions)的发现——这是一种JSON Schema设计模式,其中对象的一个属性(标签)的值会条件性地决定其同级属性的子模式。我们将这些蕴含关系形式化为条件函数依赖,并使用JSON Schema的if-then-else操作符对其进行表示。我们还进一步论证了用于避免过拟合的启发式方法的合理性。基于原型实现的实验结果颇具前景,表明这种形式的标签联合能够在真实世界的GeoJSON和TopoJSON数据集中被成功检测到。在讨论未来工作时,我们概述了可对该方法进行进一步扩展的方向。

英文摘要:

With data lakes and schema-free NoSQL document stores, extracting a descriptive schema from JSON data collections is an acute challenge. In this paper, we target the discovery of tagged unions, a JSON Schema design pattern where the value of one property of an object (the tag) conditionally implies subschemas for sibling properties. We formalize these implications as conditional functional dependencies and capture them using the JSON Schema operators if-then-else. We further motivate our heuristics to avoid overfitting. Experiments with our prototype implementation are promising, and show that this form of tagged unions can successfully be detected in real-world GeoJSON and TopoJSON datasets. In discussing future work, we outline how our approach can be extended further.

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

↑