record_relation
Link two entities such as TSMC SUPPLIES NVIDIA in your knowledge graph. Re-recording an existing link updates its confidence, backing claim and dates instead of duplicating it.
Instructions
Link two entities, e.g. TSMC SUPPLIES NVIDIA. Re-recording an existing link updates it (confidence, backing claim, dates) instead of duplicating it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rel | Yes | ||
| source | Yes | Ticker, CIK, company name, canonical key or id | |
| target | Yes | Ticker, CIK, company name, canonical key or id | |
| claim_id | No | Claim that backs this link | |
| valid_to | No | ||
| confidence | Yes | 0 = guess, 1 = certain | |
| valid_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| rel | Yes | ||
| dst_id | Yes | ||
| source | No | agent | |
| src_id | Yes | ||
| claim_id | Yes | ||
| valid_to | Yes | ||
| confidence | Yes | ||
| lineage_id | Yes | ||
| valid_from | Yes | ||
| recorded_at | Yes | ||
| superseded_at | Yes | ||
| supersedes_id | Yes |