---
library: "bootstrap"
slug: "Hierarchy"
name: "Hierarchy"
ref: "Hierarchy#5951"
hash: "sema:Hierarchy#mh:SHA-256:5951b6a616f97ff8ef7b78407ed0631150191253d88f00bbb2ef429cc5a8cf85"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Hierarchy"
---

# Hierarchy

Vertical rank ordering with Upper/Lower relations, inheritance, and authority

Infrastructure · Data Structures

## Mechanism

The vertical ranking of [Category](https://semahash.org/vocabularies/bootstrap/patterns/Category.md)s or objects: every pair related by the ranking stands in an Upper/Lower relation. What the ranking *carries* varies by kind — a class hierarchy carries inheritance, an organisational one carries authority, a containment one carries neither — so those are implementer concerns rather than part of the ranking itself.

## Invariants

- Acyclicity: no node is above itself, directly or transitively — a cycle leaves the ranking undefined.
- Antisymmetry: if A is Upper to B then B is not Upper to A.

## Where this came from

—

## Builds on

- [Category](https://semahash.org/vocabularies/bootstrap/patterns/Category.md) (references)

## Used by

- [ChunkMerge](https://semahash.org/vocabularies/bootstrap/patterns/ChunkMerge.md) (references)
- [LayeredCheck](https://semahash.org/vocabularies/bootstrap/patterns/LayeredCheck.md) (references)
- [Localhinge](https://semahash.org/vocabularies/bootstrap/patterns/Localhinge.md) (references)
- [SpecializationEdge](https://semahash.org/vocabularies/bootstrap/patterns/SpecializationEdge.md) (references)
- [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) (references)

## Related

- [Localhinge](https://semahash.org/vocabularies/bootstrap/patterns/Localhinge.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Hierarchy#5951
- Hash: sema:Hierarchy#mh:SHA-256:5951b6a616f97ff8ef7b78407ed0631150191253d88f00bbb2ef429cc5a8cf85

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Hierarchy
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Hierarchy.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
