{
  "format": "dataset-manifest/1",
  "slug": "interactive-travel-story-sharing-platform",
  "version": 1,
  "seed": "interactive-travel-story-sharing-platform:1",
  "spec": {
    "format": "dataset/1",
    "slug": "interactive-travel-story-sharing-platform",
    "name": "Travel Stories Network",
    "tagline": "Connect and share immersive travel experiences through user-generated stories.",
    "description": "Users share their travel experiences through captivating stories that invite others to explore diverse destinations. As users create and publish these narratives, they connect with fellow travelers, exchanging insights and recommendations that enrich their journeys. Each story features multimedia elements, such as photos and music, that enhance the storytelling experience and transport readers to various locales around the world. Popular destinations see a wealth of shared experiences, while lesser-known locations offer unique narratives, creating a vibrant landscape of travel stories that range from well-trodden paths to hidden gems.\n\nThe dataset consists of five interconnected tables: users, stories, destinations, media, and interactions. Each entry in the users table represents an individual who engages with the platform, providing a unique identifier and profile details. The stories table contains rows for each narrative shared by users, linking them to specific destinations and incorporating media elements to enrich the storytelling. Destinations hold information about various locations featured in the stories, while the media table catalogs the multimedia assets associated with each story, such as images and soundtracks. Lastly, the interactions table captures the engagement between users, detailing likes, comments, and shares, thus revealing the dynamics of community involvement.\n\nThis dataset is ideal for developers looking to practice data analysis, user engagement studies, and relationship mapping within a social platform. Questions about user demographics, popularity trends of destinations, or the impact of multimedia on story engagement can be explored through these synthetic datasets. By analyzing how stories are shared and interacted with, developers can gain insights into user behavior and content effectiveness in a travel-oriented social network.",
    "domain": "travel",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "travel",
      "stories",
      "users",
      "destinations",
      "interactions",
      "multimedia",
      "sharing",
      "experiences",
      "narratives"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains information about users participating in the travel stories network. Each user can create multiple stories and interact with others.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "username": {
            "kind": "words",
            "min": 3,
            "max": 15,
            "description": "The unique username chosen by the user."
          },
          "email": {
            "kind": "email",
            "from": "username",
            "description": "User's email address for notifications."
          },
          "country": {
            "kind": "country",
            "description": "Country where the user is based.",
            "nullable": true
          }
        }
      },
      "stories": {
        "description": "This table contains details about travel stories shared by users. Each story is linked to a user and can include multiple destinations.",
        "rows": 350,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each story."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who created the story."
          },
          "title": {
            "kind": "words",
            "min": 5,
            "max": 50,
            "description": "Title of the travel story.",
            "nullable": true
          },
          "content": {
            "kind": "paragraph",
            "min": 50,
            "max": 1000,
            "description": "Main text of the travel story.",
            "nullable": true
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the story was created.",
            "dayProfile": "waking"
          }
        }
      },
      "destinations": {
        "description": "This table lists various travel destinations mentioned in the stories. Each destination can be linked to multiple stories.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each destination."
          },
          "name": {
            "kind": "words",
            "min": 2,
            "max": 30,
            "description": "Name of the destination."
          },
          "country": {
            "kind": "country",
            "description": "Country where the destination is located."
          },
          "attraction_type": {
            "kind": "enum",
            "values": [
              "natural",
              "cultural",
              "historical",
              "urban"
            ],
            "description": "Type of attraction the destination represents."
          }
        }
      },
      "media": {
        "description": "This table contains multimedia elements associated with each story, such as photos and music tracks. A story can have multiple media entries.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each media entry."
          },
          "story_id": {
            "kind": "fk",
            "ref": "stories.id",
            "description": "Reference to the story associated with this media."
          },
          "media_type": {
            "kind": "enum",
            "values": [
              "photo",
              "video",
              "audio"
            ],
            "description": "Type of media file."
          },
          "url": {
            "kind": "url",
            "description": "Link to the media file.",
            "nullable": true,
            "when": {
              "column": "media_type",
              "in": [
                "photo",
                "video",
                "audio"
              ]
            }
          }
        }
      },
      "interactions": {
        "description": "This table tracks interactions between users, such as comments or likes on stories. Each interaction is linked to a user and a story.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who made the interaction."
          },
          "story_id": {
            "kind": "fk",
            "ref": "stories.id",
            "description": "Reference to the story being interacted with."
          },
          "interaction_type": {
            "kind": "enum",
            "values": [
              "like",
              "comment"
            ],
            "description": "Type of interaction made by the user."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the interaction occurred.",
            "nullable": true,
            "when": {
              "column": "interaction_type",
              "in": [
                "like",
                "comment"
              ]
            },
            "dayProfile": "waking",
            "trend": "growing"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "high-cardinality",
      "categorical",
      "timestamped"
    ],
    "analysisQuestions": [
      "What types of destinations are the most popular among users?",
      "How do user interactions vary across different stories?",
      "Which countries are most frequently mentioned in travel stories?",
      "What multimedia elements are most commonly associated with stories?",
      "How does the average length of stories relate to user engagement?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Stories",
        "sql": "SELECT users.username, stories.title FROM users JOIN stories ON users.id = stories.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Stories by Country",
        "sql": "SELECT destinations.country, COUNT(stories.id) AS story_count FROM stories JOIN destinations ON stories.id = destinations.id GROUP BY destinations.country;",
        "dialect": "postgres"
      },
      {
        "title": "Average Interaction per Story",
        "sql": "SELECT stories.title, AVG(interactions.id) AS average_interactions FROM stories LEFT JOIN interactions ON stories.id = interactions.story_id GROUP BY stories.title;",
        "dialect": "postgres"
      },
      {
        "title": "Fetch User Interactions on Popular Stories",
        "sql": "SELECT users.username, stories.title, interactions.interaction_type FROM interactions JOIN stories ON interactions.story_id = stories.id JOIN users ON interactions.user_id = users.id WHERE stories.id IN (SELECT id FROM stories ORDER BY created_at DESC LIMIT 5);",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Travel Story Analysis",
        "body": "Travel bloggers and analysts can utilize this dataset to explore trends in travel destinations and user engagement. By analyzing the types of stories shared and the interactions they receive, they can identify popular travel trends and suggest content for their audience."
      },
      {
        "title": "User Engagement Metrics",
        "body": "Marketing teams can leverage the interaction data to measure user engagement across different stories. By understanding which types of stories receive the most likes and comments, they can tailor their marketing strategies and improve user retention on the platform."
      },
      {
        "title": "Multimedia Content Strategy",
        "body": "Content creators can analyze the multimedia elements associated with travel stories to understand what types of media resonate most with users. This insight can help them create more engaging content that enhances the storytelling experience and attracts more users."
      }
    ]
  },
  "counts": {
    "destinations": 150,
    "users": 200,
    "stories": 350,
    "interactions": 500,
    "media": 400
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "username": {
          "nulls": 0,
          "distinct": 200
        },
        "email": {
          "nulls": 0,
          "distinct": 200
        },
        "country": {
          "nulls": 17,
          "distinct": 42,
          "min": "Argentina",
          "max": "United States"
        }
      }
    },
    "stories": {
      "rows": 350,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 350,
          "min": 1,
          "max": 350
        },
        "user_id": {
          "nulls": 0,
          "distinct": 165,
          "min": 1,
          "max": 199
        },
        "title": {
          "nulls": 39,
          "distinct": 311
        },
        "content": {
          "nulls": 25,
          "distinct": 325
        },
        "created_at": {
          "nulls": 0,
          "distinct": 350,
          "min": "2022-01-02 15:20:49",
          "max": "2023-12-28 17:35:53"
        }
      }
    },
    "destinations": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "name": {
          "nulls": 0,
          "distinct": 150
        },
        "country": {
          "nulls": 0,
          "distinct": 38,
          "min": "Argentina",
          "max": "United States"
        },
        "attraction_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "cultural",
          "max": "urban"
        }
      }
    },
    "media": {
      "rows": 400,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "story_id": {
          "nulls": 0,
          "distinct": 239,
          "min": 1,
          "max": 350
        },
        "media_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "audio",
          "max": "video"
        },
        "url": {
          "nulls": 0,
          "distinct": 393
        }
      }
    },
    "interactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 175,
          "min": 1,
          "max": 199
        },
        "story_id": {
          "nulls": 0,
          "distinct": 263,
          "min": 1,
          "max": 350
        },
        "interaction_type": {
          "nulls": 0,
          "distinct": 2,
          "min": "comment",
          "max": "like"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 500,
          "min": "2022-01-02 23:13:25",
          "max": "2023-12-31 19:00:18"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/destinations.csv",
      "format": "csv",
      "table": "destinations",
      "key": "datasets/interactive-travel-story-sharing-platform/v1/csv/destinations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/csv/destinations.csv",
      "bytes": 19328,
      "sha256": "57ecfd2bea4f6ed8296e34b2af6e95900593dd512392d5b07cb259f881b20d99",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/interactive-travel-story-sharing-platform/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/csv/users.csv",
      "bytes": 26926,
      "sha256": "e442ce5225ab20eb6130735d879ac2c2d4949428222e55f6123cc2eb6c0485b5",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/stories.csv",
      "format": "csv",
      "table": "stories",
      "key": "datasets/interactive-travel-story-sharing-platform/v1/csv/stories.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/csv/stories.csv",
      "bytes": 120679,
      "sha256": "eae3a9751e2200c935e09d9bac2a752d5868b33488c8ba7f6b76c51cab6b372d",
      "rows": 350,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/interactions.csv",
      "format": "csv",
      "table": "interactions",
      "key": "datasets/interactive-travel-story-sharing-platform/v1/csv/interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/csv/interactions.csv",
      "bytes": 19250,
      "sha256": "e3853b6c8d8405176336cf185f08db0f2b5aa9a5033211190f8530f9f4f06e80",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/media.csv",
      "format": "csv",
      "table": "media",
      "key": "datasets/interactive-travel-story-sharing-platform/v1/csv/media.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/csv/media.csv",
      "bytes": 19181,
      "sha256": "f873bcbfe405e616ff08f9a1810d996646d59e7bfc18d54cb84db65b0919980f",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "interactive-travel-story-sharing-platform.json",
      "format": "json",
      "table": null,
      "key": "datasets/interactive-travel-story-sharing-platform/v1/interactive-travel-story-sharing-platform.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/interactive-travel-story-sharing-platform.json",
      "bytes": 360452,
      "sha256": "2f9492b15b895f4fe5ed08db250d2d06ee92267413b3eee198d0be01fdbc2217",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/interactive-travel-story-sharing-platform/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/sql/postgres.sql",
      "bytes": 231125,
      "sha256": "846713d38dce704cec45a4f8f9264d7022631add53cc828c1f69b753045f8b80",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/interactive-travel-story-sharing-platform/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/sql/mysql.sql",
      "bytes": 230574,
      "sha256": "4ccd3fc68444dd84ee31642f1020637190bbbc68fb3269085108c2b8f0ad8fe9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/interactive-travel-story-sharing-platform/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/sql/mssql.sql",
      "bytes": 234721,
      "sha256": "bdad2ec8c2924ca1c4668aa99080adeb9d9137edbb00fb5b7eb3d3beaf225436",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/interactive-travel-story-sharing-platform/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/sql/sqlite.sql",
      "bytes": 230353,
      "sha256": "17038268f95dcd5d6b29e0619c071536133521a80e430a50a8fe9c8b817e0bed",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/interactive-travel-story-sharing-platform/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/prisma/seed.ts",
      "bytes": 319154,
      "sha256": "45b4624e0bc43ced996522b9d020384d8700f94509eb32f59497dc4ddc1c0226",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/interactive-travel-story-sharing-platform/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interactive-travel-story-sharing-platform/v1/django/fixtures.json",
      "bytes": 426851,
      "sha256": "a46d5b9fb06b72e2e45fdbb7b347a59605f10e482f26e53eee195f0e9a4aca2b",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768471031,
  "updatedAt": 1788768471031
}
