|国家预印本平台
首页|Representing and querying data tensors in RDF and SPARQL

Representing and querying data tensors in RDF and SPARQL

Representing and querying data tensors in RDF and SPARQL

来源:Arxiv_logoArxiv
英文摘要

Embedding tensors in databases has recently gained in significance, due to the rapid proliferation of machine learning methods (including LLMs) which produce embeddings in the form of tensors. To support emerging use cases hybridizing machine learning with knowledge graphs, a robust and efficient tensor representation scheme is needed. We introduce a novel approach for representing data tensors as literals in RDF, along with an extension of SPARQL implementing specialized functionalities for handling such literals. The extension includes 36 SPARQL functions and four aggregates. To support this approach, we provide a thoroughly tested, open-source implementation based on Apache Jena, along with an exemplary knowledge graph and query set.

Piotr Marciniak、Piotr Sowinski、Maria Ganzha

计算技术、计算机技术

Piotr Marciniak,Piotr Sowinski,Maria Ganzha.Representing and querying data tensors in RDF and SPARQL[EB/OL].(2025-04-27)[2025-07-20].https://arxiv.org/abs/2504.19224.点此复制

评论