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)'}
4 rows where object_entity_id = "ENT_ART_GRAIL"
This data as json, CSV (advanced)
Suggested facets: source_id
| relationship_id ▼ | subject_entity_id | relationship_type | object_entity_id | confidence | rationale | source_id | review_status | period_id |
|---|---|---|---|---|---|---|---|---|
| 5900 | Galahad ENT_ART_GALAHAD | guardian_of | The Holy Grail ENT_ART_GRAIL | high | Supreme achiever of the Grail. | The Vulgate Cycle (Lancelot-Grail), c. 1210-1235 CE SRC_VULGATE_CYCLE | reviewed | |
| 5901 | Perceval ENT_ART_PERCEVAL | guardian_of | The Holy Grail ENT_ART_GRAIL | high | One of the three Grail achievers. | Chretien de Troyes, Arthurian romances (Erec, Lancelot/Le Chevalier de la Charrette, Yvain, Perceval/Le Conte du Graal), c. 1170-1190 CE SRC_CHRETIEN_TROYES | reviewed | |
| 5902 | Bors ENT_ART_BORS | guardian_of | The Holy Grail ENT_ART_GRAIL | high | Grail achiever who returns to tell of it. | The Vulgate Cycle (Lancelot-Grail), c. 1210-1235 CE SRC_VULGATE_CYCLE | reviewed | |
| 5903 | The Fisher King ENT_ART_FISHER_KING | guardian_of | The Holy Grail ENT_ART_GRAIL | high | Keeper of the Grail at the Grail castle. | Wolfram von Eschenbach, Parzival, c. 1200-1210 CE SRC_WOLFRAM_PARZIVAL | reviewed |
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]);