Datasets:
source_node_id stringlengths 16 35 ⌀ | target_node_id stringlengths 16 35 ⌀ | relationship_type stringclasses 27
values | properties_json stringlengths 2 9.02k ⌀ |
|---|---|---|---|
ep_sea_ser_doctor_who_s01_e01 | act_9a9ed42fc766bbc6 | CONTAINS_ACT | {} |
ep_sea_ser_doctor_who_s01_e01 | act_a5a8f4b53d7ea1d1 | CONTAINS_ACT | {} |
ep_sea_ser_doctor_who_s01_e01 | act_6fee090f47d57d53 | CONTAINS_ACT | {} |
act_9a9ed42fc766bbc6 | ep_sea_ser_doctor_who_s01_e01 | PART_OF_EPISODE | {} |
act_9a9ed42fc766bbc6 | scene_72c20c97280165c6 | CONTAINS_SCENE | {} |
act_9a9ed42fc766bbc6 | scene_64144b23196c84e1 | CONTAINS_SCENE | {} |
act_9a9ed42fc766bbc6 | scene_5218c0d679dca303 | CONTAINS_SCENE | {} |
act_a5a8f4b53d7ea1d1 | ep_sea_ser_doctor_who_s01_e01 | PART_OF_EPISODE | {} |
act_a5a8f4b53d7ea1d1 | scene_da1ed38cdac9f47b | CONTAINS_SCENE | {} |
act_a5a8f4b53d7ea1d1 | scene_15d0ee49e040d993 | CONTAINS_SCENE | {} |
act_a5a8f4b53d7ea1d1 | scene_3d3b8a2f6f78fb82 | CONTAINS_SCENE | {} |
act_6fee090f47d57d53 | ep_sea_ser_doctor_who_s01_e01 | PART_OF_EPISODE | {} |
act_6fee090f47d57d53 | scene_d5f08faeea16e573 | CONTAINS_SCENE | {} |
act_6fee090f47d57d53 | scene_e026de268cf88608 | CONTAINS_SCENE | {} |
act_6fee090f47d57d53 | scene_8dc6db1c898ed8e3 | CONTAINS_SCENE | {} |
act_6fee090f47d57d53 | scene_717b62b5ae7b545f | CONTAINS_SCENE | {} |
scene_72c20c97280165c6 | act_9a9ed42fc766bbc6 | PART_OF_ACT | {} |
scene_72c20c97280165c6 | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_72c20c97280165c6 | beat_fbe9e972303f9c5a | CONTAINS_BEAT | {} |
scene_64144b23196c84e1 | act_9a9ed42fc766bbc6 | PART_OF_ACT | {} |
scene_64144b23196c84e1 | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_64144b23196c84e1 | beat_9dae78d6a97c60e3 | CONTAINS_BEAT | {} |
scene_5218c0d679dca303 | act_9a9ed42fc766bbc6 | PART_OF_ACT | {} |
scene_5218c0d679dca303 | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_5218c0d679dca303 | beat_8cfeda4ce75b65ef | CONTAINS_BEAT | {} |
scene_5218c0d679dca303 | beat_2e28ebc10c83f5f3 | CONTAINS_BEAT | {} |
scene_5218c0d679dca303 | beat_21316cc25bdc96e6 | CONTAINS_BEAT | {} |
scene_da1ed38cdac9f47b | act_a5a8f4b53d7ea1d1 | PART_OF_ACT | {} |
scene_da1ed38cdac9f47b | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_da1ed38cdac9f47b | beat_60ea4c185c9ca2e1 | CONTAINS_BEAT | {} |
scene_da1ed38cdac9f47b | beat_e5d5e235c776faa5 | CONTAINS_BEAT | {} |
scene_da1ed38cdac9f47b | beat_39824e664f871e17 | CONTAINS_BEAT | {} |
scene_15d0ee49e040d993 | act_a5a8f4b53d7ea1d1 | PART_OF_ACT | {} |
scene_15d0ee49e040d993 | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_15d0ee49e040d993 | beat_2d9bd67a66d55a61 | CONTAINS_BEAT | {} |
scene_15d0ee49e040d993 | beat_0bc71e49b3711ec8 | CONTAINS_BEAT | {} |
scene_3d3b8a2f6f78fb82 | act_a5a8f4b53d7ea1d1 | PART_OF_ACT | {} |
scene_3d3b8a2f6f78fb82 | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_3d3b8a2f6f78fb82 | beat_654fa9da6e0c2682 | CONTAINS_BEAT | {} |
scene_3d3b8a2f6f78fb82 | beat_70736095e94f1c05 | CONTAINS_BEAT | {} |
scene_d5f08faeea16e573 | act_6fee090f47d57d53 | PART_OF_ACT | {} |
scene_d5f08faeea16e573 | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_d5f08faeea16e573 | beat_d3120bebbe843d02 | CONTAINS_BEAT | {} |
scene_e026de268cf88608 | act_6fee090f47d57d53 | PART_OF_ACT | {} |
scene_e026de268cf88608 | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_e026de268cf88608 | beat_3be82bb56c1ca46f | CONTAINS_BEAT | {} |
scene_8dc6db1c898ed8e3 | act_6fee090f47d57d53 | PART_OF_ACT | {} |
scene_8dc6db1c898ed8e3 | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_8dc6db1c898ed8e3 | beat_43dc2be1a24d6fc9 | CONTAINS_BEAT | {} |
scene_8dc6db1c898ed8e3 | beat_30fd44e586649990 | CONTAINS_BEAT | {} |
scene_8dc6db1c898ed8e3 | beat_2bb805c4f746cc51 | CONTAINS_BEAT | {} |
scene_717b62b5ae7b545f | act_6fee090f47d57d53 | PART_OF_ACT | {} |
scene_717b62b5ae7b545f | ep_sea_ser_doctor_who_s01_e01 | BELONGS_TO_EPISODE | {} |
scene_717b62b5ae7b545f | beat_6bfb42ddde433657 | CONTAINS_BEAT | {} |
scene_717b62b5ae7b545f | beat_5f9ec5b691112842 | CONTAINS_BEAT | {} |
scene_717b62b5ae7b545f | beat_9e2d899c0b965891 | CONTAINS_BEAT | {} |
scene_717b62b5ae7b545f | beat_211e8ab9687b7802 | CONTAINS_BEAT | {} |
scene_717b62b5ae7b545f | beat_d2b144f4ced9f1a9 | CONTAINS_BEAT | {} |
beat_9dae78d6a97c60e3 | beat_8cfeda4ce75b65ef | CAUSAL | {"strength": "strong", "description": "The school bell rings, and Barbara asks Susan to wait for her, leading to Barbara expressing her concern about Susan Foreman to Ian.", "global_id": "ger_narrativeconnection_32928dc4b5e4", "created_at": "2026-03-16T13:20:09.473000000+00:00", "connection_uuid": "conn_f58bfd8f4fef"} |
beat_8cfeda4ce75b65ef | beat_2e28ebc10c83f5f3 | NARRATIVELY_FOLLOWS | {"strength": "strong", "description": "Barbara's concern about Susan leads her to recount her visit to Susan's listed address and the discovery that it's a junkyard.", "global_id": "ger_narrativeconnection_a80b813fae33", "created_at": "2026-03-16T13:20:09.530000000+00:00", "connection_uuid": "conn_7873923f30f9"} |
beat_2e28ebc10c83f5f3 | beat_21316cc25bdc96e6 | CAUSAL | {"strength": "strong", "description": "The mystery surrounding Susan's living situation prompts Ian to agree to help Barbara investigate, leading to their joint stakeout plan.", "global_id": "ger_narrativeconnection_02b17b286af9", "created_at": "2026-03-16T13:20:09.473000000+00:00", "connection_uuid": "conn_3a7515f830f... |
beat_2e28ebc10c83f5f3 | beat_5f9ec5b691112842 | CALLBACK | {"strength": "strong", "description": "Barbara recounts visiting the junkyard at Totter's Lane. Later, they return to the junkyard and find the police box, fulfilling the earlier description.", "global_id": "ger_narrativeconnection_6812c977954f", "created_at": "2026-03-16T13:20:09.610000000+00:00", "connection_uuid": "... |
beat_21316cc25bdc96e6 | beat_2d9bd67a66d55a61 | CAUSAL | {"strength": "strong", "description": "Ian and Barbara agree to stake out the junkyard, which leads to their arrival at Totter's Lane and Barbara's initial doubts about their investigation.", "global_id": "ger_narrativeconnection_339be254b085", "created_at": "2026-03-16T13:20:09.473000000+00:00", "connection_uuid": "co... |
beat_21316cc25bdc96e6 | beat_d2b144f4ced9f1a9 | CAUSAL | {"strength": "strong", "description": "Ian and Barbara decide to investigate Susan and stakeout at the junkyard. Later, they enter the police box, finally acting on their decision to investigate.", "global_id": "ger_narrativeconnection_f379b2d06cb3", "created_at": "2026-03-16T13:20:09.473000000+00:00", "connection_uuid... |
beat_39824e664f871e17 | beat_211e8ab9687b7802 | FORESHADOWING | {"strength": "medium", "description": "Susan senses something is wrong with the book. Foreshadows her connection to something beyond normal reality.", "global_id": "ger_narrativeconnection_b272c44699df", "created_at": "2026-03-16T13:20:09.637000000+00:00", "connection_uuid": "conn_973ab3eb996b"} |
beat_0bc71e49b3711ec8 | beat_d3120bebbe843d02 | CHARACTER_CONTINUITY | {"strength": "medium", "description": "Barbara highlights Susan's lack of basic knowledge solidifying her conviction that Susan is a mystery. This carries over to the next scene where Ian also reflects on Susan's unusual behaviour.", "global_id": "ger_narrativeconnection_970500c2b16c", "created_at": "2026-03-16T13:20:0... |
beat_d3120bebbe843d02 | beat_43dc2be1a24d6fc9 | CHARACTER_CONTINUITY | {"strength": "strong", "description": "Both Ian and Barbara keep on thinking about what makes Susan special, and reflect upon the most impressive/weird examples of that.", "global_id": "ger_narrativeconnection_d8807044fefb", "created_at": "2026-03-16T13:20:09.557000000+00:00", "connection_uuid": "conn_791b44b6d514"} |
beat_43dc2be1a24d6fc9 | beat_30fd44e586649990 | CAUSAL | {"strength": "strong", "description": "Ian and Barbara recall Susan's unsettling knowledge, leading to Barbara expressing unease as they spot her entering the junkyard.", "global_id": "ger_narrativeconnection_5743a7f8546e", "created_at": "2026-03-16T13:20:09.473000000+00:00", "connection_uuid": "conn_573a4681c368"} |
beat_30fd44e586649990 | beat_6bfb42ddde433657 | CAUSAL | {"strength": "strong", "description": "Spotting Susan entering the scrap yard leads Ian and Barbara to move into the scrap yard where they continue seeking Susan.", "global_id": "ger_narrativeconnection_1a10d255609c", "created_at": "2026-03-16T13:20:09.473000000+00:00", "connection_uuid": "conn_fb0dd4d860a6"} |
beat_6bfb42ddde433657 | beat_5f9ec5b691112842 | CAUSAL | {"strength": "strong", "description": "The inability to find Susan leads Ian and Barbara to focus on the police box, and they get startled by the arrival of the Doctor, and Susan's voice speaking to him within the box.", "global_id": "ger_narrativeconnection_1cabce7b0c34", "created_at": "2026-03-16T13:20:09.473000000+0... |
beat_5f9ec5b691112842 | beat_9e2d899c0b965891 | CAUSAL | {"strength": "strong", "description": "As Ian and Barbara overhear Susan and the old man, they decide to confront the old man about Susan's presence inside the police box.", "global_id": "ger_narrativeconnection_349498a2e8a4", "created_at": "2026-03-16T13:20:09.473000000+00:00", "connection_uuid": "conn_35c92d390ef5"} |
beat_9e2d899c0b965891 | beat_211e8ab9687b7802 | ESCALATION | {"strength": "strong", "description": "The Doctor feigns ignorance, and deflects questions, prompting Ian and Barbara to threaten to involve the police.", "global_id": "ger_narrativeconnection_f80cd1e2595d", "created_at": "2026-03-16T13:20:09.584000000+00:00", "connection_uuid": "conn_42feb979990b"} |
beat_211e8ab9687b7802 | beat_d2b144f4ced9f1a9 | CAUSAL | {"strength": "strong", "description": "Another call from Susan inside the box destroy's the Doctor's credibility and prompts Barbara, followed by Ian, to enter the police box, setting the stage for the resolution.", "global_id": "ger_narrativeconnection_8952d70a3f47", "created_at": "2026-03-16T13:20:09.473000000+00:00"... |
cand_evt_scene_72c20c97280165c6_01 | ep_sea_ser_doctor_who_s01_e01 | PART_OF_EPISODE | {} |
cand_evt_scene_72c20c97280165c6_01 | scene_72c20c97280165c6 | OCCURS_IN | {} |
cand_evt_scene_72c20c97280165c6_01 | theme_ad0dae185ebd | EXEMPLIFIES_THEME | {} |
cand_evt_scene_64144b23196c84e1_01 | ep_sea_ser_doctor_who_s01_e01 | PART_OF_EPISODE | {} |
cand_evt_scene_64144b23196c84e1_01 | cand_evt_scene_0ba7a3c6cf1d3cdf_01 | CHARACTER_CONTINUITY | {"last_updated_at": "2026-07-05T21:54:06.438000000+00:00", "strength": "strong", "description": "Barbara\u2019s initial suspicion and investigation of Susan (stepping outside class to detain her) evolves into her increasingly urgent belief in the supernatural after witnessing the TARDIS and time travel. Her early uneas... |
cand_evt_scene_64144b23196c84e1_01 | cand_evt_scene_9765d65b610e3a96_06 | CHARACTER_CONTINUITY | {"strength": "strong", "description": "Barbara's initial investigative tendencies and protective instincts over Susan forge her later actions in the cave, where she is claimed as a captive by Za, mirroring her earlier dedication to uncovering the truth.", "inferred_by": "llm_cross_episode_character", "created_at": "202... |
cand_evt_scene_64144b23196c84e1_01 | cand_evt_scene_2e49681e4ba752b6_01 | CHARACTER_CONTINUITY | {"strength": "medium", "description": "Barbara's role as a skeptical authority figure in Episode 1 directly informs her questioning of Susan's reports in Episode 5.", "inferred_by": "llm_cross_episode_arc", "created_at": "2026-07-05T21:22:00.507000000+00:00", "connection_uuid": "conn_515cbb07ce01", "cross_episode_reaso... |
cand_evt_scene_64144b23196c84e1_01 | cand_evt_scene_2e49681e4ba752b6_01 | FORESHADOWING | {"strength": "strong", "description": "Barbara\u2019s initial suspicion of Susan in 'An Unearthly Child' (holding her after class) foreshadows Susan\u2019s later role as the Doctor\u2019s 'lie detector' in 'The Dead Planet,' where her compliance and trust are tested by the Doctor\u2019s evasive behavior.", "inferred_by... |
cand_evt_scene_64144b23196c84e1_01 | scene_64144b23196c84e1 | OCCURS_IN | {} |
cand_evt_scene_64144b23196c84e1_01 | arc_c0cd92c19895 | PART_OF_ARC | {"role": "START"} |
cand_evt_scene_64144b23196c84e1_01 | arc_52dd9a1d4ab0 | PART_OF_ARC | {"role": "START"} |
cand_evt_scene_64144b23196c84e1_01 | cand_evt_scene_5d4cee856b730b11_04 | THEMATIC_PARALLEL | {"last_updated_at": "2026-07-05T20:41:57.438000000+00:00", "strength": "medium", "description": "Barbara\u2019s suspicion of Susan in Episode 1 (holding her) parallels Barbara\u2019s role as mediator and questioner of Susan in Episode 5 (especially probing her terror), highlighting the theme of adult-figure authority v... |
cand_evt_scene_5218c0d679dca303_02 | ep_sea_ser_doctor_who_s01_e01 | PART_OF_EPISODE | {} |
cand_evt_scene_5218c0d679dca303_02 | cand_evt_scene_0ba7a3c6cf1d3cdf_01 | CAUSAL | {"strength": "strong", "description": "Barbara\u2019s insistence on investigating Susan\u2019s address (convinced Ian to stake out Totter\u2019s Lane) directly enables their encounter with the Doctor and eventual time travel to prehistoric times.", "inferred_by": "llm_cross_episode_character", "created_at": "2026-07-05... |
cand_evt_scene_5218c0d679dca303_02 | cand_evt_scene_0ba7a3c6cf1d3cdf_02 | CAUSAL | {"last_updated_at": "2026-07-05T21:13:59.904000000+00:00", "strength": "strong", "description": "Barbara convincing Ian to investigate Susan\u2019s home leads directly to their discovery of the TARDIS and the Doctor's presence, which in turn leads to the TARDIS dematerializing and Ian\u2019s confrontation with the preh... |
cand_evt_scene_5218c0d679dca303_02 | cand_evt_scene_0ba7a3c6cf1d3cdf_01 | CHARACTER_CONTINUITY | {"strength": "strong", "description": "Barbara\u2019s insistence on investigating Susan\u2019s mysteries in Episode 1 directly influences her acceptance of the TARDIS as real in Episode 2, where she steps out onto the prehistoric landscape first.", "inferred_by": "llm_cross_episode_character", "created_at": "2026-07-05... |
cand_evt_scene_5218c0d679dca303_02 | cand_evt_scene_0ba7a3c6cf1d3cdf_01 | ESCALATION | {"strength": "medium", "description": "Ian's investigative curiosity from Episode 1 (stakeout, confronting the Doctor) escalates in Episode 2 into his demand for proof of time travel, showing his role as the group's anchor to skepticism.", "inferred_by": "llm_cross_episode_character", "created_at": "2026-07-05T21:18:19... |
cand_evt_scene_5218c0d679dca303_02 | cand_evt_scene_9765d65b610e3a96_06 | ESCALATION | {"strength": "strong", "description": "Barbara\u2019s decision to investigate Susan\u2019s secrets (Episode 1) escalates into her being claimed as a captive by a tribal leader (Episode 2), demonstrating a literal loss of freedom driven by curiosity and pursuit.", "inferred_by": "llm_cross_episode_character", "created_a... |
cand_evt_scene_5218c0d679dca303_02 | cand_evt_scene_0ba7a3c6cf1d3cdf_03 | FORESHADOWING | {"strength": "medium", "description": "Barbara convincing Ian to investigate Susan (source) foreshadows his later leadership in the cave (target), where he must protect the group despite his disbelief.", "inferred_by": "llm_cross_episode_character", "created_at": "2026-07-05T21:58:22.706000000+00:00", "connection_uuid"... |
cand_evt_scene_5218c0d679dca303_02 | scene_5218c0d679dca303 | OCCURS_IN | {} |
cand_evt_scene_da1ed38cdac9f47b_01 | ep_sea_ser_doctor_who_s01_e01 | PART_OF_EPISODE | {} |
cand_evt_scene_da1ed38cdac9f47b_01 | scene_da1ed38cdac9f47b | OCCURS_IN | {} |
cand_evt_scene_da1ed38cdac9f47b_01 | theme_08afa4d9495d | EXEMPLIFIES_THEME | {} |
cand_evt_scene_da1ed38cdac9f47b_02 | ep_sea_ser_doctor_who_s01_e01 | PART_OF_EPISODE | {} |
cand_evt_scene_da1ed38cdac9f47b_02 | cand_evt_scene_dac46660d07e8691_01 | FORESHADOWING | {"strength": "medium", "description": "Susan\u2019s instinctive distrust of the book\u2019s content (feeling 'it's not right') in Episode 1 foreshadows her intuitive mistrust of the tribe\u2019s hostile environment in Episode 2, where she willingly calls out to the Doctor from danger and refuses to abandon him.", "infe... |
cand_evt_scene_da1ed38cdac9f47b_02 | scene_da1ed38cdac9f47b | OCCURS_IN | {} |
cand_evt_scene_da1ed38cdac9f47b_02 | cand_evt_scene_0ba7a3c6cf1d3cdf_01 | THEMATIC_PARALLEL | {"strength": "medium", "description": "Susan\u2019s visceral rejection of the \u201cunnatural\u201d book in Episode 1 parallels her reaction to Ian\u2019s refusal to believe in the TARDIS\u2019s nature in Episode 2. Both scenes illustrate her intuitive connection to truths beyond ordinary reality.", "inferred_by": "llm... |
Doctor Who - Narrative Knowledge Graph
A rich narrative knowledge graph extracted from Doctor Who screenplays using the Fabula pipeline. Contains characters, locations, objects, organizations, events, themes, and conflict arcs with full participation semantics and Graph Gravity importance tiers.
Dataset Overview
| Metric | Value |
|---|---|
| Source database | doctorwho.s01 |
| Type | Season database |
| Episodes | 42 |
| Total nodes | 4,597 |
| Total edges | 19,938 |
| Schema version | 1.2.0 |
| Exported | 2026-08-05 |
Entity Breakdown
| Type | Count |
|---|---|
| Act | 121 |
| Agent | 206 |
| ConflictArc | 83 |
| Episode | 42 |
| Event | 815 |
| Location | 359 |
| Object | 696 |
| Organization | 93 |
| PlotBeat | 1,490 |
| SceneBoundary | 508 |
| Theme | 178 |
| Writer | 6 |
Graph Gravity Tiers
| Tier | Count | Description |
|---|---|---|
| anchor | 33 | Main characters / key locations |
| planet | 196 | Recurring entities |
| asteroid | 1,125 | Minor / one-off entities |
Relationship Types
AFFILIATED_WITH, BELONGS_TO_EPISODE, CALLBACK, CAUSAL, CHARACTER_CONTINUITY, CONTAINS_ACT, CONTAINS_BEAT, CONTAINS_SCENE, CREDITED_ON, EMOTIONAL_ECHO, ESCALATION, EXEMPLIFIES_THEME, FORESHADOWING, INVOLVED_IN_ARC, INVOLVED_WITH, IN_EVENT, NARRATIVELY_FOLLOWS, OCCURS_IN, PARTICIPATED_AS, PART_OF ... and 7 more
Related Datasets
This is a single-season dataset containing entities and events as extracted from Season 1 screenplays.
- Megagraph (all seasons unified): brandburner/doctorwho-mega-narrative-kg
Note: The megagraph is not a simple union of season datasets. Cross-season entities are reconciled through a Global Entity Registry (GER), receiving new canonical UUIDs and distilled descriptions. Graph Gravity tiers are recalculated across all episodes. Use individual season datasets for single-season analysis; use the megagraph for cross-season analysis.
Files
| File | Description |
|---|---|
nodes.parquet |
All graph nodes with properties |
edges.parquet |
All relationships with properties |
positions.parquet |
3D layout coordinates for visualization |
meta.json |
Dataset metadata and entity counts |
Schema
Nodes (nodes.parquet)
| Column | Type | Description |
|---|---|---|
node_id |
string | Unique node identifier (UUID) |
primary_label |
string | Node type (Agent, Location, Event, etc.) |
name |
string | Display name |
description |
string | Foundational description |
tier |
string (nullable) | Graph Gravity tier: anchor / planet / asteroid |
episode_count |
int (nullable) | Number of distinct episodes entity appears in |
first_episode_seq |
int (nullable) | First appearance episode |
last_episode_seq |
int (nullable) | Last appearance episode |
properties_json |
string | Full node properties as JSON |
Edges (edges.parquet)
| Column | Type | Description |
|---|---|---|
source_node_id |
string | Source node UUID |
target_node_id |
string | Target node UUID |
relationship_type |
string | Relationship type (e.g., PARTICIPATED_AS) |
properties_json |
string | Edge properties as JSON |
Positions (positions.parquet)
| Column | Type | Description |
|---|---|---|
node_id |
string | Node UUID |
x, y, z |
float | 3D coordinates |
size |
float | Node size (Graph Gravity weighted) |
r, g, b |
int | RGB color by entity type |
community |
int | Louvain community index (seeded, deterministic) |
tier |
string (nullable) | Graph Gravity tier |
Layout method (schema ≥ 1.2.0): Coordinates are derived from the entities' semantic text embeddings (UMAP with a fixed seed and PCA initialization), so narratively similar entities sit near each other. Non-embedded nodes (events, scenes, episodes, etc.) are placed at the weighted barycenter of their narrative neighbours. The layout is deterministic: re-exporting an unchanged graph reproduces identical coordinates, and lightly-changed graphs keep comparable layouts. Not comparable with positions published under schema ≤ 1.1.0, which used a non-deterministic node2vec structural embedding. See
meta.json → positionsfor the exact method and coverage stats.
Usage
from datasets import load_dataset
import pandas as pd
# Load from HuggingFace
ds = load_dataset("brandburner/doctorwho-s01-narrative-kg")
# Or load parquet directly
nodes = pd.read_parquet("nodes.parquet")
edges = pd.read_parquet("edges.parquet")
# Filter to anchor characters
anchors = nodes[(nodes['primary_label'] == 'Agent') & (nodes['tier'] == 'anchor')]
# Build a NetworkX graph
import networkx as nx
G = nx.DiGraph()
for _, n in nodes.iterrows():
G.add_node(n['node_id'], label=n['primary_label'], name=n['name'])
for _, e in edges.iterrows():
G.add_edge(e['source_node_id'], e['target_node_id'], type=e['relationship_type'])
Citation
@misc{fabula_doctorwho_s01,
title = {Doctor Who Narrative Knowledge Graph},
author = {Fabula Pipeline},
year = {2026},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/datasets/brandburner/doctorwho-s01-narrative-kg}}
}
License
CC BY-SA 4.0
- Downloads last month
- 36