Repository logo
  • Log In
    New user? Click here to register.Have you forgotten your password?
University College Dublin
    Colleges & Schools
    Statistics
    All of DSpace
  • Log In
    New user? Click here to register.Have you forgotten your password?
  1. Home
  2. College of Science
  3. School of Computer Science
  4. Computer Science Research Collection
  5. Optimal algorithms for ranked enumeration of answers to full conjunctive queries
 
  • Details
Options

Optimal algorithms for ranked enumeration of answers to full conjunctive queries

Author(s)
Tziavelis, Nikolaos  
Ajwani, Deepak  
Gatterbauer, Wolfgang  
et al,  
Uri
http://hdl.handle.net/10197/25061
Date Issued
2020-05-01
Date Available
2023-11-28T07:49:23Z
Abstract
We study ranked enumeration of join-query results according to very general orders defined by selective dioids. Our main contribution is a framework for ranked enumeration over a class of dynamic programming problems that generalizes seemingly different problems that had been studied in isolation. To this end, we extend classic algorithms that find the k-shortest paths in a weighted graph. For full conjunctive queries, including cyclic ones, our approach is optimal in terms of the time to return the top result and the delay between results. These optimality properties are derived for the widely used notion of data complexity, which treats query size as a constant. By performing a careful cost analysis, we are able to uncover a previously unknown tradeo ff between two incomparable enumeration approaches: one has lower complexity when the number of returned results is small, the other when the number is very large. We theoretically and empirically demonstrate the superiority of our techniques over batch algorithms, which produce the full result and then sort it. Our technique is not only faster for returning the first few results, but on some inputs beats the batch algorithm even when all results are produced.
Other Sponsorship
National Institutes of Health
National Science Foundation
Type of Material
Journal Article
Publisher
ACM
Journal
Proceedings of the VLDB Endowment
Volume
13
Issue
9
Start Page
1582
End Page
1597
Copyright (Published Version)
2020 ACM
Subjects

Conjunctive query eva...

Relational databases

Graph databases

Ranked enumeration pr...

DOI
10.14778/3397230.3397250
Language
English
Status of Item
Peer reviewed
ISSN
2150-8097
This item is made available under a Creative Commons License
https://creativecommons.org/licenses/by-nc-nd/3.0/ie/
File(s)
Loading...
Thumbnail Image
Name

1911.05582v3.pdf

Size

2.42 MB

Format

Adobe PDF

Checksum (MD5)

a260e1fd8f743bc5ce2f61780c9d1457

Owning collection
Computer Science Research Collection

Item descriptive metadata is released under a CC-0 (public domain) license: https://creativecommons.org/public-domain/cc0/.
All other content is subject to copyright.

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science

  • Cookie settings
  • Privacy policy
  • End User Agreement