Endpoints
The predicate registry is a controlled vocabulary for relationship and assertion types. Predicates like
works_at, located_in, and has_title define the schema for the knowledge graph. Aliases allow multiple surface forms (e.g., employed_by mapping to works_at) to be normalized to canonical predicates.
List Predicates
GET /v1/predicates
List all registered predicates, optionally including their alias mappings.
Register Predicate
POST /v1/predicates
Register a new predicate in the controlled vocabulary.
Returns 201 Created on success.
Get Predicate
GET /v1/predicates/{id}
Retrieve a single predicate by its record ID, including all alias mappings.
Propose Alias
POST /v1/predicates/{id}/aliases
Propose a new alias mapping for a predicate. Aliases start with status proposed and must be activated separately.
Returns 201 Created on success.
Update Alias Status
PATCH /v1/predicates/{id}/aliases/{alias_id}
Activate or deprecate a predicate alias.
