{
  "format": "dataset-manifest/1",
  "slug": "virtual-museum-and-art-gallery-app",
  "version": 1,
  "seed": "virtual-museum-and-art-gallery-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "virtual-museum-and-art-gallery-app",
    "name": "Digital Art Space Dataset",
    "tagline": "User interactions, artworks, exhibitions, favorites, and transactions from a virtual museum and art gallery.",
    "description": "Art enthusiasts navigate a virtual museum and art gallery, discovering diverse collections and experiencing immersive exhibitions from the comfort of their homes. Users browse through various artworks, engage in different exhibitions, and have the option to purchase merchandise. Each interaction leaves a digital trace, showing how users interact with the platform, from their search history to the artworks they mark as favorites and their comments on specific pieces. Transactions related to payments for merchandise and virtual tours reflect the purchasing behaviors of users within this digital space.\n\nThe dataset includes several interconnected tables that provide a comprehensive view of user behavior and preferences. The 'users' table contains information about the individuals engaging with the platform, such as demographics and activity levels. The 'artworks' table catalogs the various pieces available for viewing and purchase, including details like artist, medium, and popularity metrics. The 'exhibitions' table outlines events that showcase specific collections or themes, allowing users to participate and interact based on their interests. The 'favorites' table records the artworks that users have shown particular interest in, essentially highlighting personal tastes. Finally, the 'transactions' table tracks purchases made by users, providing insights into revenue generation and shopping habits.\n\nThis dataset offers a wealth of opportunities for analysis, allowing developers to explore questions related to user engagement, sales trends, and art preferences. Developers can practice querying the relationships between users and their favorite artworks, examining how certain exhibitions draw interest or understanding which artworks lead to the most transactions. Insights gained can inform marketing strategies, enhance user experience, and help identify niche markets within the digital art world. It's important to note that the data provided is synthetic, designed specifically for practicing data analysis and exploration.",
    "domain": "saas",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "art gallery",
      "virtual museum",
      "user interactions",
      "transaction data",
      "synthetic dataset"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table captures user details for individuals interacting with the virtual art gallery. Each user can have multiple interactions with artworks, exhibitions, and merchandise purchases.",
        "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": "The email address of the user."
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the user joined the platform.",
            "trend": "growing"
          }
        }
      },
      "artworks": {
        "description": "This table lists the artworks available in the virtual gallery, each linked to various exhibitions and user interactions.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each artwork."
          },
          "title": {
            "kind": "words",
            "min": 3,
            "max": 10,
            "description": "The title of the artwork.",
            "nullable": true
          },
          "artist": {
            "kind": "fullName",
            "description": "The artist who created the artwork.",
            "nullable": true
          },
          "medium": {
            "kind": "enum",
            "values": [
              "oil",
              "acrylic",
              "digital",
              "sculpture",
              "photography"
            ],
            "description": "The medium used for the artwork."
          },
          "exhibition_id": {
            "kind": "fk",
            "ref": "exhibitions.id",
            "description": "References the exhibition in which the artwork is displayed.",
            "nullable": true,
            "when": {
              "column": "medium",
              "in": [
                "oil",
                "acrylic",
                "digital"
              ]
            }
          }
        }
      },
      "exhibitions": {
        "description": "This table contains details about various exhibitions held in the virtual art gallery, which may feature multiple artworks.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each exhibition."
          },
          "name": {
            "kind": "words",
            "min": 3,
            "max": 15,
            "description": "The name of the exhibition.",
            "nullable": true
          },
          "start_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The start date of the exhibition.",
            "nullable": true,
            "trend": "seasonal"
          },
          "end_date": {
            "kind": "date",
            "from": "2020-01-02",
            "to": "2023-12-31",
            "description": "The end date of the exhibition.",
            "nullable": true,
            "trend": "seasonal"
          }
        }
      },
      "favorites": {
        "description": "This table tracks the artworks that users have marked as favorites, allowing for insights into user preferences and popular pieces.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 10,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each favorite entry."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user who favorited the artwork."
          },
          "artwork_id": {
            "kind": "fk",
            "ref": "artworks.id",
            "description": "References the artwork that has been favorited."
          }
        }
      },
      "transactions": {
        "description": "This table records the transactions made by users, including purchases of merchandise and virtual tours.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user making the transaction."
          },
          "date": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date and time of the transaction.",
            "nullable": true,
            "dayProfile": "waking"
          },
          "amount": {
            "kind": "decimal",
            "min": 5,
            "max": 200,
            "scale": 2,
            "description": "The total amount of the transaction.",
            "nullable": true,
            "when": {
              "column": "item_type",
              "in": [
                "merchandise"
              ]
            }
          },
          "item_type": {
            "kind": "enum",
            "values": [
              "merchandise",
              "virtual tour"
            ],
            "description": "The type of item purchased in the transaction."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "What are the most popular artworks among users?",
      "How do exhibition dates affect user engagement?",
      "Which artists are trending based on user favorites?",
      "What types of merchandise are most frequently purchased?",
      "How do user interactions vary across different mediums of art?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Transactions",
        "sql": "SELECT users.full_name, transactions.amount FROM users JOIN transactions ON users.id = transactions.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Favorites by Artwork",
        "sql": "SELECT artwork_id, COUNT(*) AS favorite_count FROM favorites GROUP BY artwork_id;",
        "dialect": "postgres"
      },
      {
        "title": "Total Transactions by User",
        "sql": "SELECT user_id, SUM(amount) AS total_spent FROM transactions GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Spending during Exhibitions",
        "sql": "SELECT AVG(amount) FROM transactions WHERE date BETWEEN (SELECT start_date FROM exhibitions WHERE id = 1) AND (SELECT end_date FROM exhibitions WHERE id = 1);",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Art Gallery Analytics",
        "body": "Data analysts at a virtual art gallery can use this dataset to explore user interactions and preferences. By analyzing favorites and transactions, they can identify which artworks are most popular, informing future exhibitions and marketing strategies."
      },
      {
        "title": "SQL Practice for Developers",
        "body": "Developers looking to practice their SQL skills can utilize this dataset to run various queries, from simple joins to complex aggregations. It provides a realistic scenario for practicing data retrieval and analysis."
      },
      {
        "title": "User Behavior Insights",
        "body": "Marketing teams can analyze user behavior through the dataset to tailor their campaigns. By understanding which artworks and exhibitions attract the most attention, they can create targeted promotions that resonate with users."
      },
      {
        "title": "ORM Seeding for Art Applications",
        "body": "Developers building applications for virtual art galleries can use this dataset for ORM seeding. It provides a rich set of user and artwork data to populate their databases, ensuring a realistic representation of user interactions."
      }
    ]
  },
  "counts": {
    "exhibitions": 50,
    "artworks": 300,
    "users": 200,
    "favorites": 723,
    "transactions": 462
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 198,
          "min": "Alice Castro",
          "max": "Zoe Wang"
        },
        "email": {
          "nulls": 0,
          "distinct": 199
        },
        "join_date": {
          "nulls": 0,
          "distinct": 186,
          "min": "2020-01-15",
          "max": "2023-12-30"
        }
      }
    },
    "artworks": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "title": {
          "nulls": 31,
          "distinct": 269
        },
        "artist": {
          "nulls": 21,
          "distinct": 273,
          "min": "Alice Cruz",
          "max": "Zoe Wilson"
        },
        "medium": {
          "nulls": 0,
          "distinct": 5,
          "min": "acrylic",
          "max": "sculpture"
        },
        "exhibition_id": {
          "nulls": 114,
          "distinct": 47,
          "min": 1,
          "max": 50
        }
      }
    },
    "exhibitions": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "name": {
          "nulls": 1,
          "distinct": 49
        },
        "start_date": {
          "nulls": 5,
          "distinct": 45,
          "min": "2020-01-06",
          "max": "2023-12-07"
        },
        "end_date": {
          "nulls": 3,
          "distinct": 44,
          "min": "2020-01-27",
          "max": "2023-11-20"
        }
      }
    },
    "favorites": {
      "rows": 723,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 723,
          "min": 1,
          "max": 723
        },
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "artwork_id": {
          "nulls": 0,
          "distinct": 272,
          "min": 1,
          "max": 300
        }
      }
    },
    "transactions": {
      "rows": 462,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 462,
          "min": 1,
          "max": 462
        },
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "date": {
          "nulls": 47,
          "distinct": 415,
          "min": "2020-01-04 19:12:24",
          "max": "2023-12-31 09:46:04"
        },
        "amount": {
          "nulls": 230,
          "distinct": 232,
          "min": 5.49,
          "max": 198.86
        },
        "item_type": {
          "nulls": 0,
          "distinct": 2,
          "min": "merchandise",
          "max": "virtual tour"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/exhibitions.csv",
      "format": "csv",
      "table": "exhibitions",
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/csv/exhibitions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/csv/exhibitions.csv",
      "bytes": 4207,
      "sha256": "9d6ca80e95958bf0e3d7c135a6a09aa0e9ecd83a891886e5f04c1655593ce90b",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/artworks.csv",
      "format": "csv",
      "table": "artworks",
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/csv/artworks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/csv/artworks.csv",
      "bytes": 19602,
      "sha256": "72b8e917ff4cfa6de7a63c885cc299923946aed7f3ac7acc3b8e1587a50ad28b",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/csv/users.csv",
      "bytes": 10388,
      "sha256": "67c9736b76f38b582e833aa5d89b22b9f56bf8e35870fb7391adf6bf20fe2edd",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/favorites.csv",
      "format": "csv",
      "table": "favorites",
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/csv/favorites.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/csv/favorites.csv",
      "bytes": 8700,
      "sha256": "a17dedfc742956009230b9faf71831d6c0be447ce87b32ea740bdc1a6811ea41",
      "rows": 723,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/csv/transactions.csv",
      "bytes": 19703,
      "sha256": "b2b11f6c8db730f0d50dafbc374f2b87cc88f15786958c69f0e2dfcd50dbde79",
      "rows": 462,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "virtual-museum-and-art-gallery-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/virtual-museum-and-art-gallery-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/virtual-museum-and-art-gallery-app.json",
      "bytes": 207587,
      "sha256": "3243a8355de659f3510c3828a32f16c05cfd419d57050947a87557e68fba7920",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/sql/postgres.sql",
      "bytes": 87883,
      "sha256": "79c1aa6df237d3f8ab4c5cdb39a51eccf2966c52de2adda2482f7cf8b3246467",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/sql/mysql.sql",
      "bytes": 87325,
      "sha256": "1fdd6ac1545f9abc0d2565f546bc3927031518a3cafd40cf60240798907ef578",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/sql/mssql.sql",
      "bytes": 90114,
      "sha256": "a459a1b682399836479152457b7691c3486d6f4f006b7eca24f5f2848474302d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/sql/sqlite.sql",
      "bytes": 87116,
      "sha256": "431f0911a1a98a8c1830b40f1b67b9901793eb69eeef269cd202f0388c6b4d0d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/prisma/seed.ts",
      "bytes": 164780,
      "sha256": "63e551c404ed6d6f8043a2ca88c263a8f1139976d5efaca6c98f034e524fbe95",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/virtual-museum-and-art-gallery-app/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-museum-and-art-gallery-app/v1/django/fixtures.json",
      "bytes": 280232,
      "sha256": "7b647d213d8533e02e6fc658d1b522525c8e379dfd38296ef951c47b114b71c7",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767745372,
  "updatedAt": 1788767745372
}
