ilkhamfy commited on
Commit
e5ee97b
·
verified ·
1 Parent(s): 40fc828

release v0.1

Browse files
FIELDS.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Fields
2
+
3
+ One row per reported specific rotation. Both files share these columns.
4
+
5
+ | Field | Content |
6
+ |---|---|
7
+ | `record_id` | stable identifier |
8
+ | `pmcid`, `doi` | source article |
9
+ | `source_part` | `main` (article text) or `si` (supporting information) |
10
+ | `licence`, `licence_class` | source licence string and class (`commercial` for CC BY/CC0) |
11
+ | `nd_source_licence` | true when the source licence forbids derivatives (ND) |
12
+ | `value_deg` | specific rotation as reported, in degrees |
13
+ | `sign_explicit` | whether a + or − sign was written |
14
+ | `temperature_C`, `wavelength_nm` | measurement temperature and wavelength (589 for the sodium D line) |
15
+ | `concentration`, `concentration_unit` | concentration as reported; g/100 mL unless another unit is written |
16
+ | `solvent_raw`, `solvent` | solvent as written and canonical name |
17
+ | `compound_name`, `compound_label` | compound as named and labelled in the source |
18
+ | `attribution` | rule that linked the value to the compound |
19
+ | `smiles`, `inchikey`, `structure_source` | resolved structure (OPSIN or PubChem) |
20
+ | `n_stereocentres`, `n_unassigned_stereocentres` | stereocentre counts from RDKit |
21
+ | `hrms_formula_check`, `cip_check`, `name_sign_check` | formula, stereodescriptor and name-sign checks |
22
+ | `racemic_or_relative_name`, `structure_flag` | racemic or relative-configuration name; structure warnings |
23
+ | `literature_value` | value quoted from earlier work for comparison, not measured by the authors |
24
+ | `table_like`, `ee_context` | value read from a table row; enantiomeric-excess text near the value |
25
+ | `tier`, `flag` | quality tier and record flags |
26
+ | `snippet`, `snippet_verbatim` | source text around the value; present only for CC BY and CC0 articles |
27
+ | `snippet_char_start`, `snippet_char_end` | character offsets of the excerpt in the normalized article text |
28
+
29
+ ## Tiers
30
+
31
+ - **A**: experimental value, structure with every stereocentre assigned, no formula or stereodescriptor mismatch, no
32
+ racemic or relative-configuration name. PubChem structures enter tier A only when the HRMS formula matches.
33
+ - **B**: experimental value attributed to a named or labelled compound.
34
+ - **C**: experimental value without an attributed compound.
35
+ - **X**: literature value quoted for comparison.
NOTICE ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ORexp: experimental specific rotations from open-access literature
2
+
3
+ The values, measurement conditions, compound names and structures in this dataset were extracted automatically from
4
+ open-access articles. Each record carries the licence of its source article in the `licence` column.
5
+
6
+ - data/orexp_commercial.parquet: records from articles under CC BY, CC0 or CC BY-ND. The compilation is released under
7
+ CC BY 4.0. Records from CC BY-ND articles are marked `nd_source_licence`.
8
+ - data/orexp_non_commercial.parquet: records from articles under CC BY-NC, CC BY-NC-ND or CC BY-NC-SA. Use is limited
9
+ to non-commercial purposes; CC BY-NC-ND records are marked `nd_source_licence`; CC BY-NC-SA records carry the
10
+ ShareAlike condition of their source.
11
+
12
+ Source excerpts are included verbatim only for CC BY and CC0 articles. Records from articles without an explicit
13
+ Creative Commons licence are not included. Attribute each record through its DOI or PMCID.
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license:
5
+ - cc-by-4.0
6
+ - cc-by-nc-4.0
7
+ tags:
8
+ - chemistry
9
+ - chirality
10
+ - optical-rotation
11
+ - cheminformatics
12
+ - open-data
13
+ size_categories:
14
+ - 10K<n<100K
15
+ pretty_name: ORexp
16
+ configs:
17
+ - config_name: commercial
18
+ data_files: data/orexp_commercial.parquet
19
+ default: true
20
+ - config_name: non_commercial
21
+ data_files: data/orexp_non_commercial.parquet
22
+ - config_name: benchmark_units
23
+ data_files: data/orexp_benchmark_units.parquet
24
+ - config_name: withheld_records
25
+ data_files: data/orexp_withheld_records.parquet
26
+ ---
27
+
28
+ <p align="center">
29
+ <img src="https://huggingface.co/datasets/ilkhamfy/ORexp/resolve/main/figures/orexp_logo.png" alt="ORexp" width="520">
30
+ </p>
31
+
32
+ # ORexp: experimental specific rotations
33
+
34
+ ORexp is a collection of **81,542 specific rotations**, [α], extracted from the experimental sections and supporting
35
+ information of 8,134 open-access articles. Each record keeps the value and the measurement conditions as reported
36
+ (temperature, wavelength, concentration, solvent), the compound name and label, the source DOI or PMCID and the
37
+ source licence. 22,578 records are in tier A: experimental values linked to a structure with every stereocentre
38
+ assigned that passed formula and stereodescriptor checks.
39
+
40
+ ## Files
41
+
42
+ Files are under `data/`.
43
+
44
+ | File | Records | Description |
45
+ |---|---:|---|
46
+ | `orexp_commercial.parquet` | 58,015 | CC BY (58,012), CC0 (1) and CC BY-ND (2) articles; packaged CC BY 4.0, ND rows marked `nd_source_licence` |
47
+ | `orexp_non_commercial.parquet` | 23,527 | CC BY-NC (14,827), CC BY-NC-ND (8,634) and CC BY-NC-SA (66) articles; source licences kept |
48
+ | `orexp_benchmark_units.parquet` | 23,580 units | Benchmark set (tier A, 589 nm, one row per structure and solvent) with split columns; 2,504 `withheld` units carry no value |
49
+ | `orexp_benchmark_unit_records.parquet` | 23,814 | Record-to-unit map; values only for released records |
50
+ | `orexp_withheld_records.parquet` | 8,328 ids | Records from articles without an explicit CC licence: identifiers and character positions only |
51
+
52
+ | Tier | Commercial | Non-commercial |
53
+ |---|---:|---:|
54
+ | A: experimental, checked structure, all stereocentres assigned | 15,366 | 7,212 |
55
+ | B: experimental, named or labelled compound | 26,762 | 9,693 |
56
+ | C: experimental, no attributed compound | 13,995 | 6,086 |
57
+ | X: literature value quoted for comparison | 1,892 | 536 |
58
+
59
+ Also present: `data/SHA256SUMS.txt`, `data/counts.json`, `data/benchmark_counts.json`, `FIELDS.md` (column descriptions) and `NOTICE`.
60
+
61
+ 8,328 extracted records whose article has no established licence, or only a text-and-data-mining statement, are not
62
+ redistributed. They are listed by identifier in `orexp_withheld_records.parquet`, and `scripts/rebuild_withheld.py` in
63
+ the GitHub repository rebuilds them, and the 2,504 benchmark units they supply, from the PMC Open Access files. Article
64
+ full text, PDFs and figures are not redistributed.
65
+
66
+ ## Licences
67
+
68
+ Values, conditions, names and structures are released for every record. The source excerpt (`snippet`) is included
69
+ verbatim only for CC BY and CC0 articles; for the others it is replaced by character offsets into the normalized
70
+ article text (`snippet_char_start`, `snippet_char_end`). Filter on `nd_source_licence` to keep only records whose source
71
+ licence permits adaptation. Attribute each record through `doi` or `pmcid`.
72
+
73
+ ## Load
74
+
75
+ ```python
76
+ from datasets import load_dataset
77
+
78
+ cc = load_dataset("ilkhamfy/ORexp", "commercial", split="train")
79
+ tier_a = cc.filter(lambda r: r["tier"] == "A" and not r["literature_value"])
80
+ nc = load_dataset("ilkhamfy/ORexp", "non_commercial", split="train")
81
+ ```
82
+
83
+ ## Links
84
+
85
+ - Explorer: https://chemai-lab.com/orexp/
86
+ - Code: https://github.com/IlkhamFY/ORexp
data/SHA256SUMS.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ b383f3da0d9821d07d213daac866821942be1bb5a21cb864cd19c050b23e86b4 orexp_benchmark_unit_records.parquet
2
+ 33eb69db14c8b999473fcbd9814e7840ae03b178c35374b3b49f68b88a8fcfe9 orexp_benchmark_units.parquet
3
+ be0594257d7a9372c3e641a58fe4a51c4517f15ce45a2a8c3a6d2d1954e7ef47 orexp_commercial.parquet
4
+ d830b1df65d99e9b34ba96c498dfd1089473da41191fc9d91a901a6c4772a3e3 orexp_non_commercial.parquet
5
+ 9c5640de6e5bc63715b9ecb421c382b76a545794bfdea58c7a511ed744f77cc8 orexp_withheld_records.parquet
data/benchmark_counts.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "withheld_records": 8328,
3
+ "withheld_main": 3339,
4
+ "withheld_si": 4989,
5
+ "benchmark_units": 23580,
6
+ "benchmark_units_withheld": 2504,
7
+ "benchmark_unit_records": 23814,
8
+ "benchmark_unit_records_withheld": 2535
9
+ }
data/counts.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "input_records": 89870,
3
+ "not_released_no_explicit_cc_licence": 8328,
4
+ "orexp_commercial.parquet": {
5
+ "records": 58015,
6
+ "articles": 6672,
7
+ "by_licence": {
8
+ "CC BY": 58012,
9
+ "CC BY-ND": 2,
10
+ "CC0": 1
11
+ },
12
+ "by_tier": {
13
+ "A": 15366,
14
+ "B": 26762,
15
+ "C": 13995,
16
+ "X": 1892
17
+ },
18
+ "with_structure": 19791
19
+ },
20
+ "orexp_non_commercial.parquet": {
21
+ "records": 23527,
22
+ "articles": 1462,
23
+ "by_licence": {
24
+ "CC BY-NC": 14827,
25
+ "CC BY-NC-ND": 8634,
26
+ "CC BY-NC-SA": 66
27
+ },
28
+ "by_tier": {
29
+ "A": 7212,
30
+ "B": 9693,
31
+ "C": 6086,
32
+ "X": 536
33
+ },
34
+ "with_structure": 8599
35
+ }
36
+ }
data/orexp_benchmark_unit_records.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b383f3da0d9821d07d213daac866821942be1bb5a21cb864cd19c050b23e86b4
3
+ size 1021456
data/orexp_benchmark_units.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33eb69db14c8b999473fcbd9814e7840ae03b178c35374b3b49f68b88a8fcfe9
3
+ size 2155403
data/orexp_commercial.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be0594257d7a9372c3e641a58fe4a51c4517f15ce45a2a8c3a6d2d1954e7ef47
3
+ size 9685512
data/orexp_non_commercial.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d830b1df65d99e9b34ba96c498dfd1089473da41191fc9d91a901a6c4772a3e3
3
+ size 1291254
data/orexp_withheld_records.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5640de6e5bc63715b9ecb421c382b76a545794bfdea58c7a511ed744f77cc8
3
+ size 308042
figures/orexp_logo.png ADDED

Git LFS Details

  • SHA256: 920e052e3a6618573d4d88b52d94f39974bcdf4ee7a1503081f01e0925dbaaf7
  • Pointer size: 130 Bytes
  • Size of remote file: 38.3 kB
figures/orexp_logo.svg ADDED