get_inbound_relations
Retrieve inbound Wikidata relations to identify alliance members, conflict participants, basin countries, or corporate owners, with total counts and truncation flags.
Instructions
Retrieve inbound relations for target entities (e.g. alliance members via P463, conflict participants via P710, basin countries via P205, corporate owners via P127). Includes accurate total counts and truncation flags.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target_qids": "<target_qids>"
},
"name": "get_inbound_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| predicates | No | Inbound predicate IDs (e.g. ['P463', 'P710', 'P205', 'P17']). Defaults to ['P463', 'P710', 'P205', 'P17', 'P749', 'P127', 'P355']. | |
| target_qids | Yes | Target entity QIDs (e.g. ['Q7184'] for NATO, ['Q110999040'] for Russo-Ukrainian War). | |
| subject_domain | No | Constrain inbound subjects to a domain (e.g. 'country' to only list member countries). | |
| limit_per_relation | No | Maximum subjects to return per relation (default: 50). | |
| subject_class_qids | No | Constrain inbound subjects to specific class QIDs. | |
| filter_subject_qids | No | Filter inbound subjects to check membership only within a specific candidate set. |