Data Structure

議会の議論を、 構造化データとして提供します。

Sagebaseは、議会議論・政治家・議案賛否の3つのデータ群を
相互に関連付けた構造化データとして提供します。

01

全体俯瞰

D3.jsによるインタラクティブな関連図で全エンティティを俯瞰

詳しく見る
02

テーブル定義

ER図で各テーブルのカラム定義とリレーションを詳細に確認

詳しく見る
03

3つのデータ群

議会議論・政治家・議案賛否の3群を横断的に把握

詳しく見る
01

全体俯瞰 — インタラクティブ関連図

ノードの形状でエンティティの種別を区別。ホバーで関連をハイライト、クリックで詳細を表示します。

議会系
発言系
政治家系
議案系
02

テーブル定義 — ER図(詳細)

BigQueryスキーマに基づく各テーブルのカラム定義とリレーションを表示します。

議会議論データ

erDiagram
    governing_bodies {
        INT64 id PK
        STRING name
        STRING organization_code
        STRING organization_type
        STRING prefecture
    }
    conferences {
        INT64 id PK
        STRING name
        INT64 governing_body_id FK
        STRING term
    }
    meetings {
        INT64 id PK
        INT64 conference_id FK
        DATE date
        STRING name
        STRING url
    }
    minutes {
        INT64 id PK
        INT64 meeting_id FK
        STRING url
    }
    conversations {
        INT64 id PK
        INT64 minutes_id FK
        INT64 speaker_id FK
        STRING comment
        INT64 sequence_number
    }
    speakers {
        INT64 id PK
        STRING name
        STRING political_party_name
        INT64 politician_id FK
        INT64 government_official_id FK
        NUMERIC matching_confidence
    }
    politicians {
        INT64 id PK
        STRING name
    }
    government_officials {
        INT64 id PK
        STRING name
    }

    governing_bodies ||--o{ conferences : ""
    conferences ||--o{ meetings : ""
    meetings ||--o| minutes : ""
    minutes ||--o{ conversations : ""
    speakers ||--o{ conversations : ""
    speakers }o--o| politicians : ""
    speakers }o--o| government_officials : ""
          

政治家データ

erDiagram
    politicians {
        INT64 id PK
        STRING name
        STRING prefecture
        STRING district
        STRING furigana
    }
    political_parties {
        INT64 id PK
        STRING name
    }
    parliamentary_groups {
        INT64 id PK
        STRING name
        INT64 governing_body_id FK
        STRING chamber
        DATE start_date
        DATE end_date
    }
    pg_memberships {
        INT64 id PK
        INT64 politician_id FK
        INT64 parliamentary_group_id FK
        DATE start_date
        DATE end_date
        STRING role
    }
    elections {
        INT64 id PK
        DATE election_date
        STRING election_type
    }
    election_members {
        INT64 id PK
        INT64 election_id FK
        INT64 politician_id FK
        STRING result
        INT64 votes
    }
    conference_members {
        INT64 id PK
        INT64 politician_id FK
        INT64 conference_id FK
        STRING role
    }

    politicians ||--o{ pg_memberships : ""
    pg_memberships }o--|| parliamentary_groups : ""
    parliamentary_groups }o--o{ political_parties : ""
    politicians ||--o{ election_members : ""
    elections ||--o{ election_members : ""
    politicians ||--o{ conference_members : ""
          

議案賛否データ

erDiagram
    proposals {
        INT64 id PK
        STRING title
        STRING proposal_category
        STRING proposal_type
        STRING deliberation_status
        DATE submitted_date
        DATE voted_date
    }
    proposal_submitters {
        INT64 id PK
        INT64 proposal_id FK
        STRING submitter_type
        BOOL is_representative
    }
    proposal_deliberations {
        INT64 id PK
        INT64 proposal_id FK
        INT64 conference_id FK
        STRING stage
    }
    proposal_judges {
        INT64 id PK
        INT64 proposal_id FK
        INT64 politician_id FK
        STRING approve
        BOOL is_defection
    }
    pg_group_judges {
        INT64 id PK
        INT64 proposal_id FK
        STRING judgment
        INT64 member_count
    }

    proposals ||--o{ proposal_submitters : ""
    proposals ||--o{ proposal_deliberations : ""
    proposals ||--o{ proposal_judges : ""
    proposals ||--o{ pg_group_judges : ""
          

データを活用してみませんか?

Sagebaseは、構造化された政治データを誰でも利用できるオープンデータとして提供します。