IDEAS home Printed from https://ideas.repec.org/a/spr/joheur/v28y2022i2d10.1007_s10732-018-9402-0.html
   My bibliography  Save this article

Estimating searching cost of regular path queries on large graphs by exploiting unit-subqueries

Author

Listed:
  • Van-Quyet Nguyen

    (Chonnam National University)

  • Quyet-Thang Huynh

    (Hanoi University of Science and Technology)

  • Kyungbaek Kim

    (Chonnam National University)

Abstract

Regular path queries (RPQs) are widely used on a graph whose answer is a set of tuples of nodes connected by paths corresponding to a given regular expression. Traditional automata-based approach for evaluating RPQs is restricted in the explosion of graph size, which makes graph searching take high cost (i.e. memory space and response time). Recently, a cost-based optimization technique using rare labels has been proved to be effective when it is applied to large graph. However, there is still a room for improvement, because the rare labels in the graph and/or the query are coarse information which could not guarantee the minimum searching cost all the time. This is our motivation to find a new approach using fine-grained information to estimate correctly the searching cost, which helps improving the performance of RPQs evaluation. For example, by using estimated searching cost, we can decompose an RPQ into small subqueries or separate multiple RPQs into small batch of queries in an efficient way for parallelism evaluation. In this paper, we present a novel approach for estimating the searching cost of RPQs on large graphs with cost functions based on the combinations of the searching cost of unit-subqueries (i.e. every smallest possible query). We extensively evaluated our method on real-world datasets including Alibaba, Yago, Freebase as well as synthetic datasets. Experimental results show that our estimation method obtains high accuracy which is approximately 87% on average. Moreover, two comparisons with automata-based and rare label based approaches demonstrate that our approach outperforms traditional ones.

Suggested Citation

  • Van-Quyet Nguyen & Quyet-Thang Huynh & Kyungbaek Kim, 2022. "Estimating searching cost of regular path queries on large graphs by exploiting unit-subqueries," Journal of Heuristics, Springer, vol. 28(2), pages 149-169, April.
  • Handle: RePEc:spr:joheur:v:28:y:2022:i:2:d:10.1007_s10732-018-9402-0
    DOI: 10.1007/s10732-018-9402-0
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10732-018-9402-0
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10732-018-9402-0?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Desheng Liu & Zhiping Huang & Yimeng Zhang & Xiaojun Guo & Shaojing Su, 2016. "Efficient Deterministic Finite Automata Minimization Based on Backward Depth Information," PLOS ONE, Public Library of Science, vol. 11(11), pages 1-17, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:joheur:v:28:y:2022:i:2:d:10.1007_s10732-018-9402-0. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.