Inferensys

Glossary

Norm Hierarchy Graph

A knowledge graph representing the precedence and subordination relationships between legal norms, such as constitutional provisions trumping statutes and statutes trumping regulations.
Knowledge engineer constructing knowledge base on laptop, document hierarchy visible, casual office setup.
LEGAL KNOWLEDGE ENGINEERING

What is a Norm Hierarchy Graph?

A structured knowledge representation that explicitly models the precedence and subordination relationships between legal norms, enabling automated reasoning about which rule prevails in a conflict.

A Norm Hierarchy Graph is a directed knowledge graph where nodes represent individual legal norms—such as constitutional provisions, statutes, administrative regulations, and judicial precedents—and edges define their hierarchical relationships. The graph encodes the fundamental legal principle of lex superior derogat legi inferiori (the higher law prevails over the lower), creating a machine-readable structure that allows an AI system to computationally determine which norm takes precedence when two or more rules conflict within a given jurisdiction.

Construction involves parsing the structural metadata of legal documents to extract formal rank indicators, such as a constitution's supremacy clause or an enabling statute's delegation of authority to a regulatory body. The resulting graph is a critical component of Normative Conflict Resolution and Deontic Logic Modeling, providing the foundational ordering required for a reasoning engine to resolve contradictions algorithmically. By integrating with a Jurisdictional Taxonomy, the graph can also model how norm hierarchies shift across different sovereign legal systems, enabling accurate cross-border compliance analysis.

STRUCTURAL ELEMENTS

Core Characteristics

The Norm Hierarchy Graph is a specialized knowledge graph that encodes the precedence and subordination relationships between legal norms, enabling automated reasoning about which rule prevails in a conflict.

01

Kelsenian Pyramid Structure

The graph is fundamentally modeled on Hans Kelsen's Stufenbau theory, representing a legal system as a hierarchical pyramid. The apex is the Grundnorm (basic norm) or constitution, which delegates authority downward. Each node's validity is derived from a higher node.

  • Constitutional Level: Supreme norms with the highest precedence
  • Statutory Level: Laws enacted by a legislature
  • Regulatory Level: Administrative rules and agency regulations
  • Judicial Level: Individual judicial decisions and orders
02

Lex Superior Derogat Legi Inferiori

The graph's primary edge type is the supersedes or trumps relationship, encoding the principle that a higher norm derogates a lower one. This is not merely a transitive property; the graph captures conditional precedence where a specific statute may carve out an exception to a general constitutional principle.

  • Directed Acyclic Graph (DAG): The core structure is a DAG to prevent circular authority loops
  • Exception Edges: Special edges representing lex specialis overrides that temporarily invert the general hierarchy
03

Temporal and Jurisdictional Dimensions

A pure hierarchy is insufficient for legal reasoning. The graph incorporates temporal validity intervals and jurisdictional scope as first-class properties on every edge and node.

  • Temporal Reasoning: A newer statute (lex posterior) may derogate an older one of the same rank, requiring time-bound edge weighting
  • Jurisdictional Scoping: A federal regulation and a state statute may have equal rank but non-overlapping subject-matter competence, preventing false conflicts
04

Conflict Detection and Resolution

The graph enables automated normative conflict detection by identifying nodes with contradictory deontic operators (obligation vs. prohibition) that share the same subject matter. The resolution engine traverses the graph to find the prevailing norm.

  • Antinomy Classification: Detects total-total, total-partial, and partial-partial contradictions
  • Resolution Path: Returns a verifiable citation chain proving why one norm prevails, not just a boolean result
05

Integration with Deontic Logic

Each node in the hierarchy is annotated with a deontic modality—obligation, prohibition, or permission—formalized in Standard Deontic Logic (SDL). The graph structure resolves conflicts between these modalities.

  • Normative Statements: Nodes contain structured logical forms, not just raw text
  • Defeasibility: Edges can be marked as defeasible, allowing lower norms to prevail under specific conditions defined by a higher norm's exception clause
06

Cross-Jurisdictional Harmonization Backbone

For multi-jurisdictional analysis, multiple Norm Hierarchy Graphs are linked via a Comparative Law Ontology. This allows the system to identify functional equivalents across systems and detect genuine regulatory divergence.

  • Norm Mapping Edges: Connect functionally equivalent nodes across sovereign graphs
  • Equivalence Determination: Supports automated assessment of whether a foreign regime achieves the same regulatory objective
  • Conflict of Laws Resolution: Provides the structural input for choice-of-law engines
NORM HIERARCHY GRAPH

Frequently Asked Questions

Explore the foundational concepts behind representing legal precedence and subordination relationships in a structured, machine-readable format. These answers target the most common technical and strategic questions about building and utilizing norm hierarchy graphs for cross-jurisdictional reasoning.

A Norm Hierarchy Graph is a specialized knowledge graph that formally represents the precedence and subordination relationships between legal norms within a given jurisdiction. It structures legal authority as a directed, acyclic graph where nodes represent individual norms—such as constitutional provisions, statutes, regulations, and judicial precedents—and directed edges define hierarchical superiority based on Hans Kelsen's 'Stufenbau' theory. The graph enforces a strict topological ordering: a constitutional node will have outgoing edges to statutory nodes, which in turn trump regulatory nodes. This allows a reasoning engine to traverse the graph to resolve conflicts by applying the lex superior derogat legi inferiori (higher law prevails over lower law) principle automatically, ensuring that any derived legal conclusion is consistent with the foundational sources of law.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.