Relatedness
relatednessSemantic-relatedness score (0..1) between two terms.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node1": "dog",
"node2": "cat"
},
"name": "relatedness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Default lang for plain-text terms (default en) | |
| node1 | Yes | First term or /c/en/<word> node | |
| node2 | Yes | Second term or /c/en/<word> node |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node1 | No | First node URI | |
| node2 | No | Second node URI | |
| relatedness | No | Relatedness score (0..1) |