{
  "format": "dataset-manifest/1",
  "slug": "real-time-language-translation-for-travelers",
  "version": 1,
  "seed": "real-time-language-translation-for-travelers:1",
  "spec": {
    "format": "dataset/1",
    "slug": "real-time-language-translation-for-travelers",
    "name": "Language Support for Travelers",
    "tagline": "Bridging language barriers for seamless travel experiences.",
    "description": "Travelers often face language barriers that hinder their experiences, impacting communication and cultural immersion. This dataset models a service that provides real-time translation support, empowering users to converse with locals using digital tools such as phrasebooks, pronunciation guides, and tailored translations. The dataset includes tables for users, subscriptions, translations, support tickets, and frequently used phrases, demonstrating how these components interact to enhance user experience. With a focus on customer support, the data captures various inquiries related to subscription management and translation requests. The connections between tables allow users to analyze patterns in support interactions, commonly accessed translations, and subscription statuses. This synthetic dataset is designed for those interested in understanding customer support dynamics in the context of language translation services, offering a practical resource for ETL pipelines and teaching.",
    "domain": "customer-support",
    "shape": "slowly-changing",
    "useCases": [
      "etl-pipelines",
      "teaching"
    ],
    "keywords": [
      "language translation",
      "customer support",
      "travel",
      "subscriptions",
      "translations",
      "phrasebooks"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "Each row represents a traveler using the translation service, linking to their subscriptions and support tickets.",
        "rows": 200,
        "columns": {
          "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": "User's email address for communication."
          },
          "country": {
            "kind": "country",
            "description": "Country where the user is located."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Account creation date.",
            "dayProfile": "waking"
          }
        }
      },
      "subscriptions": {
        "description": "This table holds the subscription details for users, indicating their service plans.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each subscription."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who owns the subscription."
          },
          "plan": {
            "kind": "enum",
            "values": [
              "basic",
              "premium",
              "enterprise"
            ],
            "description": "Subscription plan type.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "paused",
                "canceled"
              ]
            }
          },
          "start_date": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Subscription start date.",
            "nullable": true,
            "trend": "growing"
          },
          "status": {
            "kind": "enum",
            "values": [
              "active",
              "paused",
              "canceled"
            ],
            "description": "Current status of the subscription."
          }
        }
      },
      "translations": {
        "description": "This table contains various translations and phrases frequently used by travelers.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each translation."
          },
          "phrase": {
            "kind": "words",
            "description": "The phrase being translated."
          },
          "translated_text": {
            "kind": "words",
            "description": "The translation of the phrase.",
            "nullable": true,
            "when": {
              "column": "language",
              "in": [
                "Spanish",
                "French"
              ]
            }
          },
          "language": {
            "kind": "enum",
            "values": [
              "Spanish",
              "French",
              "German",
              "Chinese",
              "Japanese"
            ],
            "description": "Language of the translation."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the translation was added.",
            "dayProfile": "waking"
          }
        }
      },
      "support_tickets": {
        "description": "This table logs user inquiries, capturing the nature of support interactions.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each support ticket."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who submitted the ticket."
          },
          "issue": {
            "kind": "words",
            "description": "Brief description of the support issue.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "resolved",
                "escalated"
              ]
            }
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the support ticket was created.",
            "dayProfile": "business"
          },
          "status": {
            "kind": "enum",
            "values": [
              "open",
              "resolved",
              "escalated"
            ],
            "description": "Current status of the support ticket."
          }
        }
      },
      "frequently_used_phrases": {
        "description": "Users can save commonly used phrases for quick access, linked to their accounts.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each saved phrase."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who saved the phrase."
          },
          "phrase_id": {
            "kind": "fk",
            "ref": "translations.id",
            "description": "Reference to the translation of the phrase."
          },
          "saved_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the phrase was saved by the user.",
            "dayProfile": "waking"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "What are the most common translation requests from users?",
      "How does the subscription status affect the number of support tickets?",
      "Which phrases are most frequently saved by travelers?",
      "What trends can be observed in subscription types over time?",
      "How quickly are support tickets typically resolved?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Subscriptions",
        "sql": "SELECT u.full_name, s.plan FROM users u JOIN subscriptions s ON u.id = s.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Support Tickets by Status",
        "sql": "SELECT status, COUNT(*) FROM support_tickets GROUP BY status;",
        "dialect": "postgres"
      },
      {
        "title": "Most Popular Translations",
        "sql": "SELECT phrase, COUNT(*) as usage_count FROM frequently_used_phrases f JOIN translations t ON f.phrase_id = t.id GROUP BY phrase ORDER BY usage_count DESC;",
        "dialect": "postgres"
      },
      {
        "title": "Active Users with Premium Subscriptions",
        "sql": "SELECT u.full_name FROM users u JOIN subscriptions s ON u.id = s.user_id WHERE s.status = 'active' AND s.plan = 'premium';",
        "dialect": "postgres"
      },
      {
        "title": "Average Resolution Time for Support Tickets",
        "sql": "SELECT AVG(EXTRACT(EPOCH FROM (resolved_at - created_at))) AS average_resolution_time FROM support_tickets WHERE status = 'resolved';",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Customer Support Training",
        "body": "Customer support teams can use this dataset to train new staff on handling user inquiries related to translation services. By analyzing support tickets, they can identify common issues and develop effective solutions to enhance user satisfaction."
      },
      {
        "title": "Subscription Analysis",
        "body": "Business analysts can leverage this dataset to understand subscription trends over time. By examining user data alongside subscription types, they can gauge which services are most popular and identify opportunities for product development."
      },
      {
        "title": "Translation Usage Insights",
        "body": "Language service providers can utilize this dataset to explore the most frequently requested translations. By analyzing saved phrases, they can tailor their offerings to better meet the needs of travelers, improving service delivery."
      },
      {
        "title": "User Engagement Assessment",
        "body": "Educators can employ this dataset to teach data analysis techniques focusing on user engagement metrics. By exploring the relationship between subscription status and support interactions, students can learn to derive meaningful insights from customer data."
      }
    ]
  },
  "counts": {
    "translations": 150,
    "users": 200,
    "frequently_used_phrases": 200,
    "subscriptions": 200,
    "support_tickets": 200
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 197,
          "min": "Alice Hughes",
          "max": "Zoe Schmidt"
        },
        "email": {
          "nulls": 0,
          "distinct": 200
        },
        "country": {
          "nulls": 0,
          "distinct": 41,
          "min": "Argentina",
          "max": "United States"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2020-01-10 17:00:09",
          "max": "2023-12-22 21:36:29"
        }
      }
    },
    "subscriptions": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 128,
          "min": 1,
          "max": 200
        },
        "plan": {
          "nulls": 61,
          "distinct": 3,
          "min": "basic",
          "max": "premium"
        },
        "start_date": {
          "nulls": 17,
          "distinct": 183,
          "min": "2020-01-31 18:09:44",
          "max": "2023-12-31 16:03:50"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "active",
          "max": "paused"
        }
      }
    },
    "translations": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "phrase": {
          "nulls": 0,
          "distinct": 150
        },
        "translated_text": {
          "nulls": 92,
          "distinct": 58
        },
        "language": {
          "nulls": 0,
          "distinct": 5,
          "min": "Chinese",
          "max": "Spanish"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 150,
          "min": "2020-01-02 22:38:36",
          "max": "2023-12-15 19:55:46"
        }
      }
    },
    "support_tickets": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 124,
          "min": 1,
          "max": 200
        },
        "issue": {
          "nulls": 77,
          "distinct": 123
        },
        "created_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2020-01-14 15:13:16",
          "max": "2023-12-10 08:53:53"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "escalated",
          "max": "resolved"
        }
      }
    },
    "frequently_used_phrases": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 128,
          "min": 1,
          "max": 200
        },
        "phrase_id": {
          "nulls": 0,
          "distinct": 109,
          "min": 1,
          "max": 150
        },
        "saved_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2020-01-09 08:54:25",
          "max": "2023-12-31 18:09:17"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/translations.csv",
      "format": "csv",
      "table": "translations",
      "key": "datasets/real-time-language-translation-for-travelers/v1/csv/translations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/csv/translations.csv",
      "bytes": 10377,
      "sha256": "025a6e54a4ed6791658bbbb5831a66e28b4ab4d905280321d46f04b39558ff00",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/real-time-language-translation-for-travelers/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/csv/users.csv",
      "bytes": 14063,
      "sha256": "06c9eb323fccef7c6ecab47365e6cf68a3db7fe43a441e3a4fff2137e2715331",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/frequently_used_phrases.csv",
      "format": "csv",
      "table": "frequently_used_phrases",
      "key": "datasets/real-time-language-translation-for-travelers/v1/csv/frequently_used_phrases.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/csv/frequently_used_phrases.csv",
      "bytes": 6262,
      "sha256": "4c83cbc37dcd6f1a6bac3e0c503a910b220ca646a3cb1e33fe453330088c689f",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/subscriptions.csv",
      "format": "csv",
      "table": "subscriptions",
      "key": "datasets/real-time-language-translation-for-travelers/v1/csv/subscriptions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/csv/subscriptions.csv",
      "bytes": 8063,
      "sha256": "3fc1b40583084a9ed1fa09f8af2699dd99d0db1f8668dd151828fb2c00544f56",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/support_tickets.csv",
      "format": "csv",
      "table": "support_tickets",
      "key": "datasets/real-time-language-translation-for-travelers/v1/csv/support_tickets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/csv/support_tickets.csv",
      "bytes": 10483,
      "sha256": "5d00816fc66bff5aed57a58eb1a5416d0f09dc2c277da1055484051e6cc65144",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "real-time-language-translation-for-travelers.json",
      "format": "json",
      "table": null,
      "key": "datasets/real-time-language-translation-for-travelers/v1/real-time-language-translation-for-travelers.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/real-time-language-translation-for-travelers.json",
      "bytes": 145535,
      "sha256": "06e14288550e4373fd252aa78d39e83555bc35712c6660a6c7d7a0cc37c68084",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/real-time-language-translation-for-travelers/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/sql/postgres.sql",
      "bytes": 67434,
      "sha256": "2918df65362f4b1ba4133875b253316c506bbf070afe9b39e7bcd719d72eb259",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/real-time-language-translation-for-travelers/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/sql/mysql.sql",
      "bytes": 66826,
      "sha256": "9f1f05407c77e478a55fb00ba0352e294f443f49395fce7de07105ef84d2d264",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/real-time-language-translation-for-travelers/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/sql/mssql.sql",
      "bytes": 69755,
      "sha256": "cd6f210ae73985770afcd29ecad9d1d2f0ab608297b86037aff525712652fd15",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/real-time-language-translation-for-travelers/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/sql/sqlite.sql",
      "bytes": 66521,
      "sha256": "482bb440d3308affecb4f0fa04aeec1c5381131d3533e853a8bace81dcde8a4d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/real-time-language-translation-for-travelers/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/prisma/seed.ts",
      "bytes": 124161,
      "sha256": "5920005611a3ab5bf7e488cfd947947ced6c091477a439a62dca45913262f94b",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/real-time-language-translation-for-travelers/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-language-translation-for-travelers/v1/django/fixtures.json",
      "bytes": 190340,
      "sha256": "96110046c6dcc1e31537ecc24712127dae323857b6ac177a471f7bdde7186b1f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768311100,
  "updatedAt": 1788768311100
}
