paper-with-me

Papers

Cardinality Estimation over Knowledge Graphs with Embeddings and Graph Neural Networks

2023-03-02 · Tim Schwabe, Maribel Acosta

Cardinality Estimation over Knowledge Graphs (KG) is crucial for query optimization, yet remains a challenging task due to the semi-structured nature and complex correlations of typical Knowledge Graphs. In this work, we propose GNCE, a novel approach that leverages knowledge graph embeddings and Graph Neural Networks (GNN) to accurately predict the cardinality of conjunctive queries. GNCE first creates semantically meaningful embeddings for all entities in the KG, which are then integrated into the given query, which is processed by a GNN to estimate the cardinality of the query. We evaluate GNCE on several KGs in terms of q-Error and demonstrate that it outperforms state-of-the-art approaches based on sampling, summaries, and (machine) learning in terms of estimation accuracy while also having lower execution time and less parameters. Additionally, we show that GNCE can inductively generalise to unseen entities, making it suitable for use in dynamic query processing scenarios. Our proposed approach has the potential to significantly improve query optimization and related applications that rely on accurate cardinality estimates of conjunctive queries.

📄 PDF Abstract BibTeX arXiv:2303.01140

Code (1)

de-tum/gnce 공식 구현 pytorch

Tasks

Knowledge Graph EmbeddingsKnowledge Graphs

Similar Papers 제목 키워드 기반

Fully Inductive Cardinality Estimation

2026-07-30 · Tim Schwabe, Lukas Ketzer, Maribel Acosta arxiv

Query optimization of Basic Graph Patterns (BGP) SPARQL queries over Knowledge Graphs (KG) requires accurate cardinality estimation. Recently published learned estimators outperform statistics- and sampling-based approac…

Graph Neural NetworkKnowledge Graphs

Cardinality Estimation on Hyper-relational Knowledge Graphs

2024-05-24 · Fei Teng, Haoyang Li, Shimin Di, Lei Chen

Cardinality Estimation (CE) for query is to estimate the number of results without execution, which is an effective index in query optimization. Recently, CE over has achieved great success in knowledge graphs (KGs) that…

Graph Neural NetworkKnowledge Graphs

Data-Agnostic Cardinality Learning from Imperfect Workloads

2025-06-19 · Peizhi Wu, Rong Kang, Tieying Zhang, Jianjun Chen 외

Cardinality estimation (CardEst) is a critical aspect of query optimization. Traditionally, it leverages statistics built directly over the data. However, organizational policies (e.g., regulatory compliance) may restric…

CardBench: A Benchmark for Learned Cardinality Estimation in Relational Databases

2024-08-28 · Yannis Chronis, Yawen Wang, Yu Gan, Sami Abu-El-Haija 외

Cardinality estimation is crucial for enabling high query performance in relational databases. Recently learned cardinality estimation models have been proposed to improve accuracy but there is no systematic benchmark or…

Adversarial Contrastive Estimation

2018-05-09 · ACL 2018 7 · Avishek Joey Bose, Huan Ling, Yanshuai Cao

Learning by contrasting positive and negative samples is a general strategy adopted by many methods. Noise contrastive estimation (NCE) for word embeddings and translating embeddings for knowledge graphs are examples in …

Contrastive LearningKnowledge Graph EmbeddingsKnowledge GraphsLearning Word Embeddings+1