Twinkle HubTwinkle Hub
Sign in

📌 2026-08-17 added: ⚖️ Taiwan statute time machine — historical article text · revision history · full-text search · citation graph (935 datasets · 35,454+ rows)

View full changelog →

Taiwan statute · related articles and cross-references

tw_statute_related

TW-specificMIT

**關鍵字 / Keywords**: 法條關聯 網絡 引用 relation graph 條文關聯 statute cross-reference

Scope: Taiwan (ROC · 中華民國) statute cross-reference graph only.

【EN keywords】Taiwan statute related articles · law article cross-references · citation graph · concept siblings · Taiwan legal graph · ROC 法條網絡

【何時用】用戶問「**台灣** X 法第 N 條**相關**條文 / **引用**哪些 / 被誰引用 / 姊妹條 / 相關規定」時 · 或分析判決時想看某條在該法規內的**上下位規範**。

【Topics covered · descriptive keyword list】相關條文 · 引用哪些條 · 被誰引用 · 姊妹條 · 相關規定 · 條文網絡 · 條文關聯 · article related · statute graph

【不要一般常識答】不要憑印象說「應該還有 §X 相關」· 一律用本 tool 從 LLM 抽出的 statute graph 拿。

取得法條的**相關條文網絡** · 6 種關係:
- `explicit`     明引 (第 N 條)
- `anaphoric`    「前條」/「前 N 條」
- `cross_statute` 跨法規 (民法 → 刑法等)
- `implicit`     隱式 (「依前述」「準此原則」·LLM 推斷 · 附 reason + confidence)
- `sibling`      同法規·主題相近 (由 concept tag 交集 ≥ 2 判定)
- `definition`   定義關係

💡 (Optional) 載入 skill `tw-opendata-judgment-analysis` 取得完整用法。

Args:
    law_name:   '民法' / '刑法' / '民事訴訟法' / etc. (見 tw_list_supported_statutes)
    article:    '184' / '184-1' / '184之1' 都可
    edge_types: 逗號分隔·可選 explicit,anaphoric,cross_statute,implicit,sibling,definition
                · 預設全部。sibling volume 大·若只要具體引用給 "explicit,implicit"
    direction:  'out' (從 A 引出去的) / 'in' (指向 A 的) / 'both' (預設)
    limit:      top-K by (edge_type, confidence DESC) · 預設 30

Returns 每筆帶 edge_type · to_pcode · to_article · confidence · raw_hint ·
reason (implicit/sibling) · target_purpose · target_tags (幫忙判斷關聯性)。

Input schema

{
  "properties": {
    "law_name": {
      "title": "Law Name",
      "type": "string"
    },
    "article": {
      "title": "Article",
      "type": "string"
    },
    "edge_types": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Edge Types"
    },
    "direction": {
      "default": "both",
      "title": "Direction",
      "type": "string"
    },
    "limit": {
      "default": 30,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "law_name",
    "article"
  ],
  "title": "tw_statute_relatedArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see tw_statute_related. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 tw_statute_related 處理 "…"。

# It will call:
tw_statute_related(input="…")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs