Datasets:
Update ProofWriter parquet subsets + card
Browse files- CWA/test.parquet +3 -0
- CWA/train.parquet +3 -0
- CWA/validation.parquet +3 -0
- OWA/test.parquet +3 -0
- OWA/train.parquet +3 -0
- OWA/validation.parquet +3 -0
- README.md +80 -0
CWA/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:436fe7c4b2a549a3209bfcbc14472c2fb03a1f5a665c524e717611375a1ad6b4
|
| 3 |
+
size 6131772
|
CWA/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08b7fc1e54cf560b26d2d24d54d3c23009c12a0a1ab3a0f295453820bc187de9
|
| 3 |
+
size 21022012
|
CWA/validation.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ec7d1723ee506b5ad4f41f243387821425b03615b9e2288999cdd1dea65646d
|
| 3 |
+
size 3065187
|
OWA/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03305265ef072de219cb10718366d652734bcd0e5ca615c22d3f6d726246475c
|
| 3 |
+
size 5898435
|
OWA/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ce14cff096d7c025adb59ef8d6b8080a9fac1a55dc422537f0f36995bb2c87d
|
| 3 |
+
size 20160010
|
OWA/validation.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45e5621508bb7e7e8233d35cbd23ebcfbf7c6a92ca965ea1c69117b1a5adab78
|
| 3 |
+
size 2946801
|
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: ProofWriter (structured)
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- text-classification
|
| 7 |
+
tags:
|
| 8 |
+
- logical-reasoning
|
| 9 |
+
- entailment
|
| 10 |
+
- proof
|
| 11 |
+
- proofwriter
|
| 12 |
+
- ruletaker
|
| 13 |
+
- datalog
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: OWA
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: OWA/train.parquet
|
| 19 |
+
- split: validation
|
| 20 |
+
path: OWA/validation.parquet
|
| 21 |
+
- split: test
|
| 22 |
+
path: OWA/test.parquet
|
| 23 |
+
- config_name: CWA
|
| 24 |
+
data_files:
|
| 25 |
+
- split: train
|
| 26 |
+
path: CWA/train.parquet
|
| 27 |
+
- split: validation
|
| 28 |
+
path: CWA/validation.parquet
|
| 29 |
+
- split: test
|
| 30 |
+
path: CWA/test.parquet
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
# ProofWriter — structured
|
| 34 |
+
|
| 35 |
+
A cleaned, structured build of AI2's [ProofWriter](https://allenai.org/data/proofwriter)
|
| 36 |
+
for logical entailment with **reasoning-graph** supervision. Each row is one *theory*
|
| 37 |
+
(facts + Horn-clause rules) with the questions posed against it; the zip's formal string
|
| 38 |
+
reps are parsed into **typed atoms** `(subject, relation, object, polarity)`, and every
|
| 39 |
+
question keeps its gold answer and gold derivation as a structured **proof graph** — so no
|
| 40 |
+
natural-language reverse-engineering is needed downstream.
|
| 41 |
+
|
| 42 |
+
## Subsets & splits
|
| 43 |
+
|
| 44 |
+
- **`OWA`** — open-world assumption; answers are `True` / `False` / `Unknown`.
|
| 45 |
+
- **`CWA`** — closed-world assumption; answers are `True` / `False` (unprovable = false).
|
| 46 |
+
|
| 47 |
+
Each subset has `train` / `validation` / `test` splits. Core reasoning depths
|
| 48 |
+
`{0, 1, 2, 3, 5}` are pooled within a subset (see the `depth` column); the theory family
|
| 49 |
+
(`AttNeg` / `AttNoneg` / `RelNeg` / `RelNoneg`) is in the `family` column.
|
| 50 |
+
|
| 51 |
+
## Row schema
|
| 52 |
+
|
| 53 |
+
| column | type | notes |
|
| 54 |
+
|---|---|---|
|
| 55 |
+
| `id` / `depth` / `family` | str / int / str | per-theory metadata |
|
| 56 |
+
| `theory_text` | str | the theory in natural language |
|
| 57 |
+
| `facts` | list | atoms `{id, text, subject, relation, object, polarity}` |
|
| 58 |
+
| `rules` | list | `{id, text, premises:[atom], conclusion:atom}` (NAF `~` in CWA) |
|
| 59 |
+
| `questions` | list | `{id, text, query, answer, qdep, qlen, strategy, proofs, proof_graph}` |
|
| 60 |
+
| `proof_graph` | list | `{tree, intermediates:[atom]}` — gold derivation (`qlen` -1 if none) |
|
| 61 |
+
|
| 62 |
+
## Provenance & citation
|
| 63 |
+
|
| 64 |
+
Built with [`graph-reasoner`](https://github.com/RLHF-And-Friends/graph-reasoner) (`gr data
|
| 65 |
+
proofwriter`) from the official ProofWriter release (`V2020.12.3`), which extends RuleTaker. Please
|
| 66 |
+
cite the upstream work; confirm the upstream data license before any downstream redistribution.
|
| 67 |
+
|
| 68 |
+
```bibtex
|
| 69 |
+
@inproceedings{tafjord2021proofwriter,
|
| 70 |
+
title={ProofWriter: Generating Implications, Proofs, and Abductive Statements over
|
| 71 |
+
Natural Language},
|
| 72 |
+
author={Tafjord, Oyvind and Dalvi, Bhavana and Clark, Peter},
|
| 73 |
+
booktitle={Findings of ACL}, year={2021}
|
| 74 |
+
}
|
| 75 |
+
@inproceedings{clark2020ruletaker,
|
| 76 |
+
title={Transformers as Soft Reasoners over Language},
|
| 77 |
+
author={Clark, Peter and Tafjord, Oyvind and Richardson, Kyle},
|
| 78 |
+
booktitle={IJCAI}, year={2020}
|
| 79 |
+
}
|
| 80 |
+
```
|