Efficient Approximation of Well-Designed SPARQL Queries
Zhenyu Song, Zhiyong Feng, Xiaowang Zhang, Xin Wang and, Guozheng Rao

TL;DR
This paper introduces a method to generate approximate SPARQL queries with reduced OPT operation depth, balancing response time and solution accuracy for well-designed patterns.
Contribution
It proposes a novel approach to transform well-designed SPARQL patterns into trees and generate approximate queries by removing less deep optional subtrees.
Findings
Significant reduction in query response time.
Maintained acceptable accuracy levels in approximate queries.
Effective trade-off between speed and precision.
Abstract
Query response time often influences user experience in the real world. However, it possibly takes more time to answer a query with its all exact solutions, especially when it contains the OPT operations since the OPT operation is the least conventional operator in SPARQL. So it becomes essential to make a trade-off between the query response time and the accuracy of their solutions. In this paper, based on the depth of the OPT operation occurring in a query, we propose an approach to obtain its all approximate queries with less depth of the OPT operation. This paper mainly discusses those queries with well-designed patterns since the OPT operation in a well-designed pattern is really "optional". Firstly, we transform a well-designed pattern in OPT normal form into a well-designed tree, whose inner nodes are labeled by OPT operation and leaf nodes are labeled by patterns containing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Data Management and Algorithms · Advanced Database Systems and Queries
