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)'}
3 rows where subject_entity_id = "ENT_WEL_GWYN_AP_NUDD"
This data as json, CSV (advanced)
Suggested facets: object_entity_id, confidence
| relationship_id ▼ | subject_entity_id | relationship_type | object_entity_id | confidence | rationale | source_id | review_status | period_id |
|---|---|---|---|---|---|---|---|---|
| 1606 | Gwyn ap Nudd ENT_WEL_GWYN_AP_NUDD | rules | Annwn ENT_WEL_ANNWN | high | Gwyn ap Nudd is named as lord of Annwn and the Otherworld dead; Culhwch ac Olwen; Welsh Triads 26; must ride to gather the dead on All Hallows | The Mabinogion SRC_MABINOGION | reviewed | Medieval Welsh PER_CEL_MEDIEVAL_WELSH |
| 1607 | Gwyn ap Nudd ENT_WEL_GWYN_AP_NUDD | dwells_in | Annwn ENT_WEL_ANNWN | high | Gwyn ap Nudd presides over Annwn; his court is associated with Glastonbury Tor and the Otherworld hunt | The Mabinogion SRC_MABINOGION | reviewed | Medieval Welsh PER_CEL_MEDIEVAL_WELSH |
| 3449 | Gwyn ap Nudd ENT_WEL_GWYN_AP_NUDD | child_of | Lludd Llaw Eraint ENT_WEL_LLUDD | medium | Gwyn ap Nudd, son of Nudd/Lludd of the Silver Hand. | The Mabinogion SRC_MABINOGION | 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]);