query algorithm
Recently Published Documents


TOTAL DOCUMENTS

202
(FIVE YEARS 54)

H-INDEX

7
(FIVE YEARS 2)

2021 ◽  
Vol 10 (12) ◽  
pp. 832
Author(s):  
Xiangfu Meng ◽  
Lin Zhu ◽  
Qing Li ◽  
Xiaoyan Zhang

Resource Description Framework (RDF), as a standard metadata description framework proposed by the World Wide Web Consortium (W3C), is suitable for modeling and querying Web data. With the growing importance of RDF data in Web data management, there is an increasing need for modeling and querying RDF data. Previous approaches mainly focus on querying RDF. However, a large amount of RDF data have spatial and temporal features. Therefore, it is important to study spatiotemporal RDF data query approaches. In this paper, firstly, we formally define spatiotemporal RDF data, and construct a spatiotemporal RDF model st-RDF that is used to represent and manipulate spatiotemporal RDF data. Secondly, we present a spatiotemporal RDF query algorithm stQuery based on subgraph matching. This algorithm can quickly determine whether the query result is empty for queries whose temporal or spatial range exceeds a specific range by adopting a preliminary query filtering mechanism in the query process. Thirdly, we propose a sorting strategy that calculates the matching order of query nodes to speed up the subgraph matching. Finally, we conduct experiments in terms of effect and query efficiency. The experimental results show the performance advantages of our approach.


2021 ◽  
Vol 10 (12) ◽  
pp. 814
Author(s):  
Xiangqiang Min ◽  
Dieter Pfoser ◽  
Andreas Züfle ◽  
Yehua Sheng

The range query is one of the most important query types in spatial data processing. Geographic information systems use it to find spatial objects within a user-specified range, and it supports data mining tasks, such as density-based clustering. In many applications, ranges are not computed in unrestricted Euclidean space, but on a network. While the majority of access methods cannot trivially be extended to network space, existing network index structures partition the network space without considering the data distribution. This potentially results in inefficiency due to a very skewed node distribution. To improve range query processing on networks, this paper proposes a balanced Hierarchical Network index (HN-tree) to query spatial objects on networks. The main idea is to recursively partition the data on the network such that each partition has a similar number of spatial objects. Leveraging the HN-tree, we present an efficient range query algorithm, which is empirically evaluated using three different road networks and several baselines and state-of-the-art network indices. The experimental evaluation shows that the HN-tree substantially outperforms existing methods.


2021 ◽  
Vol 182 (4) ◽  
pp. 321-344
Author(s):  
Xie Zhengwei ◽  
Qiu Daowen ◽  
Cai Guangya ◽  
Jozef Gruska ◽  
Paulo Mateus

The goal in the area of functions property testing is to determine whether a given black-box Boolean function has a particular given property or is ɛ-far from having that property. We investigate here several types of properties testing for Boolean functions (identity, correlations and balancedness) using the Deutsch-Jozsa algorithm (for the Deutsch-Jozsa (D-J) problem) and also the amplitude amplification technique. At first, we study here a particular testing problem: namely whether a given Boolean function f, of n variables, is identical with a given function g or is ɛ-far from g, where ɛ is the parameter. We present a one-sided error quantum algorithm to deal with this problem that has the query complexity O(1ε). Moreover, we show that our quantum algorithm is optimal. Afterwards we show that the classical randomized query complexity of this problem is Θ(1ε). Secondly, we consider the D-J problem from the perspective of functional correlations and let C(f, g) denote the correlation of f and g. We propose an exact quantum algorithm for making distinction between |C(f, g)| = ɛ and |C(f, g)| = 1 using six queries, while the classical deterministic query complexity for this problem is Θ(2n) queries. Finally, we propose a one-sided error quantum query algorithm for testing whether one Boolean function is balanced versus ɛ-far balanced using O(1ε) queries. We also prove here that our quantum algorithm for balancedness testing is optimal. At the same time, for this balancedness testing problem we present a classical randomized algorithm with query complexity of O(1/ɛ2). Also this randomized algorithm is optimal. Besides, we link the problems considered here together and generalize them to the general case.


2021 ◽  
Vol 10 (11) ◽  
pp. 763
Author(s):  
Panagiotis Moutafis ◽  
George Mavrommatis ◽  
Michael Vassilakopoulos ◽  
Antonio Corral

Aiming at the problem of spatial query processing in distributed computing systems, the design and implementation of new distributed spatial query algorithms is a current challenge. Apache Spark is a memory-based framework suitable for real-time and batch processing. Spark-based systems allow users to work on distributed in-memory data, without worrying about the data distribution mechanism and fault-tolerance. Given two datasets of points (called Query and Training), the group K nearest-neighbor (GKNN) query retrieves (K) points of the Training with the smallest sum of distances to every point of the Query. This spatial query has been actively studied in centralized environments and several performance improving techniques and pruning heuristics have been also proposed, while, a distributed algorithm in Apache Hadoop was recently proposed by our team. Since, in general, Apache Hadoop exhibits lower performance than Spark, in this paper, we present the first distributed GKNN query algorithm in Apache Spark and compare it against the one in Apache Hadoop. This algorithm incorporates programming features and facilities that are specific to Apache Spark. Moreover, techniques that improve performance and are applicable in Apache Spark are also incorporated. The results of an extensive set of experiments with real-world spatial datasets are presented, demonstrating that our Apache Spark GKNN solution, with its improvements, is efficient and a clear winner in comparison to processing this query in Apache Hadoop.


Author(s):  
Xiaogang Xing ◽  
Yuling Chen ◽  
Tao Li ◽  
Yang Xin ◽  
Hongwei Sun

AbstractBlockchain technology has the characteristics of decentralization and tamper resistance, which can store data safely and reduce the cost of trust effectively. However, the existing blockchain system has weak performance in data management, and only supports traversal queries with transaction hashes as keywords. The query method based on the account transaction trace chain (ATTC) improves the query efficiency of historical transactions of the account. However, the efficiency of querying accounts with longer transaction chains has not been effectively improved. Given the inefficiency and single method of the ATTC index in the query, we propose a subchain-based account transaction chain (SCATC) index structure. First, the account transaction chain is divided into subchains, and the last block of each subchain is connected by a hash pointer. The block-by-block query mode in ATTC is converted to the subchain-by-subchain query mode, which shortens the query path. Multiple transactions of the same account in the same block are merged and stored, which simplifies the construction cost of the index and saves storage resources. then, the construction algorithm and query algorithm is given for the SCATC index structure. Simulation analysis shows that the SCATC index structure significantly improves query efficiency.


Author(s):  
Yinglian Zhou ◽  
Jifeng Chen

Driven by experience and social impact of the new life, user preferences continue to change over time. In order to make up for the shortcomings of existing geographic social network models that often cannot obtain user dynamic preferences, a time-series geographic social network model was constructed to detect user dynamic preferences, a dynamic preference value model was built for user dynamic preference evaluation, and a dynamic preferences group query (DPG) was proposed in this paper . In order to optimize the efficiency of the DPG query algorithm, the UTC-tree index user timing check-in record is designed. UTC-tree avoids traversing all user check-in records in the query, accelerating user dynamic preference evaluation. Finally, the DPG query algorithm is used to implement a well-interacted DPG query system. Through a large number of comparative experiments, the validity of UTC-tree and the scalability of DPG query are verified.


Energies ◽  
2021 ◽  
Vol 14 (19) ◽  
pp. 6223
Author(s):  
Lei Jin ◽  
Qing Chen ◽  
Jinjie Ji ◽  
Xiaotong Zhou

After the failure of the power system, a large amount of alarm information will flood into the dispatching terminal instantly. At the same time, there are inevitable problems, such as the abnormal operation of the protection and the circuit breaker, the lack of alarm information, and so on. This kind of uncertainty problem brings great trouble to the fault diagnosis algorithm. As a data processing algorithm for an uncertain information set, Top-k Skyline query algorithm can eliminate the data points that do not meet the requirements in the information set, and then output the final K results in order. Based on this background, this paper proposes a power grid fault diagnosis method based on the Top-k Skyline query algorithm considering alarm information loss. Firstly, the fault area is determined by using the information of the electrical quantity and switching value. Then, backward reasoning Petri nets are established for the nodes in the fault area to form the data set of fault hypotheses. Then, the Top-k Skyline query algorithm is used to sort the hypotheses and choose the hypothesis with higher reliability. Finally, an IEEE 39-bus system example is given to verify the reliability of the proposed method.


Algorithms ◽  
2021 ◽  
Vol 14 (8) ◽  
pp. 220
Author(s):  
Spyros Kontogiannis ◽  
Andreas Paraskevopoulos ◽  
Christos Zaroliagis

We consider the problem of computing a set of meaningful alternative origin-to-destination routes, in real-world road network instances whose arcs are accompanied by travel-time functions rather than fixed costs. In this time-dependent alternative route scenario, we present a novel query algorithm, called Time-Dependent Alternative Graph (TDAG), that exploits the outcome of a time-consuming preprocessing phase to create a manageable amount of travel-time metadata, in order to provide answers for arbitrary alternative-routes queries, in only a few milliseconds for continental-size instances. The resulting set of alternative routes is aggregated in the form of a time-dependent alternative graph, which is characterized by the minimum route overlap, small stretch factor, small size, and low complexity. To our knowledge, this is the first work that deals with the time-dependent setting in the framework of alternative routes. The preprocessed metadata prescribe the minimum travel-time informations between a small set of “landmark” nodes and all other nodes in the graph. The TDAG query algorithm carries out the work in two distinct phases: initially, a collection phase constructs candidate alternative routes; consequently, a pruning phase cautiously discards uninteresting or low-quality routes from the candidate set. Our experimental evaluation on real-world, time-dependent road networks demonstrates that TDAG performed much better (by one or two orders of magnitude) than the existing baseline approaches.


2021 ◽  
Vol 9 (3) ◽  
pp. 167-173
Author(s):  
Vega Purwayoga

The distribution of personal protective equipment (PPE) plays a vital role in meeting the needs of PPE in an area. This study aims to measure the priority of PPE recipient regions in West Java Province using a skyline query algorithm, namely Sort Filter Skyline (SFS). In this study, the SFS algorithm is modified to optimize the dominance measurement section. Regions that do not have hospitals will not be prioritized for PPE recipients. The preferences used in this study are maximum and minimum. The maximum preference rule is used for the number of ODP, PDP, positive and dead cases, while the minimum preference rule is used for the cured and distance attributes. The application of SFS for calculating priority regions has been successfully carried out by developing two models, namely MS1 using unmodified SFS and MS2 using modified SFS by adding a selection process for regions with no hospitals. The MS1 produces 21 skyline objects (55.55 %), while MS2 15 (66.66 %) skyline objects. The MS2 is faster than that of MS1 because fewer objects are being tested. The MS1 takes 0.0222 seconds, while MS2 only 0.0193 seconds.


Sign in / Sign up

Export Citation Format

Share Document