juliensimon commited on
Commit
d1fc4e8
·
verified ·
1 Parent(s): e5616b4

Update nebula catalog: 60,363 nebulae

Browse files
Files changed (2) hide show
  1. README.md +153 -0
  2. data/nebulae.parquet +3 -0
README.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ 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. 60,363 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:
15
+ - space
16
+ - astronomy
17
+ - nebulae
18
+ - deep-sky
19
+ - wikidata
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 **60,363** 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
+ | `distance_ly` | float | Distance from Earth (light-years) |
66
+ | `angular_size` | float | Angular size (arcminutes) |
67
+ | `catalog_id` | string | Catalog identifier (NGC, IC, Messier, etc.) |
68
+
69
+ ## Quick stats
70
+
71
+ - **60,363** nebulae total
72
+ - **38,616** with equatorial coordinates
73
+ - **294** with distance measurements
74
+ - Distance range: 3 – 67,200,000 light-years
75
+ - Top constellations: Boötes (2,663), Aquila (2,363), Scutum (1,751), Sagittarius (1,688), Scorpius (1,667)
76
+
77
+ ### Breakdown by type
78
+
79
+ - **dark nebula**: 21,031
80
+ - **active galactic nucleus**: 17,587
81
+ - **summit**: 17,275
82
+ - **hill**: 2,695
83
+ - **mountain**: 1,539
84
+ - **spiral galaxy**: 129
85
+ - **volcano**: 16
86
+ - **star**: 13
87
+
88
+ ## Usage
89
+
90
+ ```python
91
+ from datasets import load_dataset
92
+
93
+ ds = load_dataset("juliensimon/nebula-catalog", split="train")
94
+ df = ds.to_pandas()
95
+
96
+ # Count by nebula type
97
+ print(df["nebula_type"].value_counts())
98
+
99
+ # Planetary nebulae with known distances
100
+ pn = df[(df["nebula_type"] == "planetary nebula") & df["distance_ly"].notna()]
101
+ print(pn[["name", "constellation", "distance_ly"]].sort_values("distance_ly").head(10))
102
+
103
+ # Nebulae in Orion
104
+ orion = df[df["constellation"] == "Orion"]
105
+ print(f"{len(orion):,} nebulae in Orion")
106
+
107
+ # Largest nebulae by angular size
108
+ largest = df[df["angular_size"].notna()].nlargest(10, "angular_size")
109
+ print(largest[["name", "nebula_type", "angular_size", "constellation"]])
110
+ ```
111
+
112
+ ## Data source
113
+
114
+ [Wikidata](https://www.wikidata.org/) SPARQL endpoint. Nebulae identified via
115
+ property P31 (instance of) for four nebula-type entities. Data is
116
+ community-curated and reflects contributions from astronomical cataloguing
117
+ projects worldwide.
118
+
119
+ ## Update schedule
120
+
121
+ Quarterly (January, April, July, October). Re-run manually at any time to
122
+ pick up newly catalogued objects.
123
+
124
+ ## Related datasets
125
+
126
+ - [planetary-nebulae](https://huggingface.co/datasets/juliensimon/planetary-nebulae) -- dedicated planetary nebula catalog
127
+ - [ngc-ic-catalog](https://huggingface.co/datasets/juliensimon/ngc-ic-catalog) -- NGC/IC catalog of deep-sky objects
128
+ - [messier-catalog](https://huggingface.co/datasets/juliensimon/messier-catalog) -- Messier catalog
129
+
130
+ ## Pipeline
131
+
132
+ Source code: [juliensimon/space-datasets](https://github.com/juliensimon/space-datasets)
133
+
134
+ ## Support
135
+
136
+ 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.
137
+
138
+ ## Citation
139
+
140
+ ```bibtex
141
+ @dataset{nebula_catalog,
142
+ author = {Simon, Julien},
143
+ title = {Nebula Catalog},
144
+ year = {2026},
145
+ publisher = {Hugging Face},
146
+ url = {https://huggingface.co/datasets/juliensimon/nebula-catalog},
147
+ note = {Sourced from Wikidata (CC0)}
148
+ }
149
+ ```
150
+
151
+ ## License
152
+
153
+ [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/) (Wikidata content is public domain)
data/nebulae.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba3203804c4e9a0757c98074b1a6f97f3b81d8956d13e2d7fe74e19ca706b031
3
+ size 1773636