Skip to content
OpenTrain AIFor AI Companies

Schema2QA: High-Quality and Low-Cost Q&A Agents for the Structured Web

Silei Xu, Giovanni Campagna, Jian Li, Monica S. LamPublished Jan 16, 2020
arXiv PDF DOI
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Thin evidence
Verify before relying
Time to first repro
A few days
Plan setup time
Risk flags
1
Review before use

Abstract

Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.

Building a question-answering agent currently requires large annotated datasets, which are prohibitively expensive. This paper proposes Schema2QA, an open-source toolkit that can generate a Q&A system from a database schema augmented with a few annotations for each field. The key concept is to cover the space of possible compound queries on the database with a large number of in-domain questions synthesized with the help of a corpus of generic query templates. The synthesized data and a small paraphrase set are used to train a novel neural network based on the BERT pretrained model. We use Schema2QA to generate Q&A systems for five Schema.org domains, restaurants, people, movies, books and music, and obtain an overall accuracy between 64% and 75% on crowdsourced questions for these domains. Once annotations and paraphrases are obtained for a Schema.org schema, no additional manual effort is needed to create a Q&A agent for any website that uses the same schema. Furthermore, we demonstrate that learning can be transferred from the restaurant to the hotel domain, obtaining a 64% accuracy on crowdsourced questions with no manual effort. Schema2QA achieves an accuracy of 60% on popular restaurant questions that can be answered using Schema.org. Its performance is comparable to Google Assistant, 7% lower than Siri, and 15% higher than Alexa. It outperforms all these assistants by at least 18% on more complex, long-tail questions.

Results and benchmarks

Freshness tier: hot
Building a question-answering agent currently requires large annotated datasets, which are prohibitively expensive.

Implementation

Historical official implementation (not recommended for new builds)

Why this implementation
Confidence: medium

stanford-oval/genienlp is the closest maintained adjacent implementation (Official implementation from Papers with Code). It is not paper-verified; validate algorithm and evaluation setup against the paper before trusting reported metrics. Community adoption signal: 90 GitHub stars.

Open stanford-oval/genie-toolkit
Reproduction risks
  • Adjacent implementations are not paper-verified
  • Recommended repository is adjacent and not paper-verified.
  • No direct maintained implementation is currently verified.
  • Only historical official repository was found: stanford-oval/genie-toolkit.
  • No maintained paper-verified implementation met reliability thresholds.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

stanford-oval/genie-toolkit
historical official
Maintenance
Stale
Confidence
High
Reproducibility
Limited
Stars
202
Last push
Jun 7, 2023 (1175d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases
Maintenance
Stale
Confidence
Medium
Reproducibility
Moderate
Stars
90
Last push
Mar 16, 2024 (892d)

Official implementation from Papers with Code · Community adoption signal (90 stars)

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases
Maintenance
Stale
Confidence
Medium
Reproducibility
Limited
Stars
19
Last push
Aug 22, 2022 (1464d)

Official implementation from Papers with Code · Repository appears stale (>24 months since last push)

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases

Reproduction readiness

Time to first repro: days
Last checked: Aug 23, 2026

Major work

No dependency manifest, manual reconstruction required

  • stanford-oval/genie-toolkit has no requirements.txt, environment.yml, pyproject.toml, or Dockerfile.
  • You will need to reverse-engineer dependencies from import statements in the source code.
  • Last push was 1175 days ago.
Open stanford-oval/genie-toolkit

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Repositories and ecosystem

Closest related implementations

These are not paper-verified. Use them as reference points when no direct implementation is available.

Official

  • stanford-oval/genienlp
    Confidence: Medium

    GenieNLP: A versatile codebase for any NLP task

    90 stars · 25 forks · Last push Mar 16, 2024 · NOASSERTION license

  • stanford-oval/schema2qa
    Confidence: Medium

    Schema2QA Question Answering Dataset

    19 stars · 3 forks · Last push Aug 22, 2022 · NOASSERTION license

Community

No additional community repositories detected yet.

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

9

Citations

27

References

Tasks

Computer science, Paraphrase, Database schema, World Wide Web, Physical Sciences

Methods

Schema (genetic algorithms), Information retrieval

Domains

Artificial intelligence

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).