Skip To Content

Edit knowledge graph data

As you explore and analyze the content of a project, you can create, modify, and delete the entities and relationships in its knowledge graph. When you save graph data edits in the project, any projects or portal content items that reference the same knowledge graph service will be updated. To edit knowledge graph data, you can start from the knowledge graph view, maps, link charts, or data cards.

Create an entity

You can create a new entity of an existing type in your project, adding it to the knowledge graph. When you create an entity you can also enter properties associated with that entity type.

  1. Select the type of entity you want to create.
    • In the Knowledge Graph Contents pane, select the entity type and click Create Entity Add records to selection.
    • In the Link Chart Contents pane, click Options Options next to the type sublayer, and click Create Entity Add records to selection
    • In the Map Contents pane, click Options Options next to the type sublayer, and click Create Entity Add records to selection

    The Edit pane appears. The Type field is populated with the selected type. The Entity field is populated with Create Entity

  2. Optionally, click in a properties field and enter a property for the new entity.
    Note:

    If you do not enter properties, the entity will be created with null values.

  3. Optionally, click the Set Geometry button Set geometry in the properties list.

    The Create Geometry for this Entity pane appears.

  4. Use the map toolbar to draw the geometry for the new entity.
    Note:

    You can only draw geometry that matches the shape property of the entity type. The shape property cannot be updated.

  5. Click Ok.

    The geometry is updated for the entity.

  6. In the Edit pane, click the Create button Create.

    The entity is added to the knowledge graph with any properties you entered.

Create a relationship between entities

You can create a new relationship of an existing type in your project, adding it to the knowledge graph. When you create relationship you must specify the relationship endpoints. You can also specify individual entities the relationship will connect and enter properties associated with that entity type.

  1. Select the type of relationship you want to create.
    • In the Knowledge Graph Contents pane, select the entity type and click Create Relationship Add records to selection
    • In the Link Chart Contents pane, click Options Options next to the type sublayer, and click Create Relationship Add records to selection
    • In the Map Contents pane, click Options Options next to the type sublayer, and click Create Relationship Add records to selection

    The Edit pane appears. The Type field is populated with the selected type. The Relationship field is populated with Create Entity

  2. Click in the Origin type field and select an origin entity type from the list.
  3. Optionally, click in the Origin Entity field and type an entity, or select from the list.
  4. Click in the Destination type field and select an destination entity type from the list.
  5. Optionally, click in the Destination Entity field and type an entity, or select from the list.
  6. Optionally, click in a properties field and enter a property for the new relationship.
  7. Click the Create button Create

    The relationship is added to the knowledge graph with any properties you entered.

Tip:

You can swap relationship endpoints in the edit pane. On the context toolbar click Edit Edit and click the Swap Switch relationship endpoints button to swap origin and destination entity types and entities.

Modify properties of entities and relationships

You can modify the properties of entities and relationships in your project, updating them in the knowledge graph service. If an entity has a shape property, you can also update the geometry for an entity. You cannot modify the type of an entity or relationship.

Note:

When you save edits in the project, any other projects or portal content items that reference the same knowledge graph service will be updated.

  1. Select the entity or relationship to modify.
    • In the Knowledge Graph Contents pane—Select the type of entity or relationship. On the records list pane, click the specific entity or relationship, or use the Filter box at the top of the pane, and, on the context toolbar, click Edit Edit.
    • In the Link Chart Contents pane—Select and entity or relationship, and on the context toolbar, click Edit Edit.
    • In the Map Contents pane—Select and entity or relationship, and on the context toolbar, click Edit Edit. Optionally, open the map record table, select a record from the table, and on the context toolbar, click Edit Edit.
    • From a data card Data Card—Select the entity or relationship data card from the Project Contents pane, and on the context toolbar, click Edit Edit.

    The Edit pane opens.

  2. Under Properties click an available field and enter a new value.
    Note:

    Only properties that can be edited will be visible on the edit pane.

  3. Optionally, click Reset Clear Selection to undo all property field edits.
  4. Continue editing properties as needed.
  5. Click the Apply button.

    The entity or relationship properties are updated in the project and knowledge graph service.

Modify spatial properties of an entity

You can modify the geometry of an existing entity in your project. You cannot edit the shape property.

  1. Open the edit pane for the entity you want to modify
  2. Optionally, click the Set Geometry button Set geometry in the properties list.

    The Update Geometry for this Entity pane appears.

  3. Use the map toolbar to select and move or draw the geometry for the new entity.
    Note:

    You can only draw geometry that matches the shape property of the entity type. The shape property cannot be updated.

  4. Click Ok.

    The geometry is updated for the entity.

  5. In the Edit pane, click the Apply button.

    The entity geometry is updated in the project and knowledge graph service.

Delete entities or relationships

You can delete entities and relationships that are no longer needed from the knowledge graph. When an entity is deleted, any relationships in which the entity participated and linked provenance are also deleted automatically. Deleting an entity or relationship cannot be undone.

  1. Select the entity or relationship you want to delete.
    • In the Knowledge Graph Contents pane—Select the type of entity or relationship. On the records list pane, click the specific entity or relationship, or use the Filter box at the top of the pane, and, on the context toolbar, click Edit Edit.
    • In the Link Chart Contents pane—Select and entity or relationship, and on the context toolbar, click Edit Edit.
    • In the Map Contents pane—Select and entity or relationship, and on the context toolbar, click Edit Edit. Optionally, open the map record table, select a record from the table, and on the context toolbar, click Edit Edit.
    • From a data card Data Card—Select the entity or relationship data card from the Project Contents pane, and on the context toolbar, click Edit Edit.

    The Edit pane appears.

  2. Click the Delete button Delete.

    The delete confirmation box appears.

  3. Click Delete.

    The entity or relationship is deleted from the knowledge graph service.