Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3035918.3058738acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
short-paper
Public Access

Interactive Query Synthesis from Input-Output Examples

Published: 09 May 2017 Publication History
  • Get Citation Alerts
  • Abstract

    This demo showcases Scythe, a novel query-by-example system that can synthesize expressive SQL queries from input-output examples. Scythe is designed to help end-users program SQL and explore data simply using input-output examples. From a web-browser, users can obtain SQL queries with Scythe in an automated, interactive fashion: from a provided example, Scythe synthesizes SQL queries and resolves ambiguities via conversations with the users.
    In this demo, we first show Scythe how end users can formulate queries using Scythe; we then switch to the perspective of an algorithm designer to show how Scythe can scale up to handle complex SQL features, like outer joins and subqueries.

    References

    [1]
    S. Barman, S. Chasins, R. Bodik, and S. Gulwani. Ringer: web automation by demonstration. In SPLASH, pages 748--764. ACM, 2016.
    [2]
    S. Chasins, S. Barman, R. Bodik, and S. Gulwani. Browser record and replay as a building block for end-user web automation tools. In WWW, pages 179--182. ACM, 2015.
    [3]
    S. Chu, C. Wang, K. Weitz, and A. Cheung. Cosette: An automated prover for sql. 2017.
    [4]
    S. Gulwani and M. Marron. Nlyze: Interactive programming by natural language for spreadsheet data analysis and manipulation. In SIGMOD, pages 803--814. ACM, 2014.
    [5]
    F. Li and H. V. Jagadish. Nalir: an interactive natural language interface for querying relational databases. In SIGMOD, pages 709--712. ACM, 2014.
    [6]
    H. Li, C.-Y. Chan, and D. Maier. Query from examples: An iterative, data-driven approach to query construction. Proceedings of the VLDB Endowment, 2015.
    [7]
    Q. T. Tran, C.-Y. Chan, and S. Parthasarathy. Query by output. In SIGMOD '09, USA. ACM.
    [8]
    S. Zhang and Y. Sun. Automatically synthesizing sql queries from input-output examples. In ASE. IEEE, 2013.

    Cited By

    View all
    • (2024)Wred: Workload Reduction for Scalable Index TuningProceedings of the ACM on Management of Data10.1145/36393052:1(1-26)Online publication date: 26-Mar-2024
    • (2024)Query Reverse Engineering of Pre-deleted Uncorrelated OperatorsData Mining and Big Data10.1007/978-981-97-0844-4_4(45-58)Online publication date: 22-Feb-2024
    • (2024)AL-SQUARES: SQL Synthesis System with the Addition of ReducerData Mining and Big Data10.1007/978-981-97-0844-4_3(33-44)Online publication date: 22-Feb-2024
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SIGMOD '17: Proceedings of the 2017 ACM International Conference on Management of Data
    May 2017
    1810 pages
    ISBN:9781450341974
    DOI:10.1145/3035918
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 09 May 2017

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. database interface
    2. program synthesis
    3. sql

    Qualifiers

    • Short-paper

    Funding Sources

    Conference

    SIGMOD/PODS'17
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 785 of 4,003 submissions, 20%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)120
    • Downloads (Last 6 weeks)6
    Reflects downloads up to 27 Jul 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Wred: Workload Reduction for Scalable Index TuningProceedings of the ACM on Management of Data10.1145/36393052:1(1-26)Online publication date: 26-Mar-2024
    • (2024)Query Reverse Engineering of Pre-deleted Uncorrelated OperatorsData Mining and Big Data10.1007/978-981-97-0844-4_4(45-58)Online publication date: 22-Feb-2024
    • (2024)AL-SQUARES: SQL Synthesis System with the Addition of ReducerData Mining and Big Data10.1007/978-981-97-0844-4_3(33-44)Online publication date: 22-Feb-2024
    • (2024)Towards Reliable SQL Synthesis: Fuzzing-Based Evaluation and DisambiguationFundamental Approaches to Software Engineering10.1007/978-3-031-57259-3_11(232-254)Online publication date: 6-Apr-2024
    • (2023)Relational Query Synthesis ⋈ Decision Tree LearningProceedings of the VLDB Endowment10.14778/3626292.362630617:2(250-263)Online publication date: 1-Oct-2023
    • (2023)Towards Auto-Generated Data SystemsProceedings of the VLDB Endowment10.14778/3611540.361163516:12(4116-4129)Online publication date: 1-Aug-2023
    • (2023)A SQL Synthesis System with Operator HandlerProceedings of the 2023 7th International Conference on Computer Science and Artificial Intelligence10.1145/3638584.3638654(132-136)Online publication date: 8-Dec-2023
    • (2023)Mobius: Synthesizing Relational Queries with Recursive and Invented PredicatesProceedings of the ACM on Programming Languages10.1145/36228477:OOPSLA2(1394-1417)Online publication date: 16-Oct-2023
    • (2023)Improving Oracle-Guided Inductive Synthesis by Efficient Question SelectionProceedings of the ACM on Programming Languages10.1145/35860557:OOPSLA1(819-847)Online publication date: 6-Apr-2023
    • (2023)DeepQRE: A QRE System Based on Deep Learning2023 9th International Conference on Mechatronics and Robotics Engineering (ICMRE)10.1109/ICMRE56789.2023.10106580(240-244)Online publication date: 10-Feb-2023
    • Show More Cited By

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media