create_relations
Define and establish multiple relationships between entities in a knowledge graph to enhance data connections and structure. Supports active voice for clear relation mapping.
Instructions
Create multiple new relations between entities in the knowledge graph. Relations should be in active voice
Input Schema
Name | Required | Description | Default |
---|---|---|---|
relations | Yes |
Input Schema (JSON Schema)
{
"properties": {
"relations": {
"items": {
"properties": {
"from": {
"description": "The name of the entity where the relation starts",
"type": "string"
},
"relationType": {
"description": "The type of the relation",
"type": "string"
},
"to": {
"description": "The name of the entity where the relation ends",
"type": "string"
}
},
"required": [
"from",
"to",
"relationType"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"relations"
],
"type": "object"
}