query_triples
Find matching relationships in a knowledge graph by filtering on subject, predicate, or object.
Instructions
Query knowledge graph triples with optional filters.
At least one filter should be provided. Returns all matching triples.
Args:
subject: Filter by subject entity name.
predicate: Filter by relationship predicate.
object_name: Filter by object entity name.
Returns:
JSON string with matching triples.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | No | ||
| predicate | No | ||
| object_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |