Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaCholak committed Oct 13, 2023
1 parent c4c50a5 commit fe21262
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/glossary/concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Examples:
- `Apple`
- `EntityWithDescription{description=EntityDescription,entity&=Entity}`
- `EntityWithDescription{description=ColorRed,entity&=Apple}```
- `EntityWithDescription {description=RedColor,entity&=EntityWithDescription{description=BigSize,entity&=Apple}}`
- `EntityWithDescription{description=RedColor,entity&=EntityWithDescription{description=BigSize,entity&=Apple}}`

## Hierarchical Relations of Concepts
In our conceptual framework, both atomic and compound concepts exhibit hierarchical relationships. Atomic concepts often form the foundational elements of these hierarchies, while compound concepts, with their combination of fields, enable the expression of more intricate relationships.
Expand All @@ -50,6 +50,7 @@ EntityWithDescription {
*For simplicity we don't follow CID convention in this examples*
This compound concept, much like the `Animal` concept, is abstract. However, unlike `Animal`, the meaning of this concept is shaped by providing field values, in this case, `entity` and `description`. Without the compound concepts, our knowledge base would include numerous atomic concepts like `RedApple`, `BlackCar`, `YellowCar`, and so forth. By leveraging compound concepts we can describe arbitrary combinations of concepts.

### Defaults for fields
By default compound concepts must define default subconcepts for all fields, for example:
```python
EntityWithDescription {
Expand All @@ -58,6 +59,8 @@ EntityWithDescription {
}
```
Usually defaults will be abstract atomic concepts.

### Recursion
Compound concepts can have other compound concepts as their fields:
```python
EntityWithDescription {
Expand All @@ -71,8 +74,10 @@ EntityWithDescription {
This concept describes an idea of a big red apple.
Compound concepts can have arbitrary number of fields.

### Compound Concepts are not parents
It is possible to use compound concepts to define hierarchical relations, for example `Animal{type=Lion}`, but hierarchical relations must not be defined this way, use knowledge graph for this.

### Transitive Fields
Fields of compound objects can be transitive, which mean that they transit hierarchical information.
For example the concept
```python
Expand Down

0 comments on commit fe21262

Please sign in to comment.