计算机科学 > 数据库
[提交于 2023年6月12日]
标题:Extracting JSON Schemas with Tagged Unions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Stefan Klessinger[v1] 2023年6月12日 星期一 12:57:34 UTC