{
  "format": "dataset-manifest/1",
  "slug": "encyclopedic-interactions",
  "version": 1,
  "seed": "encyclopedic-interactions:1",
  "spec": {
    "format": "dataset/1",
    "slug": "encyclopedic-interactions",
    "name": "Encyclopedic Interactions",
    "tagline": "User interactions, citations, media uploads, and content moderation activities from an online encyclopedia.",
    "description": "Users actively engage with articles in an online encyclopedia, sharing insights, contributing citations, and uploading media to enhance the collective knowledge base. Each interaction is meticulously recorded, providing a detailed view of how information is modified and enriched over time. This dynamic environment fosters a community of both casual contributors and dedicated editors who invest significant effort into curating and improving the encyclopedia's content. The rich diversity of topics covered showcases the vast range of knowledge that users contribute across different languages and categories.\n\nThe primary table in this dataset, user_interactions, contains records of every contribution made by users. Each row represents a unique interaction, detailing the user involved, the article they interacted with, the type of interaction (such as editing, citing, or uploading media), and the timestamp of the action. By analyzing these interactions, one can uncover patterns in user engagement, identify the most frequently edited articles, and measure the impact of contributions on article quality and accuracy. \n\nThe data answers essential questions regarding user behavior: Which articles are most popular among contributors? How do patterns of contribution change over time? What types of media uploads are most common? Additionally, it can help assess the effectiveness of moderation efforts in maintaining content integrity and relevance. \n\nAs a synthetic dataset, it provides a realistic simulation of user interactions in an encyclopedia setting, making it an excellent practice resource for developers looking to hone their skills in data analysis, visualization, and understanding user engagement in community-driven platforms.",
    "domain": "social",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "user interactions",
      "collaboration",
      "online encyclopedia",
      "content contribution",
      "citations",
      "media uploads",
      "moderation"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "user_interactions": {
        "description": "This table captures individual user interactions with encyclopedia articles, linking contributions to user profiles and specific articles.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "Identifier for the user contributing to the encyclopedia."
          },
          "article_id": {
            "kind": "int",
            "min": 1,
            "max": 200,
            "description": "Identifier for the article being interacted with."
          },
          "interaction_type": {
            "kind": "enum",
            "values": [
              "edit",
              "citation",
              "media_upload",
              "moderation"
            ],
            "description": "Type of interaction performed by the user."
          },
          "content": {
            "kind": "words",
            "min": 5,
            "max": 500,
            "description": "Text content of the contribution, if applicable.",
            "nullable": true
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the interaction occurred.",
            "nullable": true,
            "dayProfile": "waking"
          },
          "language": {
            "kind": "enum",
            "values": [
              "en",
              "fr",
              "es",
              "de",
              "zh"
            ],
            "description": "Language of the article being contributed to.",
            "nullable": true,
            "when": {
              "column": "interaction_type",
              "in": [
                "edit",
                "citation"
              ]
            }
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "categorical",
      "timestamped",
      "nullable"
    ],
    "analysisQuestions": [
      "What are the most common types of user interactions with articles?",
      "How does user engagement vary across different language articles?",
      "When are the peak times for user contributions throughout the year?",
      "What is the average length of contributions made by users?",
      "How do moderation activities correlate with user interaction frequency?"
    ],
    "suggestedQueries": [
      {
        "title": "Count of Interactions by Type",
        "sql": "SELECT interaction_type, COUNT(*) FROM user_interactions GROUP BY interaction_type;",
        "dialect": "postgres"
      },
      {
        "title": "Daily Contribution Trends",
        "sql": "SELECT DATE(timestamp) as contribution_date, COUNT(*) FROM user_interactions GROUP BY contribution_date ORDER BY contribution_date;",
        "dialect": "postgres"
      },
      {
        "title": "Most Active Users",
        "sql": "SELECT user_id, COUNT(*) as interaction_count FROM user_interactions GROUP BY user_id ORDER BY interaction_count DESC LIMIT 10;",
        "dialect": "postgres"
      },
      {
        "title": "Contribution Length Analysis",
        "sql": "SELECT AVG(LENGTH(content)) as average_length FROM user_interactions WHERE interaction_type = 'edit';",
        "dialect": "postgres"
      },
      {
        "title": "Interactions Over Time by Language",
        "sql": "SELECT language, DATE(timestamp) as contribution_date, COUNT(*) FROM user_interactions GROUP BY language, contribution_date ORDER BY contribution_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Content Moderation Insights",
        "body": "Content moderators can utilize this dataset to analyze interaction patterns and assess the impact of moderation activities on user engagement. By identifying periods of increased moderation, they can correlate spikes in user contributions and ensure the quality of the encyclopedia is maintained."
      },
      {
        "title": "Understanding User Contributions",
        "body": "Data analysts interested in understanding user behavior can leverage this dataset to explore the dynamics of contributions in the encyclopedia. They can analyze which articles attract the most interactions and identify key contributors, helping to foster a more engaged community."
      },
      {
        "title": "Enhancing User Experience",
        "body": "Product managers can use the insights gained from this dataset to improve the user interface of the encyclopedia. By understanding when and how users contribute, they can implement features that encourage more frequent contributions and enhance the overall user experience."
      },
      {
        "title": "Language Diversity Analysis",
        "body": "Linguists and cultural researchers can analyze the dataset to study how contributions vary across different languages. This can aid in understanding cultural trends and the accessibility of knowledge across linguistic barriers, guiding future translation and localization efforts."
      }
    ]
  },
  "counts": {
    "user_interactions": 500
  },
  "stats": {
    "user_interactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "article_id": {
          "nulls": 0,
          "distinct": 182,
          "min": 3,
          "max": 200
        },
        "interaction_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "citation",
          "max": "moderation"
        },
        "content": {
          "nulls": 53,
          "distinct": 447
        },
        "timestamp": {
          "nulls": 50,
          "distinct": 450,
          "min": "2023-01-01 14:18:59",
          "max": "2023-12-30 14:56:10"
        },
        "language": {
          "nulls": 239,
          "distinct": 5,
          "min": "de",
          "max": "zh"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/user_interactions.csv",
      "format": "csv",
      "table": "user_interactions",
      "key": "datasets/encyclopedic-interactions/v1/csv/user_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/encyclopedic-interactions/v1/csv/user_interactions.csv",
      "bytes": 780278,
      "sha256": "8789f1a5504c7b4842dcffb0ea34fab47953d7d8ed034d874fd7e812d98e6859",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "encyclopedic-interactions.json",
      "format": "json",
      "table": null,
      "key": "datasets/encyclopedic-interactions/v1/encyclopedic-interactions.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/encyclopedic-interactions/v1/encyclopedic-interactions.json",
      "bytes": 858427,
      "sha256": "676bf91412e012645202f9c72c7074f31063a2aa9f12ee631b574242e171daa3",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/encyclopedic-interactions/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/encyclopedic-interactions/v1/sql/postgres.sql",
      "bytes": 791984,
      "sha256": "d0433b112f06a1a3be3f4076ddc5689c5dd7c168b0a4881d06b690c254489c3e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/encyclopedic-interactions/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/encyclopedic-interactions/v1/sql/mysql.sql",
      "bytes": 791858,
      "sha256": "335dca0b969d28106af93cf0aff9d49985df2212e15aed1c32ba932df622e62b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/encyclopedic-interactions/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/encyclopedic-interactions/v1/sql/mssql.sql",
      "bytes": 793599,
      "sha256": "2f9b71fcee9801718cae245a669f1e97908324e6f4a7d4b4a0922b81b82e5826",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/encyclopedic-interactions/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/encyclopedic-interactions/v1/sql/sqlite.sql",
      "bytes": 791823,
      "sha256": "f05baa7d85181275e0117065657f30fc3f52da684b4f427e9457c5425e2063c1",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/encyclopedic-interactions/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/encyclopedic-interactions/v1/prisma/seed.ts",
      "bytes": 838105,
      "sha256": "e94a1895192fd6391a44228e3b6ef5443cb1eced7e60b7da819624fd0c46d467",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/encyclopedic-interactions/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/encyclopedic-interactions/v1/django/fixtures.json",
      "bytes": 884848,
      "sha256": "cb2e61ad88b0bc6a3391f703a2b8e74d88d2ae5d02fe1e4a0f78a9c1f5bc448f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766904635,
  "updatedAt": 1788766904635
}
