Team Ai
Datasetpublic

cchew/lex-au-graph

lex-au-graph Cross-reference knowledge graph over Australian Commonwealth Acts, built from the lex-au AKN 3.0 XML corpus — the retrieval layer of the AU Legislative Intelligence Stack. This dataset publishes three files, rebuilt automatically whenever lex-au publishes a corpus update: graph.json — the full cross-reference graph (nodes: Acts, Sections, defined terms; edges: contains, defines, ref, mentions), as NetworkX node_link_data JSON. Not tabular — load it directly, not… See the full description on the dataset page: https://huggingface.co/datasets/cchew/lex-au-graph.

sourceHugging Facecc-by-4.0updated 4d agoView on Hugging Face
0likes136downloads
Dataset Card

lex-au-graph

Cross-reference knowledge graph over Australian Commonwealth Acts, built from the lex-au AKN 3.0 XML corpus — the retrieval layer of the AU Legislative Intelligence Stack.

This dataset publishes three files, rebuilt automatically whenever lex-au publishes a corpus update:

  • —`graph.json` — the full cross-reference graph (nodes: Acts, Sections, defined terms; edges: contains, defines, ref, mentions), as NetworkX node_link_data JSON. Not tabular — load it directly, not via the dataset viewer:
python
  import json, networkx as nx
  from huggingface_hub import hf_hub_download
  path = hf_hub_download("cchew/lex-au-graph", "graph.json", repo_type="dataset")
  graph = nx.node_link_graph(json.load(open(path)))
  • —`centrality.json` — PageRank centrality score per node (a flat {node_id: score} map, ~74k entries). Also not tabular for the same reason.
  • —`complexity.json` — per-Act structural complexity metrics (citation density, defined-term density, indeterminate-concept frequency, conditional-statement frequency). One row per Act, viewable in the preview above.

See github.com/cchew/lex-au-graph for source code, the MCP server, and version history.

Licence

CC BY 4.0. Source legislation is Crown copyright - Commonwealth of Australia; reproduction permitted for non-commercial and research purposes under the PSI Framework. The code that builds this dataset is MIT-licensed.