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 2017Publication History

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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. S. Chu, C. Wang, K. Weitz, and A. Cheung. Cosette: An automated prover for sql. 2017.Google ScholarGoogle Scholar
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. F. Li and H. V. Jagadish. Nalir: an interactive natural language interface for querying relational databases. In SIGMOD, pages 709--712. ACM, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Q. T. Tran, C.-Y. Chan, and S. Parthasarathy. Query by output. In SIGMOD '09, USA. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. S. Zhang and Y. Sun. Automatically synthesizing sql queries from input-output examples. In ASE. IEEE, 2013.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Interactive Query Synthesis from Input-Output Examples

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • 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

      Copyright © 2017 ACM

      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].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 9 May 2017

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • short-paper

      Acceptance Rates

      Overall Acceptance Rate785of4,003submissions,20%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader