Synthesizing Graph Queries from Demonstrations
This program is tentative and subject to change.
Writing graph queries is challenging for non-experts due to the complexity of graph data models and the need to identify proper graph patterns. While recent research has advanced query synthesis for relational and document databases, the problem of synthesizing graph queries remains under-explored.
We present a novel approach for synthesizing graph queries from computation demonstrations, where users specify the desired output through expressions over properties of input graphs. Our method addresses the challenge of inferring meaningful graph patterns for matching and efficiently constructing the remaining components of the query. Specifically, we combine graph mining, which identifies candidate patterns across input graphs, with deduction-based pruning, which guides an efficient synthesis of the filtering predicate and return clause. We have implemented our approach in a tool called DMiner and evaluated it on 90 benchmarks. Experimental results show that DMiner successfully synthesizes desired queries for 87 benchmarks, with an average synthesis time of 0.6 seconds per query. This outperforms both enumerative search and LLM baselines. We also conducted a user study, which shows that users can provide demonstrations with modest effort and 87.5% of the provided demonstrations are sufficient for DMiner to synthesize the desired query.
This program is tentative and subject to change.
Wed 7 OctDisplayed time zone: Pacific Time (US & Canada) change
15:30 - 17:00 | Languages for Data and InteractionOOPSLA at East Hall 1 Chair(s): Saba Alimadadi Simon Fraser University | ||
15:30 18mTalk | Timeline: Adding the Time Dimension to Spreadsheets OOPSLA DOI Pre-print | ||
15:48 18mTalk | Direct Manipulation and Natural Language Programming, Together at Last? OOPSLA Parker Ziegler University of California at Berkeley, David Minh-Duy Cao University of California at Berkeley, Justin Lubin University of California at Berkeley, Sarah E. Chasins University of California at Berkeley DOI Pre-print | ||
16:06 18mTalk | Geo: A Query Rewrite Framework for Graph Pattern Mining OOPSLA Nazanin Yousefian Simon Fraser University, Kasra Jamshidi Simon Fraser University, Keval Vora Simon Fraser University, Anders Miltner Simon Fraser University DOI | ||
16:24 18mTalk | Synthesizing Graph Queries from Demonstrations OOPSLA Xiaoyu Liu Simon Fraser University, Qikang Liu Simon Fraser University, Evan Dyce Simon Fraser University, Keval Vora Simon Fraser University, Yuepeng Wang Simon Fraser University DOI | ||
16:42 18mTalk | Semi-declarative Language for Combinatorial Search OOPSLA DOI | ||