juliensimon commited on
Commit
e808ee4
·
verified ·
1 Parent(s): 81a7db7

Update nebula catalog: 21,033 nebulae

Browse files
Files changed (3) hide show
  1. README.md +53 -54
  2. banner.jpg +3 -0
  3. data/nebulae.parquet +2 -2
README.md CHANGED
@@ -3,12 +3,7 @@ license: cc0-1.0
3
  pretty_name: "Nebula Catalog"
4
  language:
5
  - en
6
- description: >-
7
- Catalog of nebulae sourced from Wikidata, covering emission, reflection,
8
- dark, and planetary nebulae. 21,033 entries with coordinates, distances,
9
- angular sizes, and constellation assignments.
10
- size_categories:
11
- - 10K<n<100K
12
  task_categories:
13
  - tabular-classification
14
  tags:
@@ -20,49 +15,51 @@ tags:
20
  - open-data
21
  - tabular-data
22
  - parquet
 
 
23
  configs:
24
  - config_name: default
25
- default: true
26
  data_files:
27
  - split: train
28
  path: data/nebulae.parquet
 
29
  ---
30
 
31
  # Nebula Catalog
32
 
33
- *Part of the [Astronomy Datasets](https://huggingface.co/collections/juliensimon/astronomy-datasets-69c24caf2f17e36128946743) collection on Hugging Face.*
34
 
35
- A comprehensive catalog of **21,033** nebulae sourced from [Wikidata](https://www.wikidata.org/),
36
- covering emission, reflection, dark, and planetary nebulae across the sky.
 
 
 
 
 
37
 
38
  ## Dataset description
39
 
40
- Nebulae are clouds of interstellar gas and dust the birthplaces of stars,
41
- the remnants of dying ones, and some of the most visually spectacular objects
42
- in the universe. This dataset aggregates structured data from Wikidata's
43
- knowledge base, drawing on decades of cataloguing from Messier, NGC, IC, and
44
- other surveys.
 
 
45
 
46
- Each entry includes the nebula's name, type, host constellation, equatorial
47
- coordinates (right ascension and declination), distance from Earth, angular
48
- size on the sky, and a representative catalog identifier. This enables
49
- sky-survey cross-matching, population studies by type or constellation, and
50
- distance/size distribution analysis.
51
 
52
- Sourced from Wikidata SPARQL using P31 (instance of) for emission (Q207326),
53
- reflection (Q167278), dark (Q46587), and planetary (Q204194) nebulae.
54
 
55
  ## Schema
56
 
57
- | Column | Type | Description |
58
- |--------|------|-------------|
59
- | `wikidata_id` | string | Wikidata entity ID (e.g. Q12345) |
60
- | `name` | string | Common or catalog name |
61
- | `nebula_type` | string | Nebula type (emission, reflection, dark, planetary) |
62
- | `constellation` | string | Host constellation |
63
- | `ra_deg` | float | Right ascension (degrees) |
64
- | `dec_deg` | float | Declination (degrees) |
65
- | `catalog_id` | string | Catalog identifiers (NGC, IC, Messier, etc.; semicolon-separated) |
66
 
67
  ## Quick stats
68
 
@@ -82,6 +79,13 @@ reflection (Q167278), dark (Q46587), and planetary (Q204194) nebulae.
82
  ```python
83
  from datasets import load_dataset
84
 
 
 
 
 
 
 
 
85
  ds = load_dataset("juliensimon/nebula-catalog", split="train")
86
  df = ds.to_pandas()
87
 
@@ -96,50 +100,45 @@ print(pn[["name", "constellation", "ra_deg", "dec_deg"]].head(10))
96
  orion = df[df["constellation"] == "Orion"]
97
  print(f"{len(orion):,} nebulae in Orion")
98
 
99
- # Dark nebulae
100
- dark = df[df["nebula_type"] == "dark nebula"]
101
- print(f"{len(dark):,} dark nebulae")
 
 
 
 
102
  ```
103
 
104
  ## Data source
105
 
106
- [Wikidata](https://www.wikidata.org/) SPARQL endpoint. Nebulae identified via
107
- property P31 (instance of) for four nebula-type entities. Data is
108
- community-curated and reflects contributions from astronomical cataloguing
109
- projects worldwide.
110
-
111
- ## Update schedule
112
-
113
- Quarterly (January, April, July, October). Re-run manually at any time to
114
- pick up newly catalogued objects.
115
 
116
  ## Related datasets
117
 
118
- - [planetary-nebulae](https://huggingface.co/datasets/juliensimon/planetary-nebulae) -- dedicated planetary nebula catalog
119
- - [ngc-ic-catalog](https://huggingface.co/datasets/juliensimon/ngc-ic-catalog) -- NGC/IC catalog of deep-sky objects
120
- - [messier-catalog](https://huggingface.co/datasets/juliensimon/messier-catalog) -- Messier catalog
121
 
122
- ## Pipeline
123
 
124
- Source code: [juliensimon/space-datasets](https://github.com/juliensimon/space-datasets)
125
 
126
- ## Support
127
 
128
- If you find this dataset useful, please give it a ❤️ on the [dataset page](https://huggingface.co/datasets/juliensimon/nebula-catalog) and share feedback in the Community tab! Also consider giving a ⭐️ to the [space-datasets](https://github.com/juliensimon/space-datasets) repo.
129
 
130
  ## Citation
131
 
132
  ```bibtex
133
  @dataset{nebula_catalog,
134
- author = {Simon, Julien},
135
  title = {Nebula Catalog},
 
136
  year = {2026},
137
- publisher = {Hugging Face},
138
  url = {https://huggingface.co/datasets/juliensimon/nebula-catalog},
139
- note = {Sourced from Wikidata (CC0)}
140
  }
141
  ```
142
 
143
  ## License
144
 
145
- [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/) (Wikidata content is public domain)
 
3
  pretty_name: "Nebula Catalog"
4
  language:
5
  - en
6
+ description: "Catalog of nebulae sourced from Wikidata, covering emission, reflection, dark, and planetary nebulae across the sky. Nebulae are clouds of interstellar gas and dust -- the birthplaces of stars, the r"
 
 
 
 
 
7
  task_categories:
8
  - tabular-classification
9
  tags:
 
15
  - open-data
16
  - tabular-data
17
  - parquet
18
+ size_categories:
19
+ - 10K<n<100K
20
  configs:
21
  - config_name: default
 
22
  data_files:
23
  - split: train
24
  path: data/nebulae.parquet
25
+ default: true
26
  ---
27
 
28
  # Nebula Catalog
29
 
 
30
 
31
+ <div align="center">
32
+ <img src="banner.jpg" alt="The Crab Nebula observed by the Hubble Space Telescope" width="400">
33
+ <p><em>Credit: NASA/ESA/Hubble</em></p>
34
+ </div>
35
+
36
+
37
+ *Part of a [dataset collection](https://huggingface.co/collections/juliensimon/astronomy-datasets-69c24caf2f17e36128946743) on Hugging Face.*
38
 
39
  ## Dataset description
40
 
41
+ Catalog of nebulae sourced from Wikidata, covering emission, reflection, dark, and planetary nebulae across the sky.
42
+
43
+ Nebulae are clouds of interstellar gas and dust -- the birthplaces of stars, the remnants of dying ones, and some of the most visually spectacular objects in the universe. This dataset aggregates structured data from Wikidata's knowledge base, drawing on decades of cataloguing from Messier, NGC, IC, and other surveys.
44
+
45
+ Each entry includes the nebula's name, type, host constellation, equatorial coordinates (right ascension and declination), and representative catalog identifiers. This enables sky-survey cross-matching, population studies by type or constellation, and spatial distribution analysis.
46
+
47
+ Sourced from Wikidata SPARQL using P31 (instance of) for emission (Q207326), reflection (Q167278), dark (Q46587), and planetary (Q204194) nebulae.
48
 
 
 
 
 
 
49
 
50
+ This dataset is suitable for **tabular classification** tasks.
 
51
 
52
  ## Schema
53
 
54
+ | Column | Type | Description | Sample | Null % |
55
+ |--------|------|-------------|--------|--------|
56
+ | `wikidata_id` | string | Wikidata entity ID (e.g. 'Q12345'); stable URI for cross-referencing other catalogs and knowledge bases | Q85589522 | 0.0% |
57
+ | `name` | string | Common or catalog name as recorded in Wikidata (e.g. 'Orion Nebula', 'NGC 1499', 'Barnard 68'); null for objects with no recorded label | 2dFS 1734 | 0.0% |
58
+ | `nebula_type` | string | Physical nebula class: 'planetary nebula' (expanding shell from AGB star), 'emission nebula' (ionized HII region), 'reflection nebula' (dust scattering starlight), 'dark nebula' (opaque dust blocking background), 'supernova remnant' (ejecta from stellar explosion) | dark nebula | 0.0% |
59
+ | `constellation` | string | IAU constellation in which the nebula is located (e.g. 'Orion', 'Cygnus'); null if not recorded in Wikidata | Tucana | 2.0% |
60
+ | `ra_deg` | float64 | Right ascension in decimal degrees, ICRS J2000.0; range 0-360; null if coordinates not in Wikidata | 15.773833 | 0.8% |
61
+ | `dec_deg` | float64 | Declination in decimal degrees, ICRS J2000.0; range -90 to +90; null if coordinates not in Wikidata | -72.167944 | 0.8% |
62
+ | `catalog_id` | string | Cross-reference identifiers from NGC, IC, Messier, and other catalogs, semicolon-separated (e.g. 'NGC 1952; M 1'); null for objects catalogued only in Wikidata | 2dFS 1734; MCPS 1.051561-72.16803; OG... | 0.1% |
63
 
64
  ## Quick stats
65
 
 
79
  ```python
80
  from datasets import load_dataset
81
 
82
+ ds = load_dataset("juliensimon/nebula-catalog", split="train")
83
+ df = ds.to_pandas()
84
+ ```
85
+
86
+ ```python
87
+ from datasets import load_dataset
88
+
89
  ds = load_dataset("juliensimon/nebula-catalog", split="train")
90
  df = ds.to_pandas()
91
 
 
100
  orion = df[df["constellation"] == "Orion"]
101
  print(f"{len(orion):,} nebulae in Orion")
102
 
103
+ # Distribution by type
104
+ import matplotlib.pyplot as plt
105
+ df["nebula_type"].value_counts().plot.barh()
106
+ plt.xlabel("Count")
107
+ plt.title("Nebulae by Type")
108
+ plt.tight_layout()
109
+ plt.show()
110
  ```
111
 
112
  ## Data source
113
 
114
+ https://www.wikidata.org/
 
 
 
 
 
 
 
 
115
 
116
  ## Related datasets
117
 
118
+ - [juliensimon/planetary-nebulae](https://huggingface.co/datasets/juliensimon/planetary-nebulae)
119
+
120
+ - [juliensimon/ngc-ic-catalog](https://huggingface.co/datasets/juliensimon/ngc-ic-catalog)
121
 
122
+ - [juliensimon/messier-catalog](https://huggingface.co/datasets/juliensimon/messier-catalog)
123
 
124
+ > If you find this dataset useful, please consider [giving it a like](https://huggingface.co/datasets/juliensimon/nebula-catalog) on Hugging Face. It helps others discover it.
125
 
126
+ ## About the author
127
 
128
+ Created by [Julien Simon](https://julien.org) AI Operating Partner at Fortino Capital. Part of the [Space Datasets](https://julien.org/datasets) collection.
129
 
130
  ## Citation
131
 
132
  ```bibtex
133
  @dataset{nebula_catalog,
 
134
  title = {Nebula Catalog},
135
+ author = {juliensimon},
136
  year = {2026},
 
137
  url = {https://huggingface.co/datasets/juliensimon/nebula-catalog},
138
+ publisher = {Hugging Face}
139
  }
140
  ```
141
 
142
  ## License
143
 
144
+ [CC0-1.0](https://creativecommons.org/licenses/by/4.0/)
banner.jpg ADDED

Git LFS Details

  • SHA256: d9bb8c328cf2efad61f2e6aa315890666d672466bcc2bc7df0654aa4f61347b0
  • Pointer size: 130 Bytes
  • Size of remote file: 73.9 kB
data/nebulae.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a85f9ef1d864667e97ff43d340f2e94aaab44d8218f877282d22158f60c5ee12
3
- size 578963
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ad2fbc278903c92c7d35129e5e3e8d9f369b00728d654ff3e8ea6fe8aceb2d7
3
+ size 578958