Prerequisites
1. Prepare a knowledge graph in "normal" status stored in Nebula database. (Currently only knowledge graphs in Nebula database are supported, and OrientDB will be supported later.)
2. Log in to the AnyDATA Workbench and click any knowledge network you like.
3. Click the "Cognitive Engine" menu in the left page menu bar to enter the "Cognitive Engine" page.
Procedure
1. Select the "Search Strategy Configuration" section under the "Knowledge Network Search" menu.
2. Enter the following information:
Parameter | Description |
Knowledge Graph | Please enter/select knowledge graph name. |
Search Relationship Depth | Click/Hold down the [+]/[-] button to switch the relationship between degrees 1 to 10. |
Search Scope | Search scope refers to the search traversal through the specified entity class and relationship class during the search traversal. |
Search Result | Search result refers to the final result presented after the search traversal. |
3. Click the [Edit] button to the right of the entity/relationship class under the "Search Rules" plate, and the "Search Rules" dialog box will pop up.
4. Enter/modify information in the "Search Rules" dialog box.
5. Click the [TEST CONFIG NOW] button to return to the "Test Configuration" page, and entity list of "Search results" that you configured is displayed on the page.
- Each entity data will display attribute values, ratings, and analytics reports.
- The entity search path presents the visualization in the right canvas. Click on the canvas to enter exploratory analysis to obtain more information about related entities and relationships.
- Developers can switch to Json format to view search results.
6. Click the [Save Configuration] button to pop up the "Create Strategy" dialog box.
7. Enter a new strategy name.
Parameter | Description |
Strategy Name | The strategy name consists of Chinese, English, numbers and underscores, and the length is 1-50 digits. |
8. Click the [OK] button to save the current search strategy configuration to the "Saved Strategy Configuration".