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

编排黑盒模式转换器:跨异构模式语言的自动化、质量排序转换的实证研究

Orchestrating Black-Box Schema Converters: An Empirical Study of Automated, Quality-Ranked Conversion Across Heterogeneous Schema Languages

Institute for Parallel and Distributed Systems, University of Stuttgart(斯图加特大学并行与分布式系统研究所);Institute of Biochemistry and Technical Biochemistry, University of Stuttgart(斯图加特大学生化与技术生物化学研究所)

Felix Neubauer, Giridhar Chinnikkaramadom Govindan, Jürgen Pleiss, Benjamin Uekermann

AI总结:

通过将模式语言视为节点、转换器视为有向边,编排黑盒转换器实现自动化、可重复且质量排序的转换,在60个真实任务中43个成功,揭示了当前转换器生态的局限。

摘要:

现代软件系统经常需要在多种模式语言中使用相同的数据模型:一个模型可能以JSON Schema形式用于Web API,以XSD形式用于数据交换,以SHACL形式用于知识图谱。随着模型演化,保持这些表示的一致性是一个反复出现的构建和维护负担,因为模式语言之间的转换器难以找到、分散在不同生态系统中、质量参差不齐且经常有损。我们实证研究了这种不完美、异构的转换器在多大程度上可以被编排成自动化、可重复且质量排序的转换,以及当前转换器生态的极限所在。我们的方法将模式语言建模为节点,将转换器(视为黑盒)建模为有向边,使得转换成为被发现的路径,执行、排序并报告每一步的出处,失败时通过尝试替代方案处理。我们将其实现为开源的模式转换编排器,集成到MetaConfigurator中,并在来自五种模式语言的真实世界模式构建的60个转换任务上进行了评估,使用了代理辅助、人工审核的质量标注。编排为60个任务中的43个提供了可用结果;剩余的失败定位了转换器生态中的具体空白。我们讨论了对工具构建者和转换质量度量的启示。

英文摘要:

Modern software systems routinely need the same data model in several schema languages: a model may exist as JSON Schema for a web API, as XSD for data exchange, and as SHACL for a knowledge graph. Keeping these representations consistent as the model evolves is a recurring construction and maintenance burden, because converters between schema languages are hard to find, scattered across ecosystems, of uneven quality, and frequently lossy. We study, empirically, to what extent such imperfect, heterogeneous converters can be orchestrated into automated, reproducible, and quality-ranked conversions, and where the current converter landscape reaches its limits. Our approach models schema languages as nodes and converters, treated as black boxes, as directed edges, so that conversions become paths that are discovered, executed, ranked, and reported with full per-step provenance, with failures handled by trying alternatives. We realize it as the open-source Schema Conversion Orchestrator, integrate it into MetaConfigurator, and evaluate it on 60 conversion tasks built from real-world schemas across five schema languages, using agent-assisted, human-reviewed quality annotations. Orchestration surfaces a usable result for 43 of 60 tasks; the remaining failures localize concrete gaps in the converter landscape. We discuss implications for tool builders and for measuring conversion quality.

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

↑