File size: 5,707 Bytes
860fd4c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | ---
pretty_name: LitGraph
language:
- en
- zh
tags:
- scientific-literature
- research-ideation
- artificial-intelligence
size_categories:
- 100K<n<1M
configs:
- config_name: domains
data_files:
- split: train
path: data/domains.parquet
- config_name: insights
data_files:
- split: train
path: data/insights.parquet
- config_name: problems
data_files:
- split: train
path: data/problems.parquet
- config_name: papers
data_files:
- split: train
path: data/papers.parquet
- config_name: domain_papers
data_files:
- split: train
path: data/domain_papers.parquet
---
# LitGraph
LitGraph organizes AI literature into 856 research domains, with structured
insights, problems, supporting-paper links, and paper cards for research ideation.
This release is dated 2026-11-12.
| Component | Count |
|---|---:|
| Domains | 856 |
| Unique papers | 256,227 |
| Domain–paper assignments | 256,361 |
| Insights | 53,301 |
| Problems | 51,858 |
| Papers with structured cards | 256,129 |
| Papers with metadata only | 98 |
The insight/problem counts match the frozen export used for the manuscript's
library statistics. Domain-level and case-level entries are both included.
All available paper cards from that export are included, including 694 cards
absent from the older API database's subset of entry-linked papers.
## Contents
Two equivalent access formats are supplied:
- `snapshot/library.db`: complete entries and available structured paper cards,
with SQLite FTS5 search data.
- `snapshot/api_index.db`: field search index, paper metadata and abstracts,
domain catalog, and domain–paper mappings for the read-only HTTP API.
- `snapshot/domains.json`: the complete 856-domain catalog.
- `data/*.parquet`: typed tables for Hugging Face, Python, SQL engines, and
downstream processing. These preserve the original nested records in JSON
string columns so heterogeneous extraction fields do not silently disappear.
- `api/` and `serve.py`: read-only API implementation and portable launcher.
- `statistics.json`, `manifest.json`, `SHA256SUMS`, `CHANGELOG.md`: counts,
provenance identifiers, checksums, and differences from the older live API.
The Parquet configs are different tables, not experimental train/test splits;
`train` is a loader label for the full table.
## Use the local database and API
Download the complete dataset repository, then run from its root:
```bash
pip install huggingface_hub
hf download Einsia/LitGraph --repo-type dataset --local-dir LitGraph
cd LitGraph
```
```bash
python serve.py --verify-only
python serve.py --port 8895
```
Requires Python 3.10+ with SQLite FTS5. No model key, GPU, vector model, or paid API
is needed for retrieval. The launcher verifies the database and index against
the release checksums, then creates a local index copy to accommodate changed
file timestamps after download. The distributed snapshot files stay intact.
Allow approximately 0.8 GB of extra space for that local index copy.
```text
http://127.0.0.1:8895/llms.txt
http://127.0.0.1:8895/openapi.json
http://127.0.0.1:8895/api/v1/stats
http://127.0.0.1:8895/api/v1/domains?limit=100
http://127.0.0.1:8895/api/v1/search?q=distillation&kind=insight&mode=any
```
The API uses field-specific lexical BM25 with Chinese bigram tokenization.
It does not implement vector search. Hugging Face stores the downloadable
snapshot; uploading this repository does not itself deploy an HTTP API.
## Read Parquet
Load an individual table directly from Hugging Face:
```python
from datasets import load_dataset
insights = load_dataset('Einsia/LitGraph', 'insights', split='train')
```
Or read the downloaded files locally:
```python
import pyarrow.parquet as pq
insights = pq.read_table('data/insights.parquet').to_pandas()
papers = pq.read_table('data/papers.parquet', columns=[
'paper_id', 'title', 'abstract', 'source_card_available'
]).to_pandas()
```
| Table | Main columns |
|---|---|
| domains | id, name, paper_count, domain_json |
| insights / problems | id, domain_id, kind, tier, statement, supporting_paper_ids, entry_json |
| papers | paper_id, title, year, venue, arxiv, abstract, source_card_available, domain_ids, metadata_json, card_json |
| domain_papers | domain_id, paper_id |
Parse `entry_json`, `card_json`, `metadata_json`, or `domain_json` with
`json.loads` to access the complete nested record. Original scientific fields
are retained. Pipeline response traces, prompts, usage logs, and internal
ingestion-source fields are excluded. Paper years retain their source string
representation; no silent correction of known source anomalies is applied.
`metadata_json` also preserves the upstream intuition/problem-definition fields
where present, which the current HTTP API does not expose.
## Evidence and version scope
This dataset contains metadata, abstracts, and extracted/aggregated research
materials. It does **not** contain a full-text or PDF collection. A card's
`source=fulltext` means its extraction used full text, not that the full text is
included. Some cards do not record their extraction depth; see `statistics.json`.
Model-extracted statements can contain errors and should be checked against the
linked original publications. Paper IDs are local numeric IDs, not OpenAlex IDs.
This is a current corpus, not a historical-cutoff or benchmark-masked snapshot.
The 38-domain IdeaX benchmark data, run trajectories, generated ideas, scores,
credentials, and working directories are outside this dataset release.
A dataset-wide reuse license has not yet been specified. This repository does
not grant rights to the original publications or assert a blanket license over
third-party paper material.
|