File size: 9,304 Bytes
4720021
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5c35a01
4720021
d7e93f7
 
 
86f481c
d7e93f7
 
 
 
4720021
d7e93f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4720021
86f481c
4720021
 
 
d7e93f7
4720021
 
d7e93f7
4720021
 
 
 
 
 
 
 
d7e93f7
 
4720021
d7e93f7
 
 
4720021
d7e93f7
4720021
 
d7e93f7
 
 
 
 
 
 
 
 
 
 
 
 
4720021
 
d7e93f7
 
4720021
 
d7e93f7
 
 
4720021
86f481c
4720021
 
 
 
d7e93f7
4720021
 
 
d7e93f7
 
4720021
d7e93f7
4720021
 
d7e93f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4720021
 
 
 
 
 
 
 
d7e93f7
4720021
 
d7e93f7
 
 
 
4720021
86f481c
 
 
 
 
 
d7e93f7
 
 
 
86f481c
d7e93f7
86f481c
 
d7e93f7
 
 
86f481c
d7e93f7
 
86f481c
 
 
 
 
 
 
 
d7e93f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86f481c
 
d7e93f7
 
 
86f481c
d7e93f7
 
 
4720021
d7e93f7
 
 
 
 
4720021
 
 
d7e93f7
4720021
 
 
d7e93f7
 
 
 
 
 
 
 
 
 
 
 
 
4720021
 
 
 
 
 
 
 
 
d7e93f7
 
 
 
 
 
4720021
d7e93f7
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
---
license: cc-by-4.0
language:
- en
- zh
pretty_name: AutoOntologyBench
size_categories:
- 10K<n<100K
task_categories:
- text-generation
- question-answering
configs:
- config_name: default
  data_files:
  - split: test
    path: tasks/qualified_tasks_test.jsonl
---

<h1><img src="assets/logo.png" alt="AutoOntologyBench logo" width="56" valign="middle" style="display:inline-block; vertical-align:middle; margin-right:8px;" /> AutoOntologyBench</h1>

[![arXiv](https://img.shields.io/badge/arXiv-2611.27734-b31b1b.svg)](https://arxiv.org/abs/2611.27734)
[![GitHub](https://img.shields.io/badge/GitHub-AutoOntologyBench-181717?logo=github&logoColor=white)](https://github.com/VinyehShaw/AutoOntologyBench)
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](LICENSE-DATA.md)

**AutoOntologyBench** is a task-grounded benchmark for **agentic knowledge
engineering**. It asks whether foundation-model agents can acquire, organize,
repair, and construct domain knowledge, and whether the resulting ontologies
improve *verified* task success over direct tool use or retrieval.

The benchmark is grounded in **18 real-world, versioned knowledge sources**
across **7 domains** and **16 native-verifiable lanes**, each scored by its
source-native verifier. Tasks span four regimes: **Application**, **Repair**,
**Organization**, and **Construction**. The released Answer-20K set contains
**19,947 audited tasks** derived from 4,511 base goals and 325 task families;
the Core-Worlds package contains **19,950 world-grounded task records** across
L01-L16.

- Paper: [arXiv:2611.27734](https://arxiv.org/abs/2611.27734)
- Code: [github.com/VinyehShaw/AutoOntologyBench](https://github.com/VinyehShaw/AutoOntologyBench)
- Community: [huggingface.co/AutoOntologyBench](https://huggingface.co/AutoOntologyBench) <img src="assets/huggingface.svg" alt="Hugging Face" width="18" height="18" valign="middle" />

<p align="center">
  <img src="assets/overview.png" alt="AutoOntologyBench overview" width="760" />
</p>

## Tracks

| Track | Location | Tasks | Evaluator |
|---|---|---:|---|
| Answer-20K | root (`tasks/`) | 19,947 | `src/scripts/eval_20k_all.sh` |
| Core-Worlds | `core_worlds/` | 19,950 | `src/scripts/eval_core.sh` |

The dataset repository carries the public task data plus evaluation-only
artifacts under `oracle/` and `core_worlds/private/`. The canonical evaluator
code lives in the GitHub repository linked above.

## Answer-20K

The Answer-20K track contains **19,947 public task records** across **16 lanes**,
**4 task regimes**, **325 families**, and **4,511 base goals**. All rows are
the official **test** split; there is no train/dev split in this release.

### Release facts

- Candidate build: `aob-20000-candidate-dev1` (20,000 candidates)
- Admission audit: **19,947 qualified**, **53 rejected**, 0 pending, 0 missing
- Public task rows: **19,947**
- Regimes:
  - application: 7,033
  - repair: 6,100
  - organization: 5,319
  - construction: 1,495
- Language: English task text; Chinese translations are provided for display
  only; English `public.user_goal` is authoritative.
- Answers/oracle values are **not** included in `tasks/`. Scoring requires the
  evaluation oracle under `oracle/`.

The public task rows are a redacted projection of the audit rows:
private/audit fields such as `native_evidence`, `seed`, and `source_refs` are
removed, and `split=test` is added.

### Repository layout

```text
.
├── tasks/
│   ├── qualified_tasks_test.jsonl   # 19,947 public task records
│   ├── task_manifest_test.jsonl     # 19,947 lineage rows
│   └── user_goal_zh.jsonl           # 19,947 Chinese display translations
├── oracle/
│   ├── AutoOntologyBench-oracle.tar.gz
│   ├── AutoOntologyBench-oracle.tar.gz.sha256
│   └── README.md
├── source_data/                     # pinned source snapshots + indexes + receipts
├── core_worlds/                     # Core-Worlds track (data, private artifacts, legacy src)
├── code/                            # legacy 20K code archive; GitHub is canonical
├── EVAL.md                          # provider-specific evaluation notes
├── LICENSE-DATA.md
├── MANIFEST.json
├── MANIFEST.sha256
└── README.md
```

`qualified_tasks_test.jsonl` is the task file used by the evaluator.
`task_manifest_test.jsonl` carries lineage metadata. The Chinese file is not an
additional task source; it is a display-only translation overlay.

## Load Answer-20K

```python
from datasets import load_dataset

ds = load_dataset("Vinyeh/AutoOntologyBench", split="test")
print(len(ds), ds[0]["task_id"])
```

If the dataset is mirrored under an organization, replace `Vinyeh` with that
organization.

## Evaluate Answer-20K with the GitHub code

```bash
git clone https://github.com/VinyehShaw/AutoOntologyBench.git
cd AutoOntologyBench

python3.11 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

# Download the public tasks, the oracle archive, and the Core data together.
hf download Vinyeh/AutoOntologyBench \
  --repo-type dataset \
  --local-dir ../aob-data

# Extract the evaluation oracle next to the dataset download.
tar -xzf ../aob-data/oracle/AutoOntologyBench-oracle.tar.gz -C ../aob-data

export EVAL_TASKS="../aob-data/tasks/qualified_tasks_test.jsonl"
export EVAL_ORACLE_ROOTS="../aob-data/staging_20k:../aob-data/staging"

bash src/scripts/eval_20k_all.sh \
  --provider openai \
  --model gpt-4.1 \
  --sample-per-lane 5
```

For a full run:

```bash
bash src/scripts/eval_20k_all.sh --sample-per-lane 0
```

Outputs go to `runs/eval_<UTC>/`. The evaluator reports `TSR`, `V-TSR`,
unsafe-action counts, cost fields, per-lane/per-family breakdowns, and optional
offline metrics (CPS, batch TSR, regime TSR, MapF1/Common-7, F_rule). See
`EVAL.md` for OpenAI-compatible, vLLM, and Anthropic setups.

## Core-Worlds

`core_worlds/` is the world-grounded Core track, separate from Answer-20K:

- **16 worlds / 19,950 tasks**
- one ontology artifact per world: `O = (C, R, X, Phi)`
- per-world RDF/OWL/SHACL artifacts, public materials, and task context
- public tasks under `core_worlds/data/core/`
- evaluation oracle and gold/corrupt/repaired artifacts under
  `core_worlds/private/` (evaluation-only; do not redistribute)

Run the evaluator from the GitHub checkout:

```bash
export EVAL_TASKS="../aob-data/core_worlds/data/core/tasks/tasks.jsonl"
export AOB_CORE_ORACLE="../aob-data/core_worlds/private/oracle/core_oracle.jsonl"

bash src/scripts/eval_core.sh \
  --provider openai \
  --model gpt-4.1 \
  --sample-per-world 10
```

OpenAI-compatible APIs, local vLLM, and Anthropic are supported. Custom
harnesses can score with `benchmark.eval_core.run` and the documented
`task_id + answer` submission schema. The one-click evaluator is answer-level,
not the full agentic ontology-repair executor.

## Important limitations

- **Answers are not in the public task rows.** Scoring requires the oracle
  archive under `oracle/` (Answer-20K) or
  `core_worlds/private/oracle/core_oracle.jsonl` (Core-Worlds).
- **Do not redistribute the oracle artifacts.** They are evaluation-only,
  including when they are present in this dataset repository.
- **L08 caveat.** Some L08 tasks require evidence support; see `EVAL.md` and
  the code release's publication audit. Do not treat unscored rows as passes.
- **Source data carries upstream terms.** `source_data/` is not part of the
  public task file; see `source_data/README.md` and per-source attribution in
  `LICENSES/`.
- **No full 19,947 evaluation is included.** The packaging was tested with a
  160-task all-lane smoke run; it is not a leaderboard result.

## Code

GitHub is the canonical code source:

https://github.com/VinyehShaw/AutoOntologyBench

The `code/AutoOntologyBench-code.tar.gz` archive in this dataset repository is a
legacy snapshot. Use the GitHub repository for the current evaluator, scripts,
and documentation.

## Release identifiers

Use `MANIFEST.json` and `MANIFEST.sha256` to identify this release. They record
the task counts, task-file hashes, and the provenance of the public projection.
Cite the paper and record the manifest hash when reporting results.

## License and attribution

The task records are released under **CC BY 4.0**. Third-party source
attribution and source-specific terms are in `LICENSES/ATTRIBUTION.md` and the
per-source files under `LICENSES/`. The code release is Apache-2.0.

If you use this benchmark, cite the AutoOntologyBench paper and record the
release identifier/checksum.

## Citation

```bibtex
@article{shao2026autoontologybench,
  title   = {AutoOntologyBench: A Task-Grounded Benchmark for Agentic Knowledge Engineering},
  author  = {Shao, Minye and Xiao, Chenghao and Zhao, Xingyue and Long, Yang},
  journal = {arXiv preprint arXiv:2611.27734},
  year    = {2026}
}
```

## Integrity

`MANIFEST.sha256` covers the files in this directory. Verify with:

```bash
sha256sum -c MANIFEST.sha256
```

The oracle archive has its own checksum:

```bash
sha256sum -c oracle/AutoOntologyBench-oracle.tar.gz.sha256
```

`MANIFEST.json` records the release counts, audit status, task-file hashes, and
the distinction between the public projection and the audit raw file.