NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exploring the Data Wilderness through Examples

Davide Mottin, Matteo Lissandrini, Yannis Velegrakis, Themis Palpanas

Abstract

As datasets grow in volume and complexity, traditional query-based retrieval methods often fail exploratory users. This paper synthesizes research on example-based data exploration—a paradigm where users navigate "data wilderness" by providing representative examples instead of formal queries. By treating examples as proxies for user intent, these systems can automatically infer patterns across relational, textual, and graph-based data. We discuss the integration of machine learning for interactive feedback and outline future challenges in scalability and explainability.

Introduction: Navigating the Data Wilderness

Traditional data retrieval methods are hitting a wall in the face of the "Data Wilderness"—the vast, complex datasets that characterize modern information environments. Writing precise SQL or SPARQL queries requires deep technical expertise and a clear understanding of the underlying schema, which many users lack. Conversely, simple keyword searches are frequently too ambiguous to return specific, structured results.

Example-based exploration offers a natural middle ground. Instead of describing how to find data, users provide examples of what they are looking for. These examples serve as evidence of a latent query that the system must discover, bridging the gap between a user's mental model and the technical requirements of a database.

Methods and Data Models

The paper categorizes example-based methods into three primary data models, often enhanced by modern machine learning frameworks.

An architectural overview of example-based data exploration, illustrating its role as a bridge between user interfaces and underlying data structures across relational, graph, and text models.

Relational Data

Techniques in this domain focus on "reverse engineering" SQL queries. By providing desired output tuples, users allow the system to induce likely join and filter conditions. This approach is also instrumental in data cleaning tasks like entity matching and schema mapping.

Textual Data

Methods such as "entity-by-example" or "document-by-example" allow users to extract lists or discover related content. For instance, providing a few names of scientists can trigger the extraction of a comprehensive list of researchers from a large corpus.

Graph Data

Exploration in graphs involves finding subgraphs structurally similar to an input example (Exemplar Queries) or identifying communities starting from specific "seed" nodes.

Machine Learning Integration

Modern systems increasingly utilize Active Learning frameworks, such as Multi-armed Bandits and Gaussian Processes. These allow the system to interactively solicit user feedback on intermediate results, refining the search to better match the user's actual intent.

Systems and Benchmarks

As a tutorial synthesis, this work references a wide array of benchmarks and systems that have defined the field:

  • Relational systems: Ziggy, Bleau, and QPlain.
  • Graph frameworks: GQBE (Graph Query by Example) and SPARQL-ByE.
  • Textual tools: SEER (for extraction rules) and InfoGather (for web tables).

Key Insights: From Templates to Evidence

A fundamental shift in this field is the move from early "Query-by-Example" (QBE) templates to treating examples as evidence. Modern approaches do not just fill in blanks; they use examples to discover the underlying logic of a query.

This paradigm acts as a bridge between the User Interface and the Middleware/Hardware layers. It enables "natural exploitation" of data, allowing users to leverage complex data structures without needing to understand hardware-level optimizations. Unlike keyword searches, examples provide structural context, reducing ambiguity while maintaining a low barrier to entry.

Impact and Results

The synthesis of research in this tutorial demonstrates that example-based methods:

  • Empower Novice Users: Non-programmers can perform complex tasks like data integration and community detection.
  • Solve Complex Tasks: Systems can reverse-engineer complex join queries that would challenge even expert SQL writers.
  • Enable Real-time Discovery: By using structural pruning, these methods can achieve interactive speeds even on large graph datasets.

Limitations and Future Work

Despite its promise, the "wilderness" remains partially unexplored. Key areas for future research include:

  • Adaptivity: Systems must evolve to account for individual user preferences and varying expertise levels.
  • Explanation: To move beyond "black box" results, systems need to explain why specific results were deemed relevant to the provided examples.
  • Interactivity and Scalability: Algorithms like subgraph isomorphism are computationally expensive; achieving real-time interactivity on massive datasets remains a significant hurdle.
  • Integration: Moving these techniques from standalone prototypes into production-ready Database Management Systems (DBMS) is the next major step for the field.

Summary updated

BibTeX
@inproceedings{mottin2019exploring,
  author = {Davide Mottin and Matteo Lissandrini and Yannis Velegrakis and Themis Palpanas},
  title = {{Exploring the Data Wilderness through Examples}},
  booktitle = {SIGMOD},
  year = {2019},
  doi = {10.1145/3299869.3314031},
}
Figure