{
  "format": "dataset-manifest/1",
  "slug": "script-development-insights",
  "version": 3,
  "seed": "script-development-insights:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "script-development-insights",
    "name": "Script Development Insights",
    "tagline": "Scenes, characters, dialogues, plot points, and locations from collaborative script development.",
    "description": "Teams of scriptwriters collaborate to develop engaging narratives, weaving together intricate character arcs, compelling plot structures, and vibrant settings. Each scene serves as a building block for the overall storyline, populated by multiple characters who interact through thoughtfully crafted dialogue. This process unfolds through a systematic exploration of key plot points that introduce unique twists and maintain the audience's engagement. As writers navigate through scenes, they choose locations that enhance the mood and drive the narrative, creating an immersive experience for viewers.\n\nIn the provided dataset, the 'scenes' table contains individual entries that detail the various segments of a script, with each scene capturing a specific moment in the story. The 'characters' table lists the diverse figures that populate these scenes, allowing for complex interactions and character development. Each character is linked to scenes through their participation, illustrating how their growth influences the storyline. The 'dialogues' table complements this by providing the lines spoken by these characters, adding depth and authenticity to their interactions.\n\nPlot development is captured in the 'plot_points' table, where significant events or revelations are recorded, highlighting the turning points in the narrative. This table connects to both scenes and characters, demonstrating how pivotal events shape the characters' journeys. The 'locations' table offers context by detailing the various settings that bring scenes to life, influencing the atmosphere and tone of the story. By examining the relationships between these tables, users can explore how characters evolve in response to plot developments and settings.\n\nThe dataset answers critical questions about script development: What character dynamics emerge through dialogue? How do locations impact the unfolding of scenes? What plot twists resonate most with audiences? It is perfect for practicing data manipulation, analytical skills, and narrative structure comprehension. Keep in mind that all data in this collection is synthetic, designed to simulate real-world writing environments.",
    "domain": "manufacturing",
    "shape": "slowly-changing",
    "useCases": [
      "etl-pipelines",
      "teaching"
    ],
    "keywords": [
      "scriptwriting",
      "narrative",
      "characters",
      "plot",
      "dialogue",
      "locations",
      "scenes",
      "collaboration"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "scenes": {
        "description": "This table contains the details of each scene within a script, linking to characters involved and locations where the scene takes place.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each scene."
          },
          "title": {
            "kind": "title",
            "description": "Title of the scene.",
            "nullable": true,
            "pool": [
              "Introduction",
              "Conflict",
              "Resolution",
              "Climax",
              "Exposition",
              "Inciting",
              "Rising",
              "Falling",
              "Denouement",
              "Flashback",
              "Foreshadowing",
              "Dialogue",
              "Character",
              "Setting",
              "Theme",
              "Motivation",
              "Action",
              "Suspense",
              "Twist",
              "Conclusion"
            ],
            "min": 1,
            "max": 3
          },
          "location_id": {
            "kind": "fk",
            "ref": "locations.id",
            "description": "Foreign key linking to the location of the scene.",
            "nullable": true
          },
          "duration": {
            "kind": "int",
            "min": 1,
            "max": 120,
            "description": "Duration of the scene in seconds.",
            "nullable": true,
            "distribution": "normal"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Timestamp when the scene was created.",
            "dayProfile": "business"
          }
        }
      },
      "characters": {
        "description": "This table lists the characters involved in the scenes, including their role and attributes relevant to the script development.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each character."
          },
          "name": {
            "kind": "fullName",
            "description": "Full name of the character.",
            "nullable": true
          },
          "role": {
            "kind": "enum",
            "values": [
              "protagonist",
              "antagonist",
              "supporting",
              "minor"
            ],
            "description": "Role of the character in the narrative.",
            "weights": [
              6,
              2,
              2,
              1
            ]
          },
          "scene_id": {
            "kind": "fk",
            "ref": "scenes.id",
            "description": "Foreign key linking to the scene where the character appears.",
            "nullable": true,
            "when": {
              "column": "role",
              "in": [
                "protagonist",
                "antagonist"
              ]
            }
          },
          "age": {
            "kind": "int",
            "min": 18,
            "max": 80,
            "distribution": "normal",
            "description": "Age of the character in years."
          },
          "motivations": {
            "kind": "enum",
            "values": [
              "revenge",
              "love",
              "power",
              "survival"
            ],
            "weights": [
              25,
              35,
              20,
              20
            ],
            "description": "Primary motivation driving the character's actions."
          }
        }
      },
      "dialogues": {
        "description": "This table captures the dialogues spoken by characters in each scene, providing insights into character interactions.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each dialogue entry."
          },
          "scene_id": {
            "kind": "fk",
            "ref": "scenes.id",
            "description": "Foreign key linking to the scene where the dialogue occurs."
          },
          "character_id": {
            "kind": "fk",
            "ref": "characters.id",
            "description": "Foreign key linking to the character who speaks the dialogue."
          },
          "text": {
            "kind": "paragraph",
            "max": 500,
            "description": "The actual spoken text of the dialogue.",
            "nullable": true
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Timestamp indicating when the dialogue was added.",
            "nullable": true,
            "dayProfile": "waking"
          },
          "emotion": {
            "kind": "enum",
            "values": [
              "happy",
              "sad",
              "angry",
              "confused"
            ],
            "weights": [
              30,
              25,
              25,
              20
            ],
            "description": "Emotion conveyed in the dialogue."
          },
          "length": {
            "kind": "int",
            "min": 1,
            "max": 300,
            "distribution": "normal",
            "description": "Length of the dialogue text in characters."
          }
        }
      },
      "plot_points": {
        "description": "This table highlights significant plot points in the script, detailing how they influence the narrative structure.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each plot point."
          },
          "scene_id": {
            "kind": "fk",
            "ref": "scenes.id",
            "description": "Foreign key linking to the scene where the plot point is introduced.",
            "nullable": true,
            "when": {
              "column": "impact",
              "in": [
                "high",
                "medium"
              ]
            }
          },
          "description": {
            "kind": "sentence",
            "max": 200,
            "description": "Description of the plot point.",
            "nullable": true
          },
          "impact": {
            "kind": "enum",
            "values": [
              "high",
              "medium",
              "low"
            ],
            "description": "Impact level of the plot point on the overall story.",
            "weights": [
              5,
              3,
              1
            ]
          },
          "resolution": {
            "kind": "enum",
            "values": [
              "resolved",
              "unresolved"
            ],
            "weights": [
              70,
              30
            ],
            "description": "Indicates if the plot point is resolved by the end of the script."
          },
          "timeline": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Timestamp indicating when the plot point occurs in the narrative."
          }
        }
      },
      "locations": {
        "description": "This table contains locations where scenes take place, providing context for the narrative settings.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each location."
          },
          "name": {
            "kind": "words",
            "max": 3,
            "description": "Name of the location.",
            "pool": [
              "Factory",
              "Warehouse",
              "Assembly",
              "Laboratory",
              "Showroom",
              "Office",
              "Dock",
              "Site",
              "Plant",
              "Workshop",
              "Field",
              "Studio",
              "Control-Room",
              "Test-Bed",
              "Production-Line",
              "Storage",
              "Distribution",
              "Research",
              "Quality-Control",
              "Maintenance",
              "Logistics"
            ],
            "min": 1
          },
          "description": {
            "kind": "paragraph",
            "max": 300,
            "description": "Description of the location and its significance in the story."
          },
          "type": {
            "kind": "enum",
            "values": [
              "urban",
              "rural",
              "suburban"
            ],
            "weights": [
              40,
              30,
              30
            ],
            "description": "Type of location where the scene takes place."
          },
          "climate": {
            "kind": "enum",
            "values": [
              "tropical",
              "temperate",
              "arid"
            ],
            "weights": [
              30,
              50,
              20
            ],
            "description": "Climate characteristic of the location."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "nullable"
    ],
    "analysisQuestions": [
      "Which characters appear in the most scenes and what does that indicate about their importance?",
      "How do dialogue lengths vary across different scenes?",
      "What plot points have the highest impact and how do they correlate with scene duration?",
      "Which locations are used most frequently and how does that affect the narrative flow?"
    ],
    "suggestedQueries": [
      {
        "title": "Join scenes and characters",
        "sql": "SELECT scenes.title, characters.name FROM scenes JOIN characters ON scenes.id = characters.scene_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count dialogues per scene",
        "sql": "SELECT scene_id, COUNT(*) as dialogue_count FROM dialogues GROUP BY scene_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average duration of scenes by role",
        "sql": "SELECT characters.role, AVG(scenes.duration) as avg_duration FROM scenes JOIN characters ON scenes.id = characters.scene_id GROUP BY characters.role;",
        "dialect": "postgres"
      },
      {
        "title": "Plot points by impact level",
        "sql": "SELECT impact, COUNT(*) as count FROM plot_points GROUP BY impact;",
        "dialect": "postgres"
      },
      {
        "title": "Dialogues with timestamps",
        "sql": "SELECT dialogues.text, dialogues.timestamp FROM dialogues ORDER BY dialogues.timestamp DESC;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Scriptwriters Analyzing Character Development",
        "body": "Scriptwriters can use this dataset to analyze character development by examining how often different characters appear in scenes. By understanding character involvement, they can refine their character arcs and ensure that the narrative is engaging and coherent."
      },
      {
        "title": "Teaching Narrative Structure in Workshops",
        "body": "Educators can utilize this dataset in workshops to teach students about narrative structure and the importance of plot points. By exploring the relationships between scenes, characters, and plot points, students can gain practical insights into scriptwriting techniques."
      },
      {
        "title": "Dialogue Analysis for Performance Improvement",
        "body": "The dataset provides actors and directors with a valuable resource to analyze dialogues within scenes. By examining the frequency and length of dialogues, they can identify key moments for character interaction and enhance performance delivery."
      },
      {
        "title": "Location Scouting for Filmmakers",
        "body": "Filmmakers can leverage the locations table to scout for potential filming sites that align with the narrative. By understanding how frequently certain locations are used, they can make informed decisions about setting and atmosphere in their films."
      }
    ]
  },
  "counts": {
    "locations": 80,
    "scenes": 200,
    "characters": 150,
    "dialogues": 500,
    "plot_points": 100
  },
  "stats": {
    "scenes": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "title": {
          "nulls": 19,
          "distinct": 137
        },
        "location_id": {
          "nulls": 16,
          "distinct": 72,
          "min": 1,
          "max": 80
        },
        "duration": {
          "nulls": 23,
          "distinct": 66,
          "min": 18,
          "max": 96
        },
        "created_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2020-01-04 11:42:02",
          "max": "2023-12-26 14:00:48"
        }
      }
    },
    "characters": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "name": {
          "nulls": 12,
          "distinct": 138,
          "min": "Alice Vargas",
          "max": "Zoe Hassan"
        },
        "role": {
          "nulls": 0,
          "distinct": 4,
          "min": "antagonist",
          "max": "supporting"
        },
        "scene_id": {
          "nulls": 35,
          "distinct": 84,
          "min": 1,
          "max": 195
        },
        "age": {
          "nulls": 0,
          "distinct": 35,
          "min": 28,
          "max": 71
        },
        "motivations": {
          "nulls": 0,
          "distinct": 4,
          "min": "love",
          "max": "survival"
        }
      }
    },
    "dialogues": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "scene_id": {
          "nulls": 0,
          "distinct": 187,
          "min": 1,
          "max": 199
        },
        "character_id": {
          "nulls": 0,
          "distinct": 146,
          "min": 1,
          "max": 150
        },
        "text": {
          "nulls": 47,
          "distinct": 453
        },
        "timestamp": {
          "nulls": 54,
          "distinct": 446,
          "min": "2020-01-02 18:07:48",
          "max": "2023-12-31 06:40:58"
        },
        "emotion": {
          "nulls": 0,
          "distinct": 4,
          "min": "angry",
          "max": "sad"
        },
        "length": {
          "nulls": 0,
          "distinct": 168,
          "min": 33,
          "max": 279
        }
      }
    },
    "plot_points": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "scene_id": {
          "nulls": 10,
          "distinct": 72,
          "min": 3,
          "max": 199
        },
        "description": {
          "nulls": 12,
          "distinct": 88
        },
        "impact": {
          "nulls": 0,
          "distinct": 3,
          "min": "high",
          "max": "medium"
        },
        "resolution": {
          "nulls": 0,
          "distinct": 2,
          "min": "resolved",
          "max": "unresolved"
        },
        "timeline": {
          "nulls": 0,
          "distinct": 100,
          "min": "2020-01-05 11:42:02",
          "max": "2023-12-10 10:34:35"
        }
      }
    },
    "locations": {
      "rows": 80,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 80,
          "min": 1,
          "max": 80
        },
        "name": {
          "nulls": 0,
          "distinct": 63
        },
        "description": {
          "nulls": 0,
          "distinct": 80
        },
        "type": {
          "nulls": 0,
          "distinct": 3,
          "min": "rural",
          "max": "urban"
        },
        "climate": {
          "nulls": 0,
          "distinct": 3,
          "min": "arid",
          "max": "tropical"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/locations.csv",
      "format": "csv",
      "table": "locations",
      "key": "datasets/script-development-insights/v3/csv/locations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/csv/locations.csv",
      "bytes": 16678,
      "sha256": "7220c868a0c75c7f81083641c6cf36e26c83bf69622af5ac41f5fcbdb41e47a4",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/scenes.csv",
      "format": "csv",
      "table": "scenes",
      "key": "datasets/script-development-insights/v3/csv/scenes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/csv/scenes.csv",
      "bytes": 9433,
      "sha256": "c3d54cfeddaef442bcb8d58265ef7b1cf67c5d9af365e639403de6b53d75a81b",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/characters.csv",
      "format": "csv",
      "table": "characters",
      "key": "datasets/script-development-insights/v3/csv/characters.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/csv/characters.csv",
      "bytes": 5917,
      "sha256": "3cd47c376c48e6f7def690b07d324192079b7290799434478d5e06660103a631",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/dialogues.csv",
      "format": "csv",
      "table": "dialogues",
      "key": "datasets/script-development-insights/v3/csv/dialogues.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/csv/dialogues.csv",
      "bytes": 96855,
      "sha256": "3c4aa6a19c1e606efeeaa5dfda7479d8089b049fc6077da0c3f58f1ed01bbe24",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/plot_points.csv",
      "format": "csv",
      "table": "plot_points",
      "key": "datasets/script-development-insights/v3/csv/plot_points.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/csv/plot_points.csv",
      "bytes": 9338,
      "sha256": "b3e38f5208723974f617eb78fee150d6b228328852a3420ba8c98198a60407eb",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "script-development-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/script-development-insights/v3/script-development-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/script-development-insights.json",
      "bytes": 268826,
      "sha256": "8d21f3ee6f7b7a560a2e710d8a70994981667ef97879ec04215e8043a9aa5e8a",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/script-development-insights/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/sql/postgres.sql",
      "bytes": 159072,
      "sha256": "7b7d828a7b3405bb5a62ea08c6428d39ac4411b5aacb0d3212ee223684a2e160",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/script-development-insights/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/sql/mysql.sql",
      "bytes": 158496,
      "sha256": "0f757141a177516fea7b42acd25523dcef3aea48d1457d9621c4fbc506b9988c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/script-development-insights/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/sql/mssql.sql",
      "bytes": 161777,
      "sha256": "3f5aa99aff64bf0f1a9228f5a3511c0fa48ff1a9f8e084582d7cba7f2a1220ba",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/script-development-insights/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/sql/sqlite.sql",
      "bytes": 158255,
      "sha256": "6ecd4f19c762139cc532b45ee43e84d2b82304bad2d1ce9ff0de27e5c83c11e6",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/script-development-insights/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/prisma/seed.ts",
      "bytes": 230892,
      "sha256": "409d94aba027b3d0cf6043380247051f888d0c104482e09bb789f25f0cb3ce29",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/script-development-insights/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/script-development-insights/v3/django/fixtures.json",
      "bytes": 311117,
      "sha256": "df438af6e2b3b2824124f8372091a37124b7b698804827fee234d8429eb24ed7",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768161607,
  "updatedAt": 1789096022171
}
