Create and manage knowledge graph spaces
A knowledge graph space is an isolated environment for your business models, data, and permissions. In each space, you can define a business domain, configure a storage engine, add project members, and manage permissions. This topic describes how to create and manage knowledge graph spaces.
Permissions
A super administrator or system administrator can create and manage knowledge graph spaces.
A space administrator can manage the knowledge graph space to which they are assigned.
Limitations
can have a maximum of 50 knowledge graph spaces.
Create a space
In the top navigation bar of the Dataphin homepage, choose Knowledge Graph > Space Management.
On the Space Management page, click New Knowledge Graph Space.
In the New Space dialog box, configure the parameters.
Parameter
Description
Knowledge graph space name
The name of the knowledge graph space. The name must be unique within the tenant and be 2 to 128 characters long.
Logo
Select an icon for the space to help categorize it by business domain.
Description
Enter a brief description of the space to help users understand its purpose and background. The description can be up to 512 characters long.
Data source
Select the data source to store entity and relationship data. Supported options are Neo4j and Lindorm Graph Engine.
NoteOnly Neo4j V5.13 and later support the vector index and semantic retrieval features.
To use the vector index and semantic retrieval features with Lindorm, you must enable the graph engine, vector engine, and search engine in the Lindorm instance console.
Database
Select the database that corresponds to your chosen data source. A database can be bound to only one space.
Vector model
This model enables semantic search and intelligent recognition in applications. It converts data, such as text and images, into numerical vectors that a computer can process, enabling retrieval based on meaning rather than keywords. The system creates a system property
__system_embedding__in each entity and relationship for subsequent searches and intelligent Q&A. You can select an enabled model of the Vector type from the Super X > Intelligent Application Management > Model Configuration page.Vector dimension
The number of components in a vector. If you view a vector as an ordered list of numbers, the vector dimension is the number of values in the list. Select the vector dimension based on the vector model.
Vector index configuration
The system only displays the vector index configuration. You cannot modify it.
Distance metric: A mathematical algorithm that calculates the similarity between two vectors during vector retrieval. In a vector space, a smaller distance (smaller angle) indicates closer semantic similarity. The default is Cosine (cosine similarity).
HNSW parameter m/HNSW parameter ef_construction: The HNSW parameter m determines the maximum number of connections a node can have, while the HNSW parameter ef_construction defines the size of the candidate set for nearest neighbors. The fixed values are 16 and 200, respectively. This configuration uses less memory and builds the index faster, but may result in a slightly lower recall rate.
Click OK to finish configuring the knowledge graph space.
Click OK and Configure Graph Model to open the model design page and configure entities and relationships.
Manage spaces
The system displays the spaces that the current user has permission to view.
Each space card displays the space's name, logo, description, space administrator, creation time, and other information.
You can search for spaces by keywords, such as their names.
You can perform the following operations on a target space.
Actions
Description
Manage knowledge graph model
Click Knowledge Graph Model to go to the model design page where you can create entities and relationships. For more information, see Entity types and relationship types.
Manage knowledge graph
Click Knowledge Graph to go to the knowledge management page where you can manage entities and relationships. For more information, see Knowledge management.
Space configuration
Click Space Configuration to modify the space's settings. The vector model cannot be changed.
ImportantIf you change the data source, existing data is not automatically migrated to the new data source. To preserve your data, manually export it and migrate it to the new data source before changing the configuration.
Member management
Click Member Management to add members to the workspace for daily maintenance, management, and other operations. For more information, see Add and manage workspace members.
Delete
Click the Delete icon in the upper-right corner of the space card. In the Delete Space dialog box, enter the name of the space, and then click OK.
ImportantIf you select the Synchronously clear associated data in the graph engine checkbox, all associated data in the data source, including models and relationships, will also be deleted.
Deleting a space also deletes all associated ontology models, mapping tasks, version history, and member permissions in that space. This action is irreversible. Proceed with caution.