query_triples
Retrieve triples from the knowledge graph by filtering on subject, predicate, or object. Returns matching triples as JSON.
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 |