{
  "format": "dataset-manifest/1",
  "slug": "creative-expression-insights",
  "version": 1,
  "seed": "creative-expression-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "creative-expression-insights",
    "name": "Creative Expression Insights",
    "tagline": "User interactions, literary works, contests, and themes from a creative writing platform.",
    "description": "Writers and poets share their creative expressions on a vibrant platform, engaging with their peers through contests and feedback. This business fosters a community where users can not only showcase their literary works but also explore others' creations, curate personalized reading lists, and participate in enriching contests judged on creativity, structure, and emotional resonance. The interactions among users reveal insights into popular genres and themes, shaping the landscape of contemporary literature.\n\nThe database consists of several interrelated tables. The 'users' table tracks individual contributors, capturing their profiles and preferences. Each user can create multiple 'literary_works', which hold the details of their submissions. Users often participate in 'contests' that challenge their skills, submitting their works through the 'submissions' table. To facilitate discovering content, 'thematic_tags' categorize these works by themes, establishing a connection to user interests. Meanwhile, the 'user_interactions' table records how users engage with each other's works, illuminating trends in popularity and feedback dynamics.\n\nPracticing with this data allows developers to explore various analytical questions. For example, they can analyze which themes resonate most with users or how contest participation impacts the engagement of literary works. They may also uncover trends in user interactions over time or identify the most acclaimed works in a given period. This synthetic dataset provides an excellent opportunity to hone skills in data manipulation, relationship mapping, and trend analysis, fostering deeper understanding of user behavior in creative environments.",
    "domain": "social",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "poetry",
      "writing",
      "user engagement",
      "literary works",
      "contests",
      "genre preferences",
      "thematic tags",
      "peer feedback"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table captures the details of users on the platform, including their unique identifiers and preferences. Each user can create and interact with various literary works.",
        "rows": 100,
        "columns": {
          "user_id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address of the user."
          },
          "joined_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the user joined the platform.",
            "dayProfile": "waking"
          },
          "preferred_genre": {
            "kind": "enum",
            "values": [
              "fiction",
              "poetry",
              "non-fiction",
              "drama",
              "fantasy",
              "sci-fi"
            ],
            "description": "The primary genre the user prefers."
          }
        }
      },
      "literary_works": {
        "description": "This table consists of the literary pieces shared by users. Each work is linked to a user and may have multiple thematic tags.",
        "rows": 300,
        "columns": {
          "work_id": {
            "kind": "pk",
            "description": "Unique identifier for each literary work."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who created the literary work."
          },
          "title": {
            "kind": "words",
            "max": 10,
            "description": "Title of the literary work."
          },
          "submission_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2023-12-31",
            "description": "Date when the work was submitted.",
            "dayProfile": "waking"
          },
          "content": {
            "kind": "paragraph",
            "min": 50,
            "max": 1000,
            "description": "The content of the literary work."
          }
        }
      },
      "contests": {
        "description": "This table lists the contests held on the platform, including their evaluation criteria and dates.",
        "rows": 20,
        "columns": {
          "contest_id": {
            "kind": "pk",
            "description": "Unique identifier for each contest."
          },
          "title": {
            "kind": "words",
            "max": 10,
            "description": "Title of the contest."
          },
          "evaluation_criteria": {
            "kind": "sentence",
            "max": 200,
            "description": "Criteria for evaluating submissions."
          },
          "start_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Start date of the contest.",
            "dayProfile": "waking"
          },
          "end_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "End date of the contest.",
            "dayProfile": "waking"
          }
        }
      },
      "submissions": {
        "description": "This table records the submissions made by users to various contests, linking works to contests.",
        "rows": 250,
        "columns": {
          "submission_id": {
            "kind": "pk",
            "description": "Unique identifier for each submission."
          },
          "work_id": {
            "kind": "fk",
            "ref": "literary_works.work_id",
            "description": "The literary work submitted to the contest."
          },
          "contest_id": {
            "kind": "fk",
            "ref": "contests.contest_id",
            "description": "The contest to which the work is submitted."
          },
          "submission_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date when the work was submitted to the contest.",
            "dayProfile": "waking"
          }
        }
      },
      "thematic_tags": {
        "description": "This table contains the thematic tags associated with each literary work, allowing for better categorization and searchability.",
        "rows": 150,
        "columns": {
          "tag_id": {
            "kind": "pk",
            "description": "Unique identifier for each tag."
          },
          "work_id": {
            "kind": "fk",
            "ref": "literary_works.work_id",
            "description": "The literary work associated with the tag."
          },
          "tag": {
            "kind": "words",
            "max": 5,
            "description": "The thematic tag associated with the work."
          }
        }
      },
      "user_interactions": {
        "description": "This table logs interactions between users, such as feedback and engagement with literary works.",
        "rows": 500,
        "columns": {
          "interaction_id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who interacted with the literary work."
          },
          "work_id": {
            "kind": "fk",
            "ref": "literary_works.work_id",
            "description": "The literary work that was interacted with."
          },
          "interaction_type": {
            "kind": "enum",
            "values": [
              "like",
              "comment",
              "share"
            ],
            "description": "The type of interaction performed by the user."
          },
          "interaction_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date when the interaction took place.",
            "dayProfile": "waking",
            "trend": "growing"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What genres are most popular among users and how does that trend over time?",
      "Which contests receive the highest number of submissions?",
      "How do user interactions vary across different types of literary works?",
      "What thematic tags are most commonly associated with highly rated works?",
      "Are there patterns in feedback given by users based on their genre preferences?"
    ],
    "suggestedQueries": [
      {
        "title": "Join users and their literary works",
        "sql": "SELECT users.full_name, literary_works.title FROM users JOIN literary_works ON users.user_id = literary_works.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count submissions per contest",
        "sql": "SELECT contests.title, COUNT(submissions.submission_id) FROM contests LEFT JOIN submissions ON contests.contest_id = submissions.contest_id GROUP BY contests.title;",
        "dialect": "postgres"
      },
      {
        "title": "Find interactions by type",
        "sql": "SELECT interaction_type, COUNT(*) FROM user_interactions GROUP BY interaction_type;",
        "dialect": "postgres"
      },
      {
        "title": "List works with their tags",
        "sql": "SELECT literary_works.title, STRING_AGG(thematic_tags.tag, ', ') FROM literary_works LEFT JOIN thematic_tags ON literary_works.work_id = thematic_tags.work_id GROUP BY literary_works.title;",
        "dialect": "postgres"
      },
      {
        "title": "Analyze user feedback trends",
        "sql": "SELECT user_id, COUNT(interaction_id) AS feedback_count FROM user_interactions WHERE interaction_type = 'comment' GROUP BY user_id ORDER BY feedback_count DESC;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Literary Analysis and Trends",
        "body": "Teachers can use this dataset to help students understand the dynamics of literary engagement. They can analyze trends in genre popularity over time and discuss the impact of thematic tags on user interactions, providing real-world insights into the literary community."
      },
      {
        "title": "Data-Driven Contests",
        "body": "Contest organizers can utilize this dataset to evaluate the effectiveness of their contests. By examining submission rates and user feedback, they can refine their evaluation criteria and improve future contests, ensuring a more engaging experience for participants."
      },
      {
        "title": "Enhancing User Experience",
        "body": "Developers working on the platform can leverage this data to enhance user experience by identifying popular genres and themes. This information can guide feature development, content curation, and personalized recommendations for users, aligning the platform's offerings with user preferences."
      },
      {
        "title": "Research in Social Engagement",
        "body": "Researchers interested in social engagement in creative fields can employ this dataset to analyze user interactions and feedback patterns. By studying how users engage with literary works, they can derive insights into community dynamics and the factors that influence creative expression."
      }
    ]
  },
  "counts": {
    "contests": 20,
    "users": 100,
    "literary_works": 300,
    "submissions": 250,
    "thematic_tags": 150,
    "user_interactions": 500
  },
  "stats": {
    "users": {
      "rows": 100,
      "columns": {
        "user_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "full_name": {
          "nulls": 0,
          "distinct": 100,
          "min": "Andre Schmidt",
          "max": "Zoe Vargas"
        },
        "email": {
          "nulls": 0,
          "distinct": 100
        },
        "joined_at": {
          "nulls": 0,
          "distinct": 100,
          "min": "2020-02-01 08:39:29",
          "max": "2023-12-26 18:58:38"
        },
        "preferred_genre": {
          "nulls": 0,
          "distinct": 6,
          "min": "drama",
          "max": "sci-fi"
        }
      }
    },
    "literary_works": {
      "rows": 300,
      "columns": {
        "work_id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 95,
          "min": 1,
          "max": 100
        },
        "title": {
          "nulls": 0,
          "distinct": 300
        },
        "submission_date": {
          "nulls": 0,
          "distinct": 300,
          "min": "2021-01-04 22:08:00",
          "max": "2023-12-30 18:17:07"
        },
        "content": {
          "nulls": 0,
          "distinct": 300
        }
      }
    },
    "contests": {
      "rows": 20,
      "columns": {
        "contest_id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "title": {
          "nulls": 0,
          "distinct": 20
        },
        "evaluation_criteria": {
          "nulls": 0,
          "distinct": 20
        },
        "start_date": {
          "nulls": 0,
          "distinct": 20,
          "min": "2022-01-11 06:24:12",
          "max": "2023-12-13 15:49:03"
        },
        "end_date": {
          "nulls": 0,
          "distinct": 20,
          "min": "2022-02-19 17:03:51",
          "max": "2023-11-07 20:18:27"
        }
      }
    },
    "submissions": {
      "rows": 250,
      "columns": {
        "submission_id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "work_id": {
          "nulls": 0,
          "distinct": 171,
          "min": 2,
          "max": 298
        },
        "contest_id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "submission_date": {
          "nulls": 0,
          "distinct": 250,
          "min": "2022-01-01 17:57:08",
          "max": "2023-12-30 13:30:49"
        }
      }
    },
    "thematic_tags": {
      "rows": 150,
      "columns": {
        "tag_id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "work_id": {
          "nulls": 0,
          "distinct": 121,
          "min": 6,
          "max": 293
        },
        "tag": {
          "nulls": 0,
          "distinct": 150
        }
      }
    },
    "user_interactions": {
      "rows": 500,
      "columns": {
        "interaction_id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "work_id": {
          "nulls": 0,
          "distinct": 246,
          "min": 1,
          "max": 300
        },
        "interaction_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "comment",
          "max": "share"
        },
        "interaction_date": {
          "nulls": 0,
          "distinct": 500,
          "min": "2022-01-05 23:09:05",
          "max": "2023-12-30 20:34:30"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/contests.csv",
      "format": "csv",
      "table": "contests",
      "key": "datasets/creative-expression-insights/v1/csv/contests.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/csv/contests.csv",
      "bytes": 2820,
      "sha256": "9e70bd27f7851223ca49c9a7367de7a9acb92655f2415723bf8b87748a704239",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/creative-expression-insights/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/csv/users.csv",
      "bytes": 6875,
      "sha256": "b347024ea936bdce337a7f1b9b4efe538c943447958435a854630e56f874a9ea",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/literary_works.csv",
      "format": "csv",
      "table": "literary_works",
      "key": "datasets/creative-expression-insights/v1/csv/literary_works.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/csv/literary_works.csv",
      "bytes": 71208,
      "sha256": "b1f435bfa506ab0cdf5426a2a57ebda1c1e744f6979e46f952f8725cc4bf53c5",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/submissions.csv",
      "format": "csv",
      "table": "submissions",
      "key": "datasets/creative-expression-insights/v1/csv/submissions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/csv/submissions.csv",
      "bytes": 7746,
      "sha256": "6b265372d2f8cc5470c1e7f32d11369a032452b1ac98ba011f9ea7eadc7b66ba",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/thematic_tags.csv",
      "format": "csv",
      "table": "thematic_tags",
      "key": "datasets/creative-expression-insights/v1/csv/thematic_tags.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/csv/thematic_tags.csv",
      "bytes": 4777,
      "sha256": "bc34981deef07881464ac1fc0f69eefe459acf4ee13c3a60aac8c486992c82f1",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_interactions.csv",
      "format": "csv",
      "table": "user_interactions",
      "key": "datasets/creative-expression-insights/v1/csv/user_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/csv/user_interactions.csv",
      "bytes": 18915,
      "sha256": "46e99216203351a33d9a55b86e4e0c6a772eff6a61c727d0723318fb217a615f",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "creative-expression-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/creative-expression-insights/v1/creative-expression-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/creative-expression-insights.json",
      "bytes": 260032,
      "sha256": "e52af4bf58a5e16d25d2a238b7c0c3d42620a39d146ff2f6f8fc7373eceb2435",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/creative-expression-insights/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/sql/postgres.sql",
      "bytes": 134185,
      "sha256": "5efdd457ceff880f71d019548cc206451332ccbdad528da212e38a8dac644ed8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/creative-expression-insights/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/sql/mysql.sql",
      "bytes": 133386,
      "sha256": "7e1c5dd078a5611adafc2de7df636caad0f7a98088ed5eace679e4f37b5bdf87",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/creative-expression-insights/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/sql/mssql.sql",
      "bytes": 136603,
      "sha256": "de9e22dd48b2d965a0ca96d1ec95ed2a03061d9376e340bd819d293b8065a365",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/creative-expression-insights/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/sql/sqlite.sql",
      "bytes": 133057,
      "sha256": "44f94ec4118272586b40f6ce113519a39091ee0ba2f50be15d4f642b6c6b5e42",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/creative-expression-insights/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/prisma/seed.ts",
      "bytes": 230997,
      "sha256": "c4cf662665bb3b2bcd3ac0787a1af37cfe5891dd9542a3928011079733ac3575",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/creative-expression-insights/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/creative-expression-insights/v1/django/fixtures.json",
      "bytes": 308352,
      "sha256": "41f9143c5c554805f6f6bcdc46c72dfce08b6b0e3ee7e5b46cc8a04dab8f6aa2",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734352695,
  "updatedAt": 1788734352695
}
