linklist
- Last Updated: May 13, 2026
- 1 minute read
- Semaphore
- Documentation
A linklist rule allows scores from other related concepts to be used in the current concept by utilizing the relationships in the model.
The linklist rule will create a link rule to any concepts that are related to the current concept by the relationship type(s) as specified in the True attribute on the rule.
Attributes
The linklist rule allows all attributes that are allowed on the link rule, most commonly weight.
In addition it requires the following template specific attributes:
Example 1
For a model that contains the concept ‘Drug Trafficking’ with a broader concept of ‘Crime, Law and Justice’ and associative relationships to ‘Drug Enforcement Agency’, ‘Organized Crime’, the following relationshiptypes would be assigned:
| Concept | relationshiptypes |
|---|---|
| Crime, Law and Justice | has broader, HigherInHierarchy |
| Drug Enforcement Agency | has related, Associative |
| Organized Crime | has related, Associative |
Using the following template rule:
<linklist label="link.${rulebaseClass}.${resource.label}.${language.iso_code}.${resource.guid}_EVIDENCE" weight="25" relationshiptypes="Associative"/>
would generate the output:
<link label="link.Topic.Drug Enforcement Agency.en.291b557b-57d1-4177-a668-fb4380fb52b9_EVIDENCE"/>
<link label="link.Topic.Organized Crime.en.6e53c97f-61a6-41d0-bdad-cee681aeddf2_EVIDENCE"/>
Example 2
For a model that contains the concept ‘Apple, Inc’ with a broader concept of ‘Companies’ and associative relationships of ‘has CEO’ - ‘Tim Cook’, ‘has Industry’ - ‘Consumer Electronics’ and ‘Produces Products’ - ‘iPad’, ‘iPhone’, ‘MacBook’ would get assigned the following relationshiptypes:
| Concept | relationshiptypes |
|---|---|
| Companies | has broader, HigherInHierarchy |
| Tim Cook | has CEO, Associative |
| Consumer Electronics | has Industry, Associative |
| iPad | Produces Products, Associative |
| iPhone | Produces Products, Associative |
| MacBook | Produces Products, Associative |
Using the following template rule:
<linklist label="link.${rulebaseClass}.${resource.label}.${language.iso_code}.${resource.guid}_EVIDENCE" weight="25" relationshiptypes="Produces Products"/>
would generate the output:
<link label="link.Topic.iPad.eng.3_EVIDENCE"/>
<link label="link.Topic.iPhone.eng.4_EVIDENCE"/>
<link label="link.Topic.Macbook.eng.5_EVIDENCE"/>