{
  "handle": "ConstructOntology",
  "mechanism": "A primitive for building a structured set of concepts and relationships (an ontology) from raw data or seed axioms. It defines the 'physics' or 'rules' of a domain. This is the primitive itself, not a methodology for applying it. It builds the semantic graph from {{first_principles}}, validating edge coherence via {{adversarial_steel}} and establishing shared context through {{ontology_handshake}}.",
  "gloss": "Building a structured conceptual framework",
  "failure_modes": [
    "Incoherence: Contradictory axioms or definitions."
  ],
  "invariants": [
    "Every referenced term is defined.",
    "No contradictions within the ontology.",
    "Grounded in {{first_principles}} rather than in borrowed vocabulary."
  ],
  "preconditions": [
    "Seed concepts or data available"
  ],
  "postconditions": [
    "Valid ontology object created"
  ],
  "parameters": [
    {
      "name": "depth",
      "type": "Integer",
      "range": "[1, 10]",
      "description": "Hierarchical depth"
    },
    {
      "name": "format",
      "type": "Enum",
      "range": "{OWL, JSON-LD, Sema}",
      "description": "Output format"
    }
  ],
  "_meta": {
    "tier": 1,
    "ring": 2,
    "supersedes": [
      "sema:ConstructOntology#mh:SHA-256:b59ea97d742c1e307e029f1a05ef0f17c8d30f14f1c9167ef37a0147bc0e1af8",
      "sema:ConstructOntology#mh:SHA-256:9407f844acd036cc6eef2be1957467d4eac7aed577266a88648ecc8876849b2f",
      "sema:ConstructOntology#mh:SHA-256:3e7d931cb931e2a7cd8d29786a05c61a68d67a83cbbb9d879de8d259dcef2766",
      "sema:ConstructOntology#mh:SHA-256:30db930b44024b2a31712cad462b4f59ed637be344271af0132b0f06db52e585"
    ],
    "path": [
      "Mind",
      "Reasoning"
    ]
  },
  "sema_id": "sema:ConstructOntology#mh:SHA-256:85c860b88345b59e2b69770da818ddcdf65160d4c8c4e97f00b3e7874e28a6f4",
  "sema_ref": "ConstructOntology#85c8",
  "sema_stub": "85c8",
  "dependencies": {
    "references": {
      "adversarial_steel": "sema:AdversarialSteel#mh:SHA-256:90b1f6225005275367227017d930134959decfd97f52d7550de19cd8784c8702",
      "first_principles": "sema:FirstPrinciples#mh:SHA-256:337221accd9aac33800d03f92127e0eeec9573b81902046b9b2fd447c731067b",
      "ontology_handshake": "sema:OntologyHandshake#mh:SHA-256:a43c954f7a78f74aad3c49b507933cec20cc1dea54ffd5463f3a3054cb344235"
    }
  },
  "sema_layer": "Mind",
  "sema_category": "Reasoning",
  "used_by": {}
}
