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

LinkML-Scala:LinkML的一个健壮、快速且可移植的实现

LinkML-Scala: a Robust, Fast, and Portable Implementation of LinkML

Piotr Sowinski, Kacper Grzymkowski, Andriy Plokhotnyuk

arXiv 2607.22335首次发表:更新:

AI 中文总结

针对LinkML此前Python实现的性能等问题,提出用Scala 3编写的LinkML-Scala,它运行于多环境且有多种分发形式,在基准测试中性能远超Python实现,推动LinkML更广泛应用并确保其互操作性与稳定性。

AI 中文摘要

LinkML是一个用于数据和领域建模的统一框架,涵盖多种格式和生态系统。但此前只有Python编写的一个全功能实现,在性能、可移植性和行为一致性上受限。为解决这些问题,提出LinkML-Scala,它用Scala 3编写,运行于浏览器、JVM及原生二进制环境,有多种分发形式。基准测试中它在各场景均优于Python实现,平均快22.9至38.5倍,还概述了进一步工作计划以确保实现的互操作性和稳定性。

英文摘要

LinkML is a unified framework for data and domain modeling that spans diverse formats and ecosystems: JSON, RDF, CSV, SQL, spreadsheets and more. However, until now it had only one fully-featured implementation, written in Python, which is limited in terms of performance, portability, and behavior consistency. This restricts LinkML's usability in settings such as real-time schema editing and enterprise server applications. To address these issues, we present LinkML-Scala: a robust, fast, and portable implementation of LinkML that covers the metamodel, runtime support, schema derivation, and generators for JSON Schema, SHACL, RDFS, and Table Schema. Written in Scala 3, it runs in the browser (JavaScript transpilation), on the JVM, and as native binaries. LinkML-Scala is distributed as an in-browser playground, a CLI application, a GitHub CI Action, and JVM / JavaScript libraries. In our benchmarks, it outperforms the Python implementation in every tested scenario, on average by 22.9--38.5x. We consider LinkML-Scala an important contribution toward increasing LinkML's adoption and we outline a plan for further work to ensure implementation interoperability and stability.

论文原文

arXiv 摘要页 · PDF 原文 · HTML 原文

↑