SPARQL Rewriting: Towards Desired Results
Xun Jian, Yue Wang, Xiayu Lei, Libin Zheng, Lei Chen
摘要
Recent years witnessed the emergence of various applications on knowledge graphs, which are often represented as RDF graphs. However, due to the lack of data schema and the complexity of SPARQL language, there is usually a gap between the user's real desire and the actual meaning of a SPARQL query, especially when the query itself is complicated. In this paper, we try to narrow this gap by modifying a given query with a set of modifiers, so that its result approaches a user-provided example set. Specifically, we model this problem as two individual sub-problems, query-restricting, and query-relaxing, both of which are shown to be NP-hard. We further prove that unless P=NP, query-restricting has no polynomial-time approximation scheme (PTAS), and query-relaxing has no polynomial-time constant-factor approximation algorithm. Despite their hardness, we propose a (1-1/ε)-approximation method for query-restricting and 2 heuristics for query-relaxing. Extensive experiments have been conducted on real-world knowledge graphs to evaluate the effectiveness and efficiency of our proposed solutions.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- A Fast Hop-Biased Approximation Algorithm for the Quadratic Group Steiner Tree ProblemXiaoqing Wang, Gong ChengWWW 2024 · 被引用 1 次
- Efficient Computation of Semantically Cohesive Subgraphs for Keyword-Based Knowledge Graph ExplorationYuxuan Shi, Gong Cheng, Trung-Kien Tran, Evgeny Kharlamov 等WWW 2021 · 被引用 17 次
- Query Refinement for Diversity Constraint SatisfactionJinyang Li, Yuval Moskovitch, Julia Stoyanovich, H. V. JagadishVLDB 2024 · 被引用 16 次
- Semantic Guided and Response Times Bounded Top-k Similarity Search over Knowledge GraphsYuxiang Wang, Arijit Khan, Tianxing Wu, Jiahui Jin 等ICDE 2020 · 被引用 45 次
- Computing How-Provenance for SPARQL Queries via Query RewritingDaniel Hernández, Luis Galárraga, Katja HoseVLDB 2021 · 被引用 42 次
