Resolve a semantic subject hierarchy
resolve_subject_hierarchyUse after vocabulary_index when the specific subject type does not yet exist. Submit terms broad-to-specific, for example ['food','recipe']. The server reuses existing dictionary entries, creates only missing provisional nodes in context, adds belongs_to relationships and rejects cycles. Do not include 'review': review is the record type, not a subject category. Semantic placement must be based on meaning, never on which review arrived first. Before creating a new semantic node, distinguish a genuinely different concept from a mere naming variant. Naming variants should reuse identity; genuine meaning differences may remain separate. Classification vocabulary should represent what a subject fundamentally is. Before creating, selecting, relating or proposing a subject type, identify the semantic head and descriptive modifiers. Material, arrangement/grouping, state/condition, quantity, colour, size, location and purpose/use normally belong in attributes or relationships rather than subject-type names. This is not a simplistic head-noun rule: a compound may remain a distinct type when the combined concept has materially different identity, behaviour, relationships, classification meaning or realistic retrieval needs. The server independently validates structural writes, so client guidance cannot bypass this rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes |