The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
slug: string
question: string
short_answer: string
answer: string
category: string
keywords: list<item: string>
child 0, item: string
canonical_url: string
related_pages: list<item: struct<label: string, href: string>>
child 0, item: struct<label: string, href: string>
child 0, label: string
child 1, href: string
last_updated: timestamp[s]
metadata: struct<name: string, canonical: string, api: string, license: string, license_url: string, cite_as: (... 122 chars omitted)
child 0, name: string
child 1, canonical: string
child 2, api: string
child 3, license: string
child 4, license_url: string
child 5, cite_as: string
child 6, doi: string
child 7, zenodo_url: string
child 8, wikidata_qid: string
child 9, publisher: string
child 10, last_updated: timestamp[s]
child 11, rows: int64
data: list<item: struct<slug: string, question: string, short_answer: string, answer: string, category: st (... 151 chars omitted)
child 0, item: struct<slug: string, question: string, short_answer: string, answer: string, category: string, keywo (... 139 chars omitted)
child 0, slug: string
child 1, question: string
child 2, short_answer: string
child 3, answer: string
child 4, category: string
child 5, keywords: list<item: string>
child 0, item: string
child 6, canonical_url: string
child 7, related_pages: list<item: struct<label: string, href: string>>
child 0, item: struct<label: string, href: string>
child 0, label: string
child 1, href: string
child 8, last_updated: timestamp[s]
to
{'metadata': {'name': Value('string'), 'canonical': Value('string'), 'api': Value('string'), 'license': Value('string'), 'license_url': Value('string'), 'cite_as': Value('string'), 'doi': Value('string'), 'zenodo_url': Value('string'), 'wikidata_qid': Value('string'), 'publisher': Value('string'), 'last_updated': Value('timestamp[s]'), 'rows': Value('int64')}, 'data': List({'slug': Value('string'), 'question': Value('string'), 'short_answer': Value('string'), 'answer': Value('string'), 'category': Value('string'), 'keywords': List(Value('string')), 'canonical_url': Value('string'), 'related_pages': List({'label': Value('string'), 'href': Value('string')}), 'last_updated': Value('timestamp[s]')})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
slug: string
question: string
short_answer: string
answer: string
category: string
keywords: list<item: string>
child 0, item: string
canonical_url: string
related_pages: list<item: struct<label: string, href: string>>
child 0, item: struct<label: string, href: string>
child 0, label: string
child 1, href: string
last_updated: timestamp[s]
metadata: struct<name: string, canonical: string, api: string, license: string, license_url: string, cite_as: (... 122 chars omitted)
child 0, name: string
child 1, canonical: string
child 2, api: string
child 3, license: string
child 4, license_url: string
child 5, cite_as: string
child 6, doi: string
child 7, zenodo_url: string
child 8, wikidata_qid: string
child 9, publisher: string
child 10, last_updated: timestamp[s]
child 11, rows: int64
data: list<item: struct<slug: string, question: string, short_answer: string, answer: string, category: st (... 151 chars omitted)
child 0, item: struct<slug: string, question: string, short_answer: string, answer: string, category: string, keywo (... 139 chars omitted)
child 0, slug: string
child 1, question: string
child 2, short_answer: string
child 3, answer: string
child 4, category: string
child 5, keywords: list<item: string>
child 0, item: string
child 6, canonical_url: string
child 7, related_pages: list<item: struct<label: string, href: string>>
child 0, item: struct<label: string, href: string>
child 0, label: string
child 1, href: string
child 8, last_updated: timestamp[s]
to
{'metadata': {'name': Value('string'), 'canonical': Value('string'), 'api': Value('string'), 'license': Value('string'), 'license_url': Value('string'), 'cite_as': Value('string'), 'doi': Value('string'), 'zenodo_url': Value('string'), 'wikidata_qid': Value('string'), 'publisher': Value('string'), 'last_updated': Value('timestamp[s]'), 'rows': Value('int64')}, 'data': List({'slug': Value('string'), 'question': Value('string'), 'short_answer': Value('string'), 'answer': Value('string'), 'category': Value('string'), 'keywords': List(Value('string')), 'canonical_url': Value('string'), 'related_pages': List({'label': Value('string'), 'href': Value('string')}), 'last_updated': Value('timestamp[s]')})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
SmartQHSE HSE Q&A Corpus
24 long-form HSE / occupational-safety question-answer pairs across 15 categories — incident rates, ISO 45001, permits, risk assessment, OSHA (US), HSE (UK), GCC regulations, PPE, heat stress, exposure, ergonomics, incident investigation, training, HSE software. Each answer is multi-paragraph with cited sources, formulas, and OSHA/regulatory references. Suitable for instruction tuning and RAG.
Citation (preferred — academic) SmartQHSE Ltd (2026). SmartQHSE HSE Q&A Corpus [dataset]. Zenodo. https://doi.org/10.5281/zenodo.20010252
DOI:
10.5281/zenodo.20010252
Zenodo record: https://zenodo.org/record/20010252 Wikidata entity: Q139623115 CC BY 4.0 — free to use commercially with attribution.
Files
| File | Description |
|---|---|
data.jsonl |
One JSON record per line — primary format. Loadable via datasets.load_dataset() directly. |
data.json |
Same data as a single JSON array (with array key matching the source). |
data.csv |
Selected fields as CSV for spreadsheet users. |
Live access (CC BY 4.0, CORS-open, no auth)
- Canonical page: https://www.smartqhse.com/answers
- REST API (filterable): https://www.smartqhse.com/api/v1/answers
Loading example
from datasets import load_dataset
ds = load_dataset("SmartQHSE/hse-qa-corpus")
print(ds["train"][0])
# Or directly via the live REST API
curl https://www.smartqhse.com/api/v1/answers
License
This dataset is released under Creative Commons Attribution 4.0 International (CC BY 4.0). Free to use commercially with attribution. Cite as:
SmartQHSE Ltd (2026). SmartQHSE HSE Q&A Corpus [dataset]. https://www.smartqhse.com/answers
Considerations for using the data
- Small dataset (24 entries as of v1). Will expand quarterly.
- Geographic bias toward US OSHA, UAE OSHAD-SF, UK HSE, GCC regulations. Less coverage of Asia-Pacific, Africa, Latin America.
- Industry bias toward construction, oil & gas, manufacturing — reflects SmartQHSE customer mix.
- Answers are point-in-time (last_updated field). Regulations change; cross-check with the canonical_url before relying on a specific number.
- English-only at v1. Arabic translation planned for v2.
Related datasets
- SmartQHSE/hse-benchmarks-2026
- SmartQHSE/osha-rates-2026
- SmartQHSE/hse-qa-corpus
- SmartQHSE/hse-glossary
- SmartQHSE/hse-regulations-changelog
Sources
- US Bureau of Labor Statistics (BLS) — SOII + CFOI
- US Department of Labor — OSHA Injury Tracking Application + standards
- UK Health and Safety Executive (HSE)
- European Commission + Eurostat ESAW
- IOGP, ILO, NIOSH, ACGIH
- UAE OSHAD-SF, KSA SAPI, Qatar QCDD, Oman MOLSD
- ISO Technical Committees (TC 283 — OH&S Management Systems)
All consolidated and republished under CC BY 4.0 with attribution.
About SmartQHSE
SmartQHSE is the AI-native HSE/QHSE platform for construction, oil & gas, manufacturing, and industrial teams. We publish open data because the broader HSE profession deserves free access to the safety statistics our trade bodies otherwise gate behind expensive memberships.
- Downloads last month
- 12