Find Relations
find_relationsDiscover paths linking two concepts in Italian government data using configurable hops. Retrieve direct or multi-hop connections for semantic exploration.
Instructions
Find how two concepts are connected.
Args:
sourceUri: URI of the source concept
targetUri: URI of the target concept
max_hops: 1 | 2 | 3 (default: 1)
Returns:
Direct connections (single predicate)
Multi-hop paths up to the configured depth
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_hops | No | Maximum number of intermediate nodes to traverse. 1 preserves the previous behaviour. | |
| sourceUri | Yes | URI of the source concept | |
| targetUri | Yes | URI of the target concept |