askdata

Ask the data-jobs market a question.

askdata turns a question into SQL over the Data Jobs Observatory warehouse (969 open remote-US data listings at 441 companies, crawled 2026-09-29). The query runs in your browser on DuckDB-WASM, and you see every step: the SQL, any retries, and the result. Measured accuracy is published here.

Loading DuckDB-WASM and the warehouse snapshot...

How it works

  1. Your question is matched against a data dictionary (every column's description and sample values) with BM25; the best-matching column docs and the three most similar worked examples go into the prompt with the full schema.
  2. Gemini writes one DuckDB query, or refuses when the data cannot answer the question.
  3. A read-only guard checks it (single SELECT/WITH, known tables only, no file or network access), then your browser runs it with a 10-second timeout.
  4. If it errors or returns nothing, the error goes back to the model for up to two corrections.
  5. A second short call turns the result into a sentence. The same prompt code is used by the offline eval.