Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
fact_id: string
topic: string
heading: string
summary: string
keywords: list<item: string>
  child 0, item: string
aliases: list<item: string>
  child 0, item: string
title: string
layer: string
domain: string
pack_id: string
total_bytes_excl_manifest_signatures: int64
version: string
license: string
scope: struct<includes: list<item: string>, excludes: list<item: string>>
  child 0, includes: list<item: string>
      child 0, item: string
  child 1, excludes: list<item: string>
      child 0, item: string
language: string
created_at: timestamp[s]
fact_count_by_topic: struct<wikidata: int64>
  child 0, wikidata: int64
name: string
reviewed_at: null
fact_count_by_property: struct<P1082: int64, P2046: int64, P2044: int64, P2043: int64, P2048: int64, P2049: int64, P1083: in (... 322 chars omitted)
  child 0, P1082: int64
  child 1, P2046: int64
  child 2, P2044: int64
  child 3, P2043: int64
  child 4, P2048: int64
  child 5, P2049: int64
  child 6, P1083: int64
  child 7, P1128: int64
  child 8, P4511: int64
  child 9, P571: int64
  child 10, P569: int64
  child 11, P570: int64
  child 12, P577: int64
  child 13, P36: int64
  child 14, P17: int64
  child 15, P131: int64
  child 16, P112: int64
  child 17, P159: int64
  child 18, P50: int64
  child 19, P57: int64
  child 20, P86: int64
  child 21, P19: int64
  child 22, P20: int64
  child 23, P27: int64
  child 24, P38: int64
  child 25, P37: int64
  child 26, P225: int64
  child 27, P246: int64
  child 28, P1086: int64
  child 29, P403: int64
  child 30, P885: int64
  child 31, P625: int64
source_count: int64
fact_count: int64
stage_bytes: struct<stage1/catalog.jsonl: int64, stage1/index.sqlite: int64, stage2/facts.jsonl: int64, stage2/so (... 19 chars omitted)
  child 0, stage1/catalog.jsonl: int64
  child 1, stage1/index.sqlite: int64
  child 2, stage2/facts.jsonl: int64
  child 3, stage2/sources.jsonl: int64
verification_policy: string
to
{'pack_id': Value('string'), 'name': Value('string'), 'version': Value('string'), 'language': Value('string'), 'domain': Value('string'), 'scope': {'includes': List(Value('string')), 'excludes': List(Value('string'))}, 'created_at': Value('timestamp[s]'), 'reviewed_at': Value('null'), 'fact_count': Value('int64'), 'fact_count_by_topic': {'wikidata': Value('int64')}, 'fact_count_by_property': {'P1082': Value('int64'), 'P2046': Value('int64'), 'P2044': Value('int64'), 'P2043': Value('int64'), 'P2048': Value('int64'), 'P2049': Value('int64'), 'P1083': Value('int64'), 'P1128': Value('int64'), 'P4511': Value('int64'), 'P571': Value('int64'), 'P569': Value('int64'), 'P570': Value('int64'), 'P577': Value('int64'), 'P36': Value('int64'), 'P17': Value('int64'), 'P131': Value('int64'), 'P112': Value('int64'), 'P159': Value('int64'), 'P50': Value('int64'), 'P57': Value('int64'), 'P86': Value('int64'), 'P19': Value('int64'), 'P20': Value('int64'), 'P27': Value('int64'), 'P38': Value('int64'), 'P37': Value('int64'), 'P225': Value('int64'), 'P246': Value('int64'), 'P1086': Value('int64'), 'P403': Value('int64'), 'P885': Value('int64'), 'P625': Value('int64')}, 'source_count': Value('int64'), 'license': Value('string'), 'verification_policy': Value('string'), 'stage_bytes': {'stage1/catalog.jsonl': Value('int64'), 'stage1/index.sqlite': Value('int64'), 'stage2/facts.jsonl': Value('int64'), 'stage2/sources.jsonl': Value('int64')}, 'total_bytes_excl_manifest_signatures': Value('int64')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              fact_id: string
              topic: string
              heading: string
              summary: string
              keywords: list<item: string>
                child 0, item: string
              aliases: list<item: string>
                child 0, item: string
              title: string
              layer: string
              domain: string
              pack_id: string
              total_bytes_excl_manifest_signatures: int64
              version: string
              license: string
              scope: struct<includes: list<item: string>, excludes: list<item: string>>
                child 0, includes: list<item: string>
                    child 0, item: string
                child 1, excludes: list<item: string>
                    child 0, item: string
              language: string
              created_at: timestamp[s]
              fact_count_by_topic: struct<wikidata: int64>
                child 0, wikidata: int64
              name: string
              reviewed_at: null
              fact_count_by_property: struct<P1082: int64, P2046: int64, P2044: int64, P2043: int64, P2048: int64, P2049: int64, P1083: in (... 322 chars omitted)
                child 0, P1082: int64
                child 1, P2046: int64
                child 2, P2044: int64
                child 3, P2043: int64
                child 4, P2048: int64
                child 5, P2049: int64
                child 6, P1083: int64
                child 7, P1128: int64
                child 8, P4511: int64
                child 9, P571: int64
                child 10, P569: int64
                child 11, P570: int64
                child 12, P577: int64
                child 13, P36: int64
                child 14, P17: int64
                child 15, P131: int64
                child 16, P112: int64
                child 17, P159: int64
                child 18, P50: int64
                child 19, P57: int64
                child 20, P86: int64
                child 21, P19: int64
                child 22, P20: int64
                child 23, P27: int64
                child 24, P38: int64
                child 25, P37: int64
                child 26, P225: int64
                child 27, P246: int64
                child 28, P1086: int64
                child 29, P403: int64
                child 30, P885: int64
                child 31, P625: int64
              source_count: int64
              fact_count: int64
              stage_bytes: struct<stage1/catalog.jsonl: int64, stage1/index.sqlite: int64, stage2/facts.jsonl: int64, stage2/so (... 19 chars omitted)
                child 0, stage1/catalog.jsonl: int64
                child 1, stage1/index.sqlite: int64
                child 2, stage2/facts.jsonl: int64
                child 3, stage2/sources.jsonl: int64
              verification_policy: string
              to
              {'pack_id': Value('string'), 'name': Value('string'), 'version': Value('string'), 'language': Value('string'), 'domain': Value('string'), 'scope': {'includes': List(Value('string')), 'excludes': List(Value('string'))}, 'created_at': Value('timestamp[s]'), 'reviewed_at': Value('null'), 'fact_count': Value('int64'), 'fact_count_by_topic': {'wikidata': Value('int64')}, 'fact_count_by_property': {'P1082': Value('int64'), 'P2046': Value('int64'), 'P2044': Value('int64'), 'P2043': Value('int64'), 'P2048': Value('int64'), 'P2049': Value('int64'), 'P1083': Value('int64'), 'P1128': Value('int64'), 'P4511': Value('int64'), 'P571': Value('int64'), 'P569': Value('int64'), 'P570': Value('int64'), 'P577': Value('int64'), 'P36': Value('int64'), 'P17': Value('int64'), 'P131': Value('int64'), 'P112': Value('int64'), 'P159': Value('int64'), 'P50': Value('int64'), 'P57': Value('int64'), 'P86': Value('int64'), 'P19': Value('int64'), 'P20': Value('int64'), 'P27': Value('int64'), 'P38': Value('int64'), 'P37': Value('int64'), 'P225': Value('int64'), 'P246': Value('int64'), 'P1086': Value('int64'), 'P403': Value('int64'), 'P885': Value('int64'), 'P625': Value('int64')}, 'source_count': Value('int64'), 'license': Value('string'), 'verification_policy': Value('string'), 'stage_bytes': {'stage1/catalog.jsonl': Value('int64'), 'stage1/index.sqlite': Value('int64'), 'stage2/facts.jsonl': Value('int64'), 'stage2/sources.jsonl': Value('int64')}, 'total_bytes_excl_manifest_signatures': Value('int64')}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Wikidata 知識パック

Wikidataの構造化データを、日本語の文の形の事実として収録した知識パック。

内容と範囲

  • 対象:日本語版Wikipediaに記事があるWikidata項目(ja sitelink保有、1,078,830項目)
  • 選定した32種類のプロパティ(出生・設立・人口・面積・標高など)の値を事実化
  • 事実数:3,067,362件
  • 除外:一覧・曖昧さ回避ページ相当の項目、値が一意に決まらないステートメント
  • 作成:2026-12-01

出典とライセンス

Wikidataの構造化データは CC0(パブリックドメイン)。SPARQL (query.wikidata.org)で項目別に取得した。

検証状態と既知の制限

Wikidata自体を照合軸(一次の構造化ソース)とみなし「中核」層として扱う。 ただし文は「項目ラベル+プロパティ+値」から機械生成したもので、 同名の別項目の混線など、ソース側の事情がそのまま文に現れる場合がある。

ファイル構成

  • manifest.json — パックの定義(範囲・出典・ライセンス・検証方針・件数)
  • stage1/catalog.jsonl / stage1/index.sqlite — 出典カタログと検索索引
  • stage2/facts.jsonl — 事実本体(1行=1事実、出典つき)
  • stage2/sources.jsonl — 出典一覧
  • signatures/ — パックの署名情報

系列

Cubeプロジェクトの知識パック群の一つ。日本語版Wikipediaパックは FMA03/jp-wiki-knowledge-pack で公開している。 パック形式は「事実+索引」をモデルへ外付けする設計で、モデルの重みは含まない。

Downloads last month
-