Schema2QA: High-Quality and Low-Cost Q&A Agents for the Structured Web
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
Building a question-answering agent currently requires large annotated datasets, which are prohibitively expensive.
Benchmark evidence is limited
Evidence graph: 3 refs, 3 links.
Utility signals: depth 100/100, grounding 85/100, status high.
Implementation
Historical official implementation (not recommended for new builds)
Only a historical official implementation is available
Use with caution for new projects; verify against current tooling and maintained community alternatives.
stanford-oval/genie-toolkit · 202 stars · Last push Jun 7, 2023
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- 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.
- 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
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.
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.
- stanford-oval/genienlp Adjacent · Confidence: Medium · 90 stars
Official implementation from Papers with Code
Official
- stanford-oval/genienlpConfidence: Medium
GenieNLP: A versatile codebase for any NLP task
90 stars · 25 forks · Last push Mar 16, 2024 · NOASSERTION license
- stanford-oval/schema2qaConfidence: 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
Related papers
- Susquehanna Chorale Spring Concert "Roots and Wings"Search on Paper2Code
2017 · Semantic similarity
- Enlarging Paraphrase Collections through Generalization and InstantiationSearch on Paper2Code
2012 · Semantic similarity
- Finnish Paraphrase CorpusSearch on Paper2Code
2021 · Semantic similarity
- Chinese Paraphrase Dataset and DetectionSearch on Paper2Code
2021 · Semantic similarity
- Paraphrase extraction from interactive Q&A communitiesSearch on Paper2Code
2012 · Semantic similarity
- A Study on the Application of Paraphrase Strategy in the Translation from Chinese to EnglishSearch on Paper2Code
2018 · Semantic similarity
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.
Data includes links from Papers with Code ( CC-BY-SA-4.0 ).