Entity Fact
- Last Updated: May 29, 2026
- 1 minute read
- Semaphore
- Documentation
Where the fact we are looking for is a type of entity that is handled automatically by Semaphore’s natural language processing layer.
An entity fact is using the native entity extraction capabilities of whatever natural language pack is being used. The entities found are not modelled in the model itself, only the type.
An entity fact can point at many different types of entities. Those currently supported are listed here: Entities
Please see the FACTS model for the most up to date Entity type taxonomy.
Entity Fact Properties
Mandatory hierarchical relationships
| Label | Range | Constraints |
|---|---|---|
| fact | Contexts | at least one required |
| or | ||
| not fact | Contexts | at least one required |
| or | ||
| optional fact | Contexts | at least one required |
Optional hierarchical relationships
| Label | Range | Constraints |
|---|---|---|
| fact | Contexts | at least one required |
| not fact | Contexts | at least one required |
| optional fact | Contexts | at least one required |
Mandatory associative relationships
| Label | Range | Constraints |
|---|---|---|
| extract fact as | Fact Name | only one allowed |
| [CONVERSION ERROR: MISSING FILE ./facts-overview/facts/fact_entity_type.md] | Entities | only one allowed |
Optional associative relationships
| Label | Range | Constraints |
|---|---|---|
| group fact as | Fact Name | only one allowed |
| location | locations | one or more allowed |
Mandatory alternative labels
| Label | Range | Constraints |
|---|---|---|
| (none) |
Optional alternative labels
| Label | Range | Constraints |
|---|---|---|
| (none) |
Mandatory metadata
| Label | Range | Constraints |
|---|---|---|
| (none) |
Optional metadata
| Label | Range | Constraints |
|---|---|---|
| field | String | only one allowed |
| return raw text also | Boolean | only one allowed |
| return value using regex | String | only one allowed |
| debug | Boolean | only one allowed |