Template:SetTermInheritanceHierarchy
This template is used to save the currently accepted associations claims (aggregation, composition, etc.) of the given class.
The template creates a hierarchy of classes for the given term by adding the following lists for ease of access:
Subsumed items
- A list that includes the page itself as well as all of its subclasses, the subclasses of subclasses etc. This is similar to MediWiki's notion of Category where a category includes all of its subcategories as well as itself.Descendant items
- A list that includes the page's subclasses, the subclasses of subclasses etc., but not itself. This data can be used to check if a given class is a subtype (sub, subtype, etc.) of another class but not itself.Ancestor items
- A list that includes the page's superclasses, the superclasses of superclasses etc., but not itself.
In addition, it creates the following multivalued properties (lists):
Parent Class
- The list of immediate parent terms (no grandparents).Child Class
- The list of immediate child terms (no grandchildren).
NOTE: this inheritance hierarchy is created irrespective of the agent who accepts the class as a subtype/supertype of another class. Such an agent-agnostic hierarchy is required when adding new theories that select their answer from a list of subtypes, or adding inherited questions.
IMPORTANT: It is not to be conflated with the actual agent-relative ontology of the term, stored in subobjects of SubObjectCategory=Topic Current Ontology
with Ontological Question Type={Subtypes, Supertypes}
.
NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
Parameters:
|term=
- the term page.