Representing and querying data tensors in RDF and SPARQL

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Marciniak, Piotr, Sowinski, Piotr, Ganzha, Maria
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915262122426368
author Marciniak, Piotr
Sowinski, Piotr
Ganzha, Maria
author_facet Marciniak, Piotr
Sowinski, Piotr
Ganzha, Maria
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_19224
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Representing and querying data tensors in RDF and SPARQL
Marciniak, Piotr
Sowinski, Piotr
Ganzha, Maria
Databases
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.
title Representing and querying data tensors in RDF and SPARQL
topic Databases
url https://arxiv.org/abs/2504.19224