{"database": "deitydb", "private": false, "path": "/deitydb", "size": 16461824, "tables": [{"name": "animals", "columns": ["animal"], "primary_keys": ["animal"], "count": 20, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_animals", "column": "animal", "other_column": "animal"}], "outgoing": []}, "private": false}, {"name": "claims", "columns": ["claim_id", "entity_id", "claim_type", "claim_value", "confidence", "source_id", "review_status"], "primary_keys": ["claim_id"], "count": 1789, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "classification_audit", "columns": ["audit_id", "relationship_id", "rule_set_id", "applied_rule_id", "input_subject", "input_object", "input_category", "output_relationship_type", "confidence", "rationale", "created_at"], "primary_keys": ["audit_id"], "count": 408, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "cult_centers", "columns": ["cult_center_id", "name", "tradition", "region", "modern_location", "notes"], "primary_keys": ["cult_center_id"], "count": 30, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_cult_centers", "column": "cult_center_id", "other_column": "cult_center_id"}], "outgoing": []}, "private": false}, {"name": "entities", "columns": ["entity_id", "canonical_name", "greek_name", "tradition", "entity_type", "category", "primary_domains", "tags", "cult_scope", "primary_period", "evidence_confidence", "review_status", "inclusion_basis", "earth_association_score", "chthonic_flag", "serpent_flag", "short_note", "entity_class"], "primary_keys": ["entity_id"], "count": 3838, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_duplicate_review", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_epithets", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_aliases", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_cult_centers", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_animals", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_functions", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_periods", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_plants", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_regions", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_relationships", "column": "entity_id", "other_column": "object_entity_id"}, {"other_table": "entity_relationships", "column": "entity_id", "other_column": "subject_entity_id"}, {"other_table": "entity_metals", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_tradition_tags", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "names", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_scores", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_sources", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "places", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "relationships", "column": "entity_id", "other_column": "object_entity_id"}, {"other_table": "relationships", "column": "entity_id", "other_column": "subject_entity_id"}, {"other_table": "claims", "column": "entity_id", "other_column": "entity_id"}, {"other_table": "entity_citations", "column": "entity_id", "other_column": "entity_id"}], "outgoing": [{"other_table": "entity_class", "column": "entity_class", "other_column": "class_id"}]}, "private": false}, {"name": "entity_aliases", "columns": ["alias_id", "entity_id", "alias_name", "alias_type", "language", "source_id", "confidence", "review_status", "notes"], "primary_keys": ["alias_id"], "count": 181, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_animals", "columns": ["entity_id", "animal", "confidence", "rationale", "source_id", "review_status"], "primary_keys": ["entity_id", "animal"], "count": 45, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "animals", "column": "animal", "other_column": "animal"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_citations", "columns": ["citation_id", "entity_id", "source_id", "work_title", "locus", "quote", "translator", "translation_year", "source_url", "evidence_grade", "evidence_note", "verified_on", "verify_method", "display_order", "needs_review", "review_reason", "original_text_url"], "primary_keys": ["citation_id"], "count": 3871, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_class", "columns": ["class_id", "label", "description", "sort_order"], "primary_keys": ["class_id"], "count": 19, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entities", "column": "class_id", "other_column": "entity_class"}, {"other_table": "entity_type_class_map", "column": "class_id", "other_column": "entity_class"}], "outgoing": []}, "private": false}, {"name": "entity_cult_centers", "columns": ["entity_id", "cult_center_id", "confidence", "rationale", "source_id", "review_status"], "primary_keys": ["entity_id", "cult_center_id"], "count": 63, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "cult_centers", "column": "cult_center_id", "other_column": "cult_center_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_duplicate_review", "columns": ["canonical_name", "entity_id", "duplicate_group_note", "decision", "reviewed_at"], "primary_keys": ["canonical_name", "entity_id"], "count": 68, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_epithets", "columns": ["entity_id", "epithet_id", "confidence", "source_id", "notes"], "primary_keys": ["entity_id", "epithet_id"], "count": 27, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "epithets", "column": "epithet_id", "other_column": "epithet_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_functions", "columns": ["entity_id", "function_name", "confidence", "rationale", "source_id", "review_status"], "primary_keys": ["entity_id", "function_name"], "count": 664, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "functions", "column": "function_name", "other_column": "function_name"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_merge_log", "columns": ["old_entity_id", "new_entity_id", "merge_reason", "merged_at"], "primary_keys": ["old_entity_id"], "count": 8, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "entity_metals", "columns": ["entity_id", "metal", "confidence", "rationale", "source_id", "review_status"], "primary_keys": ["entity_id", "metal"], "count": 7, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "metals", "column": "metal", "other_column": "metal"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_periods", "columns": ["entity_id", "period_id", "confidence", "rationale", "source_id", "review_status"], "primary_keys": ["entity_id", "period_id"], "count": 3922, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "periods", "column": "period_id", "other_column": "period_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_plants", "columns": ["entity_id", "plant", "confidence", "rationale", "source_id", "review_status"], "primary_keys": ["entity_id", "plant"], "count": 29, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "plants", "column": "plant", "other_column": "plant"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_regions", "columns": ["entity_id", "region", "confidence", "rationale", "source_id", "review_status"], "primary_keys": ["entity_id", "region"], "count": 429, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "regions", "column": "region", "other_column": "region"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_relationships", "columns": ["relationship_id", "subject_entity_id", "relationship_type", "object_entity_id", "confidence", "rationale", "source_id", "review_status", "period_id"], "primary_keys": ["relationship_id"], "count": 7106, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "periods", "column": "period_id", "other_column": "period_id"}, {"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "object_entity_id", "other_column": "entity_id"}, {"other_table": "relationship_types", "column": "relationship_type", "other_column": "relationship_type"}, {"other_table": "entities", "column": "subject_entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_scores", "columns": ["entity_id", "system", "score_name", "score", "confidence", "rationale", "source_id", "review_status"], "primary_keys": ["entity_id", "system", "score_name"], "count": 9108, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_sources", "columns": ["entity_id", "source_id", "evidence_type", "source_note"], "primary_keys": ["entity_id", "source_id", "evidence_type"], "count": 6474, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_tradition_tags", "columns": ["entity_id", "tradition_tag", "confidence", "source_id", "review_status", "notes"], "primary_keys": ["entity_id", "tradition_tag"], "count": 853, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "entity_type_class_map", "columns": ["entity_type", "entity_class"], "primary_keys": ["entity_type"], "count": 894, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "entity_class", "column": "entity_class", "other_column": "class_id"}]}, "private": false}, {"name": "epithets", "columns": ["epithet_id", "epithet_name", "translation", "description"], "primary_keys": ["epithet_id"], "count": 27, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_epithets", "column": "epithet_id", "other_column": "epithet_id"}], "outgoing": []}, "private": false}, {"name": "functions", "columns": ["function_name"], "primary_keys": ["function_name"], "count": 292, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_functions", "column": "function_name", "other_column": "function_name"}], "outgoing": []}, "private": false}, {"name": "import_batches", "columns": ["batch_id", "tradition", "source_id", "description", "imported_at", "entity_count", "relationship_count", "notes"], "primary_keys": ["batch_id"], "count": 1, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "metals", "columns": ["metal"], "primary_keys": ["metal"], "count": 3, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_metals", "column": "metal", "other_column": "metal"}], "outgoing": []}, "private": false}, {"name": "names", "columns": ["entity_id", "name", "name_type", "language", "source_id"], "primary_keys": [], "count": 479, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "periods", "columns": ["period_id", "tradition", "period_name", "start_year", "end_year", "notes"], "primary_keys": ["period_id"], "count": 131, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_periods", "column": "period_id", "other_column": "period_id"}, {"other_table": "entity_relationships", "column": "period_id", "other_column": "period_id"}], "outgoing": []}, "private": false}, {"name": "places", "columns": ["entity_id", "place_name", "place_type", "place_authority_id", "source_id", "confidence", "review_status"], "primary_keys": [], "count": 9, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "plants", "columns": ["plant"], "primary_keys": ["plant"], "count": 15, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_plants", "column": "plant", "other_column": "plant"}], "outgoing": []}, "private": false}, {"name": "regions", "columns": ["region"], "primary_keys": ["region"], "count": 28, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_regions", "column": "region", "other_column": "region"}], "outgoing": []}, "private": false}, {"name": "relationship_types", "columns": ["relationship_type", "inverse_relationship_type", "description"], "primary_keys": ["relationship_type"], "count": 70, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_relationships", "column": "relationship_type", "other_column": "relationship_type"}], "outgoing": []}, "private": false}, {"name": "relationships", "columns": ["subject_entity_id", "object_entity_id", "relationship_type", "confidence", "source_id", "review_status"], "primary_keys": [], "count": 0, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "entities", "column": "object_entity_id", "other_column": "entity_id"}, {"other_table": "entities", "column": "subject_entity_id", "other_column": "entity_id"}]}, "private": false}, {"name": "rule_sets", "columns": ["rule_set_id", "version", "created_at", "description"], "primary_keys": [], "count": 0, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "semantic_relationships", "columns": ["semantic_id", "relationship_id", "subject_entity_id", "object_entity_id", "relationship_type", "confidence", "rule_set_id", "created_at"], "primary_keys": ["semantic_id"], "count": 408, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "sources", "columns": ["source_id", "title", "url", "source_type", "scope"], "primary_keys": ["source_id"], "count": 463, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "entity_aliases", "column": "source_id", "other_column": "source_id"}, {"other_table": "entity_relationships", "column": "source_id", "other_column": "source_id"}, {"other_table": "entity_tradition_tags", "column": "source_id", "other_column": "source_id"}, {"other_table": "names", "column": "source_id", "other_column": "source_id"}, {"other_table": "entity_sources", "column": "source_id", "other_column": "source_id"}, {"other_table": "places", "column": "source_id", "other_column": "source_id"}, {"other_table": "relationships", "column": "source_id", "other_column": "source_id"}, {"other_table": "claims", "column": "source_id", "other_column": "source_id"}, {"other_table": "entity_citations", "column": "source_id", "other_column": "source_id"}], "outgoing": []}, "private": false}, {"name": "staging_entities", "columns": ["canonical_name", "tradition", "category", "primary_domains", "notes", "entity_id", "entity_type", "cult_scope", "evidence_confidence", "review_status", "inclusion_basis", "earth_association_score", "chthonic_flag", "serpent_flag", "short_note"], "primary_keys": [], "count": 0, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "staging_relationships", "columns": ["subject_name", "relationship_type", "object_name", "source_id", "confidence", "rationale", "review_status"], "primary_keys": [], "count": 3, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "tradition_profile", "columns": ["tradition", "tradition_class", "prevalence", "status_note"], "primary_keys": ["tradition"], "count": 135, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_adversarial_beings", "columns": ["entity_id", "canonical_name", "tradition", "category", "primary_domains", "short_note"], "primary_keys": [], "count": 143, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_angelic_beings", "columns": ["entity_id", "canonical_name", "tradition", "category", "primary_domains", "short_note"], "primary_keys": [], "count": 264, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_class_overview", "columns": ["entity_class", "label", "entity_count"], "primary_keys": [], "count": 19, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_comparative_domains", "columns": ["domain", "domain_category", "relationship_type", "entity", "entity_tradition", "entity_kind", "confidence", "source_id"], "primary_keys": [], "count": 1546, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_cross_tradition_links", "columns": ["entity", "tradition", "relationship_type", "linked_entity", "linked_tradition", "confidence", "rationale", "source_id"], "primary_keys": [], "count": 1006, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_cross_tradition_matrix", "columns": ["tradition_a", "tradition_b", "links", "link_types", "link_kinds"], "primary_keys": [], "count": null, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_domain_overview", "columns": ["domain", "domain_category", "entities", "traditions", "relationship_types", "relationship_kinds"], "primary_keys": [], "count": 118, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_entity_citations", "columns": ["entity_id", "canonical_name", "tradition", "work_title", "locus", "quote", "translator", "translation_year", "source_url", "original_text_url", "evidence_grade", "evidence_note", "needs_review", "review_reason", "display_order"], "primary_keys": [], "count": 3871, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_relationship_overview", "columns": ["relationship_type", "relationship_count"], "primary_keys": [], "count": 64, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_relationship_triples", "columns": ["subject", "subject_tradition", "relationship_type", "object", "object_tradition", "confidence", "source_id"], "primary_keys": [], "count": 7106, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_revealer_figures", "columns": ["entity_id", "canonical_name", "tradition", "category", "primary_domains", "short_note"], "primary_keys": [], "count": 143, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_serpent_dragon_beings", "columns": ["entity_id", "canonical_name", "tradition", "category", "serpent_flag", "primary_domains", "short_note"], "primary_keys": [], "count": 75, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_tradition_overview", "columns": ["tradition", "entity_count"], "primary_keys": [], "count": 136, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_tradition_profile", "columns": ["tradition", "tradition_class", "prevalence", "status_note", "entity_count"], "primary_keys": [], "count": 135, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_underworld_entities", "columns": ["entity_id", "canonical_name", "tradition", "category", "earth_association_score", "chthonic_flag", "primary_domains", "short_note"], "primary_keys": [], "count": 410, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_public_wisdom_knowledge_beings", "columns": ["entity_id", "canonical_name", "tradition", "category", "primary_domains", "short_note"], "primary_keys": [], "count": 256, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}, {"name": "v_release_metrics", "columns": ["entities", "relationships", "sources", "tradition_tags", "unreviewed_duplicates", "unresolved_relationships"], "primary_keys": [], "count": 1, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": []}, "private": false}], "hidden_count": 0, "views": [], "queries": [{"title": "\u2605 Cross-tradition links \u2014 the comparative core", "description_html": "The heart of DeityDB: every link where one tradition's figure is\n<em>received</em>, <em>syncretised</em>, <em>equated</em>, or recognised as a\n<em>cognate</em> of another's \u2014 577 connections across the religions of the\nancient and late-antique world. Filter by tradition with the queries below,\nor browse all here.\n", "sql": "SELECT entity, tradition, relationship_type, linked_entity, linked_tradition,\n       confidence, rationale, source_id\nFROM v_public_cross_tradition_links\n", "name": "cross-tradition-links", "private": false}, {"title": "\u2605 Cross-tradition web \u2014 which traditions connect", "description_html": "The tradition-to-tradition web. For every pair of traditions, how many\ncomparative links bridge them and by what kinds. The connective spine of the\ndataset \u2014 Greek and Egyptian are the great hubs.\n", "sql": "SELECT tradition_a, tradition_b, links, link_types, link_kinds\nFROM v_public_cross_tradition_matrix\n", "name": "cross-tradition-web", "private": false}, {"title": "\u2605 Cross-tradition links for one tradition", "description_html": "Every comparative bridge into and out of one tradition. Enter a tradition name\nexactly as it appears in the tradition overview \u2014 e.g. <em>Roman</em>,\n<em>Egyptian</em>, <em>Norse</em> (as <em>Germanic/Norse</em>), <em>Zoroastrian</em>,\n<em>Gnostic</em>.\n", "sql": "SELECT entity, tradition, relationship_type, linked_entity, linked_tradition,\n       confidence, rationale\nFROM v_public_cross_tradition_links\nWHERE tradition = :tradition OR linked_tradition = :tradition\nORDER BY relationship_type, entity\n", "name": "cross-tradition-for", "private": false}, {"title": "\u2605 The Magical Papyri \u2014 gods fused across traditions", "description_html": "A cross-tradition hub in miniature: the powers invoked in the\n<em>Greek Magical Papyri</em> (PGM), the late-antique ritual handbooks of\nGreco-Roman Egypt. The same operative magic addressed Greek, Egyptian,\nJewish, Mesopotamian and Gnostic powers side by side \u2014 Iao and Sabaoth\nbeside Helios, Hekate, Bes, Seth-Typhon, Ereshkigal and Abrasax. Each row\nis a power named in the papyri with its home tradition; the genuinely\nPGM-native figures (the Headless One, the Kosmokrator, the protective\nname-powers) carry the <em>Greco-Egyptian Magical</em> tag.\n", "sql": "SELECT s.canonical_name AS power,\n       s.tradition,\n       s.entity_type,\n       r.confidence,\n       s.short_note\nFROM entity_relationships r\nJOIN entities s ON s.entity_id = r.subject_entity_id\nWHERE r.object_entity_id = 'ENT_PGM_INVOKED_POWERS'\n  AND r.relationship_type = 'member_of'\nORDER BY s.tradition, s.canonical_name\n", "name": "magical-papyri-hub", "private": false}, {"title": "Comparative domains \u2014 index", "description_html": "The cross-traditional domain layer: each shared function (War, Healing,\nSovereignty, Disease, ...) with how many entities and traditions reach it.\nClick into a domain name in the detail query below.\n", "sql": "SELECT domain, entities, traditions, relationship_kinds\nFROM v_public_domain_overview\nORDER BY traditions DESC, entities DESC\n", "name": "comparative-domains-index", "private": false}, {"title": "Compare a domain across traditions", "description_html": "Enter a domain exactly as it appears in the comparative-domains index \u2014\ne.g. <em>Sovereignty</em>, <em>War</em>, <em>Healing</em>, <em>Underworld</em>,\n<em>Wisdom</em>, <em>Fertility</em>, <em>Disease</em>. Returns the deities and\nbeings across every tradition that fill it, with the typed relationship and source.\n", "sql": "SELECT entity, entity_tradition, entity_kind, relationship_type, confidence, source_id\nFROM v_public_comparative_domains\nWHERE domain = :domain\nORDER BY entity_tradition, entity\n", "name": "browse-domain", "private": false}, {"title": "Tradition overview", "description_html": "Entity and relationship counts across all covered traditions.", "sql": "SELECT tradition, entity_count\nFROM v_public_tradition_overview\nORDER BY entity_count DESC\n", "name": "tradition-overview", "private": false}, {"title": "Browse a tradition", "description_html": "Enter a tradition name exactly as it appears in the tradition overview \u2014\ne.g. <em>Greek</em>, <em>Egyptian</em>, <em>Islamic</em>, <em>Gnostic</em>,\n<em>Celtic/Welsh</em>, <em>Etruscan</em>, <em>Scythian</em>, <em>Phrygian</em>.\n", "sql": "SELECT entity_id, canonical_name, entity_class, entity_type, category, primary_domains, short_note\nFROM entities\nWHERE tradition = :tradition\nORDER BY canonical_name\n", "name": "browse-tradition", "private": false}, {"title": "Browse by functional category", "description_html": "Filter all entities by functional category. Examples:\n<em>Underworld Deity</em>, <em>Adversarial Being</em>, <em>Revealer Figure</em>,\n<em>Wisdom Deity</em>, <em>Hero</em>, <em>Saint</em>, <em>Storm Deity</em>,\n<em>Psychopomp</em>, <em>Trickster Figure</em>, <em>Primordial Deity</em>,\n<em>Aeon</em>, <em>Titan</em>, <em>Daimon</em>, <em>Olympian</em>. Case-sensitive.\n", "sql": "SELECT entity_id, canonical_name, tradition, entity_class, entity_type, primary_domains, short_note\nFROM entities\nWHERE category = :category\nORDER BY tradition, canonical_name\n", "name": "browse-category", "private": false}, {"title": "All relationships for an entity", "description_html": "Enter any part of an entity name to see every relationship it holds as subject or\nobject. Try <em>Osiris</em>, <em>Zeus</em>, <em>Metatron</em>, <em>Inanna</em>,\n<em>Cybele</em>, <em>Marduk</em>.\n", "sql": "SELECT\n  s.canonical_name AS subject,\n  s.tradition      AS subject_tradition,\n  r.relationship_type,\n  o.canonical_name AS object,\n  o.tradition      AS object_tradition,\n  r.confidence,\n  r.rationale\nFROM entity_relationships r\nJOIN entities s ON s.entity_id = r.subject_entity_id\nJOIN entities o ON o.entity_id = r.object_entity_id\nWHERE s.canonical_name LIKE '%' || :entity_name || '%'\n   OR o.canonical_name LIKE '%' || :entity_name || '%'\nORDER BY r.relationship_type, s.canonical_name\n", "name": "entity-relationships", "private": false}, {"title": "Trace a reception chain", "description_html": "Follow how a divine figure was received and transformed across traditions. Enter any\npart of an entity name to trace its transmission history.\n<ul>\n  <li><em>Matar</em> \u2192 Phrygian Matar Kubileya \u2192 Greek Cybele \u2192 Roman Magna Mater</li>\n  <li><em>Lugus</em> \u2192 Gaulish Lugus \u2192 Irish Lugh \u2192 Welsh Lleu Llaw Gyffes</li>\n  <li><em>Osiris</em> \u2192 Egyptian Osiris \u2192 Ptolemaic Serapis \u2192 Christian parallels</li>\n  <li><em>Moses</em> \u2192 Israelite Moses \u2192 Islamic Musa</li>\n  <li><em>Tiamat</em> \u2192 Mesopotamian chaos \u2192 Canaanite Lotan \u2192 Israelite Leviathan</li>\n</ul>\nFollows <em>reception_of</em> and <em>received_as</em> links up to 8 hops.\n", "sql": "WITH RECURSIVE chain(\n  subject_id, object_id,\n  subject_name, subject_tradition,\n  object_name, object_tradition,\n  rel_type, confidence, depth\n) AS (\n  SELECT\n    r.subject_entity_id, r.object_entity_id,\n    s.canonical_name, s.tradition,\n    o.canonical_name, o.tradition,\n    r.relationship_type, r.confidence, 1\n  FROM entity_relationships r\n  JOIN entities s ON s.entity_id = r.subject_entity_id\n  JOIN entities o ON o.entity_id = r.object_entity_id\n  WHERE length(coalesce(:entity_name, '')) >= 2\n    AND r.relationship_type IN ('reception_of', 'received_as')\n    AND (s.canonical_name LIKE '%' || :entity_name || '%'\n         OR o.canonical_name LIKE '%' || :entity_name || '%')\n  UNION ALL\n  SELECT\n    r.subject_entity_id, r.object_entity_id,\n    s.canonical_name, s.tradition,\n    o.canonical_name, o.tradition,\n    r.relationship_type, r.confidence, c.depth + 1\n  FROM entity_relationships r\n  JOIN entities s ON s.entity_id = r.subject_entity_id\n  JOIN entities o ON o.entity_id = r.object_entity_id\n  JOIN chain c ON c.object_id = r.subject_entity_id\n  WHERE r.relationship_type IN ('reception_of', 'received_as')\n    AND c.depth < 8\n)\nSELECT DISTINCT\n  subject_name, subject_tradition,\n  rel_type AS relationship,\n  object_name, object_tradition,\n  confidence, depth\nFROM chain\nORDER BY depth, subject_tradition\n", "name": "reception-chain", "private": false}, {"title": "Cross-traditional equations and identifications", "description_html": "Only the <em>equation</em> links \u2014 <em>equated_with</em>, <em>identified_with</em>,\nand <em>syncretized_with</em> \u2014 showing how ancient writers (Herodotus, Tacitus,\nPlutarch) and modern scholars recognised the same divine figure across traditions.\nFor the fuller picture (including <em>reception_of</em> and cognate <em>aligned_with</em>\nlinks) see <strong>\u2605 Cross-tradition links</strong> above.\n", "sql": "SELECT entity, tradition AS from_tradition, relationship_type,\n       linked_entity AS parallel, linked_tradition AS to_tradition,\n       confidence, rationale\nFROM v_public_cross_tradition_links\nWHERE relationship_type IN ('equated_with', 'identified_with', 'syncretized_with')\nORDER BY tradition, entity\n", "name": "cross-traditional-parallels", "private": false}, {"title": "Divine genealogies", "description_html": "All parent/child relationships across traditions.", "sql": "SELECT\n  s.canonical_name AS parent,\n  s.tradition      AS tradition,\n  o.canonical_name AS child,\n  r.confidence,\n  r.rationale\nFROM entity_relationships r\nJOIN entities s ON s.entity_id = r.subject_entity_id\nJOIN entities o ON o.entity_id = r.object_entity_id\nWHERE r.relationship_type = 'parent_of'\nORDER BY s.tradition, s.canonical_name\n", "name": "divine-genealogies", "private": false}, {"title": "Most connected entities", "description_html": "The 50 entities with the most outgoing relationships \u2014 the central nodes in the\ndivine network. High connectivity marks figures that function as cross-traditional\nconvergence points or cosmological anchors.\n", "sql": "SELECT\n  e.canonical_name,\n  e.tradition,\n  e.category,\n  COUNT(*) AS relationship_count\nFROM entity_relationships r\nJOIN entities e ON e.entity_id = r.subject_entity_id\nGROUP BY e.entity_id, e.canonical_name, e.tradition, e.category\nORDER BY relationship_count DESC\nLIMIT 50\n", "name": "most-connected", "private": false}, {"title": "Underworld and chthonic entities", "description_html": "All underworld and chthonic-associated entities across traditions.", "sql": "SELECT canonical_name, tradition, category\nFROM v_public_underworld_entities\nORDER BY tradition, canonical_name\n", "name": "underworld-entities", "private": false}, {"title": "Adversarial and demonic beings", "description_html": "Demons, adversarial figures, and hostile entities across traditions.", "sql": "SELECT canonical_name, tradition, category\nFROM v_public_adversarial_beings\nORDER BY tradition, canonical_name\n", "name": "adversarial-beings", "private": false}, {"title": "Angelic beings", "description_html": "Angels, divine messengers, and heavenly beings across traditions.", "sql": "SELECT canonical_name, tradition, category\nFROM v_public_angelic_beings\nORDER BY tradition, canonical_name\n", "name": "angelic-beings", "private": false}, {"title": "Revealer and prophetic figures", "description_html": "Prophets, revealers, and divine-knowledge transmitters across traditions.", "sql": "SELECT canonical_name, tradition, category\nFROM v_public_revealer_figures\nORDER BY tradition, canonical_name\n", "name": "revealer-figures", "private": false}, {"title": "Wisdom and knowledge figures", "description_html": "Wisdom deities, scribal gods, and knowledge-bearing figures.", "sql": "SELECT canonical_name, tradition, category\nFROM v_public_wisdom_knowledge_beings\nORDER BY tradition, canonical_name\n", "name": "wisdom-knowledge", "private": false}, {"title": "Serpent and dragon beings", "description_html": "Serpent and dragon figures across all traditions.", "sql": "SELECT canonical_name, tradition, category\nFROM v_public_serpent_dragon_beings\nORDER BY tradition, canonical_name\n", "name": "serpent-dragon", "private": false}, {"title": "Source bibliography", "description_html": "Every source used in DeityDB, ranked by how many entities they attest \u2014\nprimary texts alongside the secondary scholarship used to interpret them.\n", "sql": "SELECT\n  s.title,\n  s.source_type,\n  COUNT(es.entity_id) AS entities_linked,\n  s.scope\nFROM sources s\nLEFT JOIN entity_sources es ON es.source_id = s.source_id\nGROUP BY s.source_id, s.title, s.source_type, s.scope\nORDER BY entities_linked DESC\n", "name": "source-bibliography", "private": false}, {"title": "Relationship type vocabulary", "description_html": "The 70 typed relationship types that form DeityDB's ontological vocabulary,\nwith their inverse forms and definitions.\n", "sql": "SELECT relationship_type, inverse_relationship_type, description\nFROM relationship_types\nORDER BY relationship_type\n", "name": "relationship-vocabulary", "private": false}], "allow_execute_sql": true, "query_ms": 5769.362840999747, "source": "jebboone/deitydb", "source_url": "https://github.com/jebboone/deitydb", "license": "MIT", "license_url": "https://opensource.org/licenses/MIT"}