The ontology is the backbone of your knowledge graph. It defines the schema for your data.
YAML
file that defines the structure of your knowledge graph. It specifies the types of entities and relationships that can exist in your graph, acting as a schema to ensure data consistency and to guide the query generation process.
By defining a clear and explicit ontology, you enable a1facts
to validate incoming data and construct precise queries.
`name`
string
The top-level name of the ontology, used to identify it.`description`
string
A brief description of the ontology’s purpose and scope.`entities`
list
A list of entity types that can exist in the knowledge graph. Each entity represents a class of objects.`relationships`
list
A list of relationship types that define how entities can be connected.