Skip to content

link

Create explicit relationships between nodes in the knowledge graph.

{
"tool": "link",
"arguments": {
"from_node": "node_abc",
"to_node": "node_xyz",
"relationship": "SUPPORTS"
}
}
ParameterTypeRequiredDescription
from_nodestringYesSource node ID
to_nodestringYesTarget node ID
relationshipstringYesRelationship type

Provenance:

TypeMeaning
DERIVED_FROMSource derivation
EXTRACTED_FROMDocument extraction
SUPERSEDESReplaces older node

Semantic:

TypeMeaning
SUPPORTSEvidence for claim
CONTRADICTSConflicts with
CORROBORATESSame claim, different source
CAUSESCausal relationship
PREVENTSPreventive relationship
IMPLEMENTSImplementation of
EXTENDSExtension of
RELATES_TOGeneric relation

Evidence supports claim:

{
"tool": "link",
"arguments": {
"from_node": "node_doc_reference",
"to_node": "node_rate_limit_claim",
"relationship": "SUPPORTS"
}
}

Track contradiction:

{
"tool": "link",
"arguments": {
"from_node": "node_new_info",
"to_node": "node_old_belief",
"relationship": "CONTRADICTS"
}
}
  • Connecting evidence to claims
  • Tracking contradictions
  • Building concept maps
  • Creating explicit dependencies