{
  "format": "dataset-manifest/1",
  "slug": "real-time-language-translation-app",
  "version": 1,
  "seed": "real-time-language-translation-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "real-time-language-translation-app",
    "name": "Language Support Transactions",
    "tagline": "Translated messages, support tickets, user feedback, and user details from a dynamic customer support environment.",
    "description": "Customer support teams rely on real-time language translation to facilitate communication in diverse languages. This dataset captures the intricate dynamics of service usage, with a focus on translated messages, user interactions with support tickets, feedback on translations, and billing for subscription services. These tables reflect the various aspects of customer engagement and provide insights into the effectiveness of translation services. Each interaction is timestamped, allowing for analysis of peak usage times and customer feedback trends. The data is synthetic, created to simulate real-world scenarios for practice and analysis purposes. The relationships between the tables enable users to explore how translated messages correlate with support ticket outcomes and user satisfaction levels.",
    "domain": "customer-support",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "customer support",
      "language translation",
      "transactions",
      "support tickets",
      "user feedback",
      "billing"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "translated_messages": {
        "description": "Each row represents a translated message sent by a user during a support interaction, linking to a support ticket and a user.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each translated message."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who sent the message."
          },
          "ticket_id": {
            "kind": "fk",
            "ref": "support_tickets.id",
            "description": "The support ticket associated with the message."
          },
          "original_text": {
            "kind": "words",
            "max": 200,
            "description": "The original text sent by the user.",
            "nullable": true
          },
          "translated_text": {
            "kind": "words",
            "max": 200,
            "description": "The text translated into the user's selected language.",
            "nullable": true
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The time the message was sent.",
            "dayProfile": "waking"
          }
        }
      },
      "support_tickets": {
        "description": "This table records support tickets raised by users, detailing their issues and linking to user accounts.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each support ticket."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who created the ticket."
          },
          "issue_description": {
            "kind": "sentence",
            "max": 300,
            "description": "A description of the issue reported by the user.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "resolved",
                "closed"
              ]
            }
          },
          "status": {
            "kind": "enum",
            "values": [
              "open",
              "in_progress",
              "resolved",
              "closed"
            ],
            "description": "The current status of the support ticket."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time the support ticket was created.",
            "dayProfile": "business"
          }
        }
      },
      "user_feedback": {
        "description": "Feedback provided by users regarding the translation quality and overall experience with support services.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each feedback entry."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who provided the feedback."
          },
          "ticket_id": {
            "kind": "fk",
            "ref": "support_tickets.id",
            "description": "The support ticket related to the feedback."
          },
          "feedback_text": {
            "kind": "paragraph",
            "max": 500,
            "description": "Detailed user feedback on the translation quality.",
            "nullable": true
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "description": "User rating of the translation service.",
            "nullable": true
          },
          "submitted_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The time the feedback was submitted.",
            "dayProfile": "waking"
          }
        }
      },
      "users": {
        "description": "Information about users utilizing the translation service, including their language preferences.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user.",
            "nullable": true,
            "when": {
              "column": "preferred_language",
              "in": [
                "es",
                "fr"
              ]
            }
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "The email address of the user.",
            "nullable": true
          },
          "preferred_language": {
            "kind": "enum",
            "values": [
              "en",
              "es",
              "fr",
              "de",
              "zh"
            ],
            "description": "The user's preferred language for translation."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date the user account was created."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "nullable",
      "categorical"
    ],
    "analysisQuestions": [
      "What languages are most frequently requested for translation?",
      "How do user ratings correlate with the resolution of support tickets?",
      "What are the common issues reported in support tickets?",
      "At what times do most translation requests occur?",
      "How does user feedback influence translation improvements?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Translated Messages with Support Tickets",
        "sql": "SELECT tm.id, tm.original_text, st.issue_description FROM translated_messages tm JOIN support_tickets st ON tm.ticket_id = st.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Messages by User",
        "sql": "SELECT user_id, COUNT(*) AS message_count FROM translated_messages GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Rating of Translations per User",
        "sql": "SELECT user_id, AVG(rating) AS avg_rating FROM user_feedback GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Feedback Analysis Over Time",
        "sql": "SELECT DATE(submitted_at) AS feedback_date, COUNT(*) AS feedback_count FROM user_feedback GROUP BY feedback_date ORDER BY feedback_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Customer Support Analysis",
        "body": "Customer support managers can use this dataset to analyze the effectiveness of their language translation services, identifying peak usage times and common issues reported by users. By examining feedback trends, managers can make informed decisions about improving service quality."
      },
      {
        "title": "Performance Monitoring",
        "body": "Data analysts can leverage this dataset to monitor the performance of translation services, correlating user feedback with ticket resolution rates. This can help in understanding user satisfaction and the impact of translation quality on overall support efficiency."
      },
      {
        "title": "Training Machine Learning Models",
        "body": "Data scientists can utilize the synthetic dataset to train machine learning models aimed at improving translation accuracy. By analyzing user interactions and feedback, they can develop algorithms that enhance real-time translation capabilities."
      }
    ]
  },
  "counts": {
    "users": 150,
    "support_tickets": 300,
    "translated_messages": 500,
    "user_feedback": 200
  },
  "stats": {
    "translated_messages": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 141,
          "min": 1,
          "max": 150
        },
        "ticket_id": {
          "nulls": 0,
          "distinct": 247,
          "min": 1,
          "max": 300
        },
        "original_text": {
          "nulls": 58,
          "distinct": 442
        },
        "translated_text": {
          "nulls": 61,
          "distinct": 439
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2023-01-01 11:11:38",
          "max": "2023-12-31 14:39:22"
        }
      }
    },
    "support_tickets": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 128,
          "min": 1,
          "max": 149
        },
        "issue_description": {
          "nulls": 158,
          "distinct": 142
        },
        "status": {
          "nulls": 0,
          "distinct": 4,
          "min": "closed",
          "max": "resolved"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-02 10:43:51",
          "max": "2023-12-31 11:18:29"
        }
      }
    },
    "user_feedback": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 115,
          "min": 1,
          "max": 150
        },
        "ticket_id": {
          "nulls": 0,
          "distinct": 148,
          "min": 2,
          "max": 300
        },
        "feedback_text": {
          "nulls": 17,
          "distinct": 183
        },
        "rating": {
          "nulls": 24,
          "distinct": 5,
          "min": 1,
          "max": 5
        },
        "submitted_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2023-01-02 17:23:35",
          "max": "2023-12-31 11:13:25"
        }
      }
    },
    "users": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "full_name": {
          "nulls": 96,
          "distinct": 54,
          "min": "Amir Clark",
          "max": "Zoe Zhang"
        },
        "email": {
          "nulls": 104,
          "distinct": 46
        },
        "preferred_language": {
          "nulls": 0,
          "distinct": 5,
          "min": "de",
          "max": "zh"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 150,
          "min": "2023-01-04 11:09:47",
          "max": "2023-12-31 21:09:08"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/real-time-language-translation-app/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/csv/users.csv",
      "bytes": 6098,
      "sha256": "37c226c435e904e263b219684af5d9d14b6d3c678b924e1cfc968fde3dae9e01",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/support_tickets.csv",
      "format": "csv",
      "table": "support_tickets",
      "key": "datasets/real-time-language-translation-app/v1/csv/support_tickets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/csv/support_tickets.csv",
      "bytes": 19136,
      "sha256": "547c839480823d95353f51d50b089874afa454e19f5f210cb32119011a62750b",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/translated_messages.csv",
      "format": "csv",
      "table": "translated_messages",
      "key": "datasets/real-time-language-translation-app/v1/csv/translated_messages.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/csv/translated_messages.csv",
      "bytes": 607304,
      "sha256": "efe4e0429e040706da144e2b722418671b0ea6682630dab7a9c2ce9140ba1f19",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_feedback.csv",
      "format": "csv",
      "table": "user_feedback",
      "key": "datasets/real-time-language-translation-app/v1/csv/user_feedback.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/csv/user_feedback.csv",
      "bytes": 37516,
      "sha256": "8b1235046181c2f0b94f17f089b5a8118815e56bd0100eada27fa62e15055b98",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "real-time-language-translation-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/real-time-language-translation-app/v1/real-time-language-translation-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/real-time-language-translation-app.json",
      "bytes": 817681,
      "sha256": "03196aabbb587a02721a6b0f8d76060c407618ccea563f40f16a222eda01da27",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/real-time-language-translation-app/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/sql/postgres.sql",
      "bytes": 692836,
      "sha256": "7d6f7e2cbbbe4a090c35cef1fefda9ddc58a498abd82e796fed82eb5b05aeb52",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/real-time-language-translation-app/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/sql/mysql.sql",
      "bytes": 692345,
      "sha256": "bf5bed999d22d62a63c66d9fb23eeba314ea535a688b25125ede31c96292ab9d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/real-time-language-translation-app/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/sql/mssql.sql",
      "bytes": 695563,
      "sha256": "96eed278331644ccff00d9a4174336ec11111d7dda85c63040cde0aaa965976e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/real-time-language-translation-app/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/sql/sqlite.sql",
      "bytes": 692058,
      "sha256": "e2b0df2c0d1119e546daa392bbae2a1405cea289db9d6b811ffd45b9c06d06f0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/real-time-language-translation-app/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/prisma/seed.ts",
      "bytes": 784222,
      "sha256": "fcaf49aa82826a5415e9b7befb1c414219a72ca6c00a92a1113eb664b5e01010",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/real-time-language-translation-app/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-app/v1/django/fixtures.json",
      "bytes": 871581,
      "sha256": "af8266f504cec0707e277e7ef6db67e0c45107282a7f8e6d6d38e394625bbda2",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767113484,
  "updatedAt": 1788767113484
}
