Relationships
Data license: MIT · Data source: jebboone/deitydb
- subject_entity_id
- {'description': 'The entity initiating or holding the relationship'}
- relationship_type
- {'description': 'Typed relationship from the controlled vocabulary (see relationship_types table)'}
- object_entity_id
- {'description': 'The entity receiving or targeted by the relationship'}
- confidence
- {'description': 'high / medium / low / speculative'}
- rationale
- {'description': 'Scholarly justification for the relationship, with source citations'}
- source_id
- {'description': 'Primary source justifying this relationship'}
- period_id
- {'description': 'Historical period in which this relationship is attested (null = all periods)'}
2 rows where subject_entity_id = "ENT_JEU_PERSOMPHON"
This data as json, CSV (advanced)
| relationship_id ▼ | subject_entity_id | relationship_type | object_entity_id | confidence | rationale | source_id | review_status | period_id |
|---|---|---|---|---|---|---|---|---|
| 2712 | Persomphon ENT_JEU_PERSOMPHON | rules | First Aeon of the Ascent ENT_JEU_FIRST_AEON | high | Persomphon guards the first aeon of the ascent. | The (Two) Books of Jeu (Bruce Codex), c. 3rd-4th c. CE, Egypt SRC_BOOKS_OF_JEU | reviewed | Gnostic and Neoplatonic (2nd–4th c.) PER_GNO_2ND_4TH |
| 2718 | Persomphon ENT_JEU_PERSOMPHON | member_of | Archons ENT_GNO_ARCHONS | high | A gate-guarding archon. | The (Two) Books of Jeu (Bruce Codex), c. 3rd-4th c. CE, Egypt SRC_BOOKS_OF_JEU | reviewed | Gnostic and Neoplatonic (2nd–4th c.) PER_GNO_2ND_4TH |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE "entity_relationships" (
[relationship_id] INTEGER PRIMARY KEY,
[subject_entity_id] TEXT REFERENCES [entities]([entity_id]),
[relationship_type] TEXT REFERENCES [relationship_types]([relationship_type]),
[object_entity_id] TEXT REFERENCES [entities]([entity_id]),
[confidence] TEXT,
[rationale] TEXT,
[source_id] TEXT REFERENCES [sources]([source_id]),
[review_status] TEXT,
[period_id] TEXT REFERENCES [periods]([period_id])
);
CREATE INDEX [idx_entity_relationships_period_id]
ON [entity_relationships] ([period_id]);
CREATE INDEX [idx_entity_relationships_source_id]
ON [entity_relationships] ([source_id]);
CREATE INDEX [idx_entity_relationships_object_entity_id]
ON [entity_relationships] ([object_entity_id]);
CREATE INDEX [idx_entity_relationships_relationship_type]
ON [entity_relationships] ([relationship_type]);
CREATE INDEX [idx_entity_relationships_subject_entity_id]
ON [entity_relationships] ([subject_entity_id]);