Instructions for use
Knowledge Graph is expressed by entities and relationships, and knowledge extraction (entities and relationships) is an important part of graph construction. Generally, it is necessary to collect business-related structured, semi-structured and unstructured data first, and extract structured knowledge through the knowledge extraction process.
The knowledge extraction tools provided by SuperMap iDesktopX include: Create Entity from structured data (table/element Dataset), And matching Build Relationships based on spatial relationships and Property Fields.
When it is necessary to Build Entities and Relationships at the same time, two Building Ways are provided according to the actual situation:
1. Use the Create Entity and Build Relationship tools separately. For operator concatenation, see Build Relationship.
2. Use the Build Entities and Relationships integration tool. The recommended usage of this operator: when the data of the entity to be constructed is Spatial Data, and the amount of data is large, the Spatial Data and the graph data can be stored in the Yukon database, and then the tool is used for construction. Improves the performance of Build Entities and Relationships. Check Contains source spatial objects when building the entity.
Function entrance
- Knowledge Graph tab-> Build-> Create Entity.
- Toolbox-> Knowledge Graph-> Create Entity.
Parameter Description
- Connect Graph Database: Set the Graph Database Connection information, including Graph Database type, Graph Database address, user name, password, etc. Click the Connect button after filling.
- Entity Type Name: Set a new Entity Type name, or select an existing name.
- Datasource: Sets the Datasource Name of the build Entity Type.
- Dataset: Set the Dataset Name for building Entity Type, and support property sheet, 2D point/line/region, and 3D point/line/region types.
- Label Field: Set the Show Lable field of the map node. As shown in the following figure.
- Contains spatial objects: Whether to load the spatial attribute of Spatial Data into the entity and write it into Graph Database. After checking, a geom field will be added to the Entity Attributes table (as shown in the following figure). The attribute values are point, line, surface, 3D point, 3D line and 3D surface. Spatial Data is recommended to check this option to use spatial relationships to build atlas relationships.
- Entity Field and Entity Consolidation ID: Set the Property Field of the entity and the ID field for entity consolidation. When Property FieldMarking is checked, the entity can be merged with the same field value to avoid repeated entity construction. One or more identification fields can be set to determine the uniqueness of the entity. For example, for two person entities with the same name, it is necessary to select fields such as age for common identification.