{
  "format": "dataset-manifest/1",
  "slug": "fantasy-world-building-game",
  "version": 2,
  "seed": "fantasy-world-building-game:1",
  "spec": {
    "format": "dataset/1",
    "slug": "fantasy-world-building-game",
    "name": "Fantasy Realm Dynamics",
    "tagline": "User interactions, quests, items, and creatures in a dynamic fantasy gaming environment.",
    "description": "Players immerse themselves in constructing intricate landscapes and cultures within a vibrant fantasy world. This dataset models the dynamics of user roles, the various races they embody, the quests they embark upon, and the items and spells they utilize to thrive in dynamic ecosystems. Users interact with the environment and each other, forming alliances and competing against mythical creatures. The tables reflect the relationships between users, their quests, the magical items they wield, and the formidable creatures that inhabit the realm. Players often pursue quests that cluster around popular regions and factions, indicating shared interests and strategic alliances. Additionally, unique monster habitats may emerge, attracting users and influencing their interactions. This synthetic dataset is ideal for SQL practice and teaching, providing a rich set of interconnected data to explore and analyze.",
    "domain": "gaming",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "fantasy",
      "gaming",
      "quests",
      "alliance",
      "mythical creatures",
      "user roles",
      "items",
      "spells"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "Each row represents a user in the fantasy realm, detailing their unique attributes and roles.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "username": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The user's chosen display name.",
            "pool": [
              "Shadow",
              "Frost",
              "Blaze",
              "Mystic",
              "Echo",
              "Raven",
              "Storm",
              "Phoenix",
              "Wraith",
              "Vortex",
              "Rune",
              "Nebula",
              "Cinder",
              "Ember",
              "Nova",
              "Specter",
              "Thorn",
              "Zephyr",
              "Gale",
              "Dusk"
            ]
          },
          "race": {
            "kind": "enum",
            "values": [
              "Elf",
              "Dwarf",
              "Human",
              "Orc",
              "Dragonborn"
            ],
            "description": "The race the user embodies."
          },
          "level": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "The user's current level in the game.",
            "nullable": true,
            "when": {
              "column": "race",
              "in": [
                "Elf",
                "Dwarf",
                "Human",
                "Orc",
                "Dragonborn"
              ]
            },
            "distribution": "normal"
          }
        }
      },
      "quests": {
        "description": "This table holds data on various quests available in the game, including their difficulty and rewards.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each quest."
          },
          "name": {
            "kind": "words",
            "min": 2,
            "max": 5,
            "description": "The title of the quest.",
            "pool": [
              "TheLostArtifact",
              "SecretsOfTheAncients",
              "JourneyToTheCaverns",
              "DefendTheRealm",
              "QuestForTheCrown",
              "BattleOfTheTitans",
              "RescueThePrincess",
              "TheCursedForest",
              "ShadowsOfThePast",
              "TheFinalConfrontation",
              "TrialsOfValor",
              "TheHiddenTemple",
              "EchoesOfFate",
              "PathOfTheWarrior",
              "WhispersInTheDark",
              "TheAncientProphecy",
              "RiseOfTheDragons",
              "TheForgottenCity",
              "LegacyOfTheHeroes",
              "TheEnchantedIsle"
            ]
          },
          "difficulty": {
            "kind": "enum",
            "values": [
              "Easy",
              "Medium",
              "Hard"
            ],
            "description": "The difficulty level of the quest."
          },
          "reward": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The reward offered upon quest completion.",
            "nullable": true,
            "when": {
              "column": "difficulty",
              "in": [
                "Easy",
                "Medium",
                "Hard"
              ]
            },
            "pool": [
              "Gold",
              "Experience",
              "Artifact",
              "Potion",
              "Gem",
              "Weapon",
              "Armor",
              "Scroll",
              "Elixir",
              "Treasure",
              "Charm",
              "Trophy",
              "Key",
              "Crystal",
              "Rune",
              "Spellbook",
              "Blessing",
              "Familiar",
              "Shield",
              "Bounty"
            ]
          }
        }
      },
      "user_quests": {
        "description": "Links users to the quests they embark upon, capturing their progress and participation.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for this user-quest relationship."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user participating in the quest."
          },
          "quest_id": {
            "kind": "fk",
            "ref": "quests.id",
            "description": "References the quest being undertaken by the user."
          },
          "status": {
            "kind": "enum",
            "values": [
              "Not Started",
              "In Progress",
              "Completed"
            ],
            "description": "Current status of the user's quest."
          }
        }
      },
      "items": {
        "description": "This table contains various magical items available to users, each with unique attributes.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each magical item."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the magical item.",
            "pool": [
              "Sword",
              "Staff",
              "Amulet",
              "Ring",
              "Potion",
              "Bow",
              "Dagger",
              "Shield",
              "Armor",
              "Tome",
              "Crystal",
              "Gem",
              "Scroll",
              "Cloak",
              "Boots",
              "Belt",
              "Helmet",
              "Spear",
              "Axe",
              "Trinket"
            ]
          },
          "type": {
            "kind": "enum",
            "values": [
              "Weapon",
              "Potion",
              "Armor",
              "Artifact"
            ],
            "description": "The category of the item."
          },
          "power": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "The power level of the item.",
            "distribution": "normal"
          }
        }
      },
      "creatures": {
        "description": "This table lists the various mythical creatures in the game, detailing their characteristics and habitats.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each creature."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the mythical creature.",
            "pool": [
              "Dragon",
              "Griffin",
              "Phoenix",
              "Unicorn",
              "Basilisk",
              "Hydra",
              "Chimera",
              "Mermaid",
              "Golem",
              "Sphinx",
              "Fairy",
              "Giant",
              "Werewolf",
              "Vampire",
              "Elf",
              "Demon",
              "Sprite",
              "Troll",
              "Imp",
              "Nymph"
            ]
          },
          "habitat": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The habitat where the creature is commonly found.",
            "nullable": true,
            "when": {
              "column": "danger_level",
              "in": [
                "Low",
                "Medium",
                "High"
              ]
            },
            "pool": [
              "Forest",
              "Cave",
              "Mountain",
              "Swamp",
              "Desert",
              "Ocean",
              "Sky",
              "Underworld",
              "Castle",
              "Village",
              "Ruins",
              "Island",
              "Wasteland",
              "Tundra",
              "Marsh",
              "Grove",
              "Field",
              "River",
              "Valley",
              "Cliff"
            ]
          },
          "danger_level": {
            "kind": "enum",
            "values": [
              "Low",
              "Medium",
              "High"
            ],
            "description": "The danger level posed by the creature."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "high-cardinality",
      "nullable"
    ],
    "analysisQuestions": [
      "What types of quests are most popular among users?",
      "Which race has the highest average level?",
      "How do user interactions with quests vary by difficulty?",
      "What is the distribution of items by type?",
      "Which creatures are encountered most frequently by users?"
    ],
    "suggestedQueries": [
      {
        "title": "Basic User Quest Overview",
        "sql": "SELECT u.username, q.name, uq.status FROM users u JOIN user_quests uq ON u.id = uq.user_id JOIN quests q ON uq.quest_id = q.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count of Quests by Difficulty",
        "sql": "SELECT difficulty, COUNT(*) FROM quests GROUP BY difficulty;",
        "dialect": "postgres"
      },
      {
        "title": "Average User Level by Race",
        "sql": "SELECT race, AVG(level) FROM users GROUP BY race;",
        "dialect": "postgres"
      },
      {
        "title": "Items and Their Power Levels",
        "sql": "SELECT name, power FROM items ORDER BY power DESC;",
        "dialect": "postgres"
      },
      {
        "title": "Quest Status Distribution",
        "sql": "SELECT status, COUNT(*) FROM user_quests GROUP BY status;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Game Developers and Analysts",
        "body": "Game developers can utilize this dataset to analyze player behavior within the fantasy realm, identifying popular quests and user engagement patterns. This information can guide game design decisions and improve user experience through tailored content."
      },
      {
        "title": "Educators Teaching Database Concepts",
        "body": "Educators can leverage this dataset in teaching database concepts, allowing students to practice SQL queries on a rich, engaging dataset. This practical application enhances learning by relating theoretical concepts to a fun and interactive environment."
      },
      {
        "title": "Data Scientists Evaluating Game Dynamics",
        "body": "Data scientists can explore this dataset to evaluate the dynamics of user interactions, quest completion rates, and item usage. Insights gained can inform strategies for enhancing user retention and fostering community engagement within the game."
      }
    ]
  },
  "counts": {
    "creatures": 80,
    "items": 150,
    "quests": 100,
    "users": 200,
    "user_quests": 488
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "username": {
          "nulls": 0,
          "distinct": 158
        },
        "race": {
          "nulls": 0,
          "distinct": 5,
          "min": "Dragonborn",
          "max": "Orc"
        },
        "level": {
          "nulls": 0,
          "distinct": 61,
          "min": 17,
          "max": 88
        }
      }
    },
    "quests": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 99
        },
        "difficulty": {
          "nulls": 0,
          "distinct": 3,
          "min": "Easy",
          "max": "Medium"
        },
        "reward": {
          "nulls": 0,
          "distinct": 81
        }
      }
    },
    "user_quests": {
      "rows": 488,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 488,
          "min": 1,
          "max": 488
        },
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "quest_id": {
          "nulls": 0,
          "distinct": 99,
          "min": 1,
          "max": 100
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "Completed",
          "max": "Not Started"
        }
      }
    },
    "items": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "name": {
          "nulls": 0,
          "distinct": 109
        },
        "type": {
          "nulls": 0,
          "distinct": 4,
          "min": "Armor",
          "max": "Weapon"
        },
        "power": {
          "nulls": 0,
          "distinct": 51,
          "min": 18,
          "max": 83
        }
      }
    },
    "creatures": {
      "rows": 80,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 80,
          "min": 1,
          "max": 80
        },
        "name": {
          "nulls": 0,
          "distinct": 66
        },
        "habitat": {
          "nulls": 0,
          "distinct": 65
        },
        "danger_level": {
          "nulls": 0,
          "distinct": 3,
          "min": "High",
          "max": "Medium"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/creatures.csv",
      "format": "csv",
      "table": "creatures",
      "key": "datasets/fantasy-world-building-game/v2/csv/creatures.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/csv/creatures.csv",
      "bytes": 2952,
      "sha256": "b65df4c54de0aa57bd8e41997292b38dab362500cba6e331178fa7ece6d44c98",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/items.csv",
      "format": "csv",
      "table": "items",
      "key": "datasets/fantasy-world-building-game/v2/csv/items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/csv/items.csv",
      "bytes": 3920,
      "sha256": "25a24cea500a7a93878aaa0eb7685c2e86ece5cacf734a62dae0ace30b4526c8",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/quests.csv",
      "format": "csv",
      "table": "quests",
      "key": "datasets/fantasy-world-building-game/v2/csv/quests.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/csv/quests.csv",
      "bytes": 8327,
      "sha256": "9f073efde643ed9a26f1cae1a024aef5b1c20005e527d04ac24dcbb5e8a34ca0",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/fantasy-world-building-game/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/csv/users.csv",
      "bytes": 5385,
      "sha256": "3e0b901734694459ae3ba3a71ed9e9d1fe7fdfb67ea2e5cfa66331ca4ede221e",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_quests.csv",
      "format": "csv",
      "table": "user_quests",
      "key": "datasets/fantasy-world-building-game/v2/csv/user_quests.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/csv/user_quests.csv",
      "bytes": 10980,
      "sha256": "6894b1d7866c10fb128a0c7dd90735ac19ec553bc1f8469221c51226df431e48",
      "rows": 488,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "fantasy-world-building-game.json",
      "format": "json",
      "table": null,
      "key": "datasets/fantasy-world-building-game/v2/fantasy-world-building-game.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/fantasy-world-building-game.json",
      "bytes": 112454,
      "sha256": "aa415eaa3826147b2891d92f0dfec294c5576402d6a2ba724c46d6ac432a213d",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/fantasy-world-building-game/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/sql/postgres.sql",
      "bytes": 46483,
      "sha256": "e9d884926d35536d430fba35867c6dfba7ca68986b42031bc294f9cb5022659f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/fantasy-world-building-game/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/sql/mysql.sql",
      "bytes": 45944,
      "sha256": "b95943ef3bb9ac0cb24090079c8cd9a6ba077b24ce09d464226cfd202234e142",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/fantasy-world-building-game/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/sql/mssql.sql",
      "bytes": 47980,
      "sha256": "965dc850023737f5dfc288a796cc4127bbcd1764afb8615c1ec124ddd085afb4",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/fantasy-world-building-game/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/sql/sqlite.sql",
      "bytes": 45778,
      "sha256": "a4487a2c03f0050d4407c70f447dd236528c9e46fc2b6d484dc17f92262d442d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/fantasy-world-building-game/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/prisma/seed.ts",
      "bytes": 84885,
      "sha256": "f46f023f7eb44be0a97ab118ae48276501cec1dc0e6939acbbc007501a34890a",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/fantasy-world-building-game/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fantasy-world-building-game/v2/django/fixtures.json",
      "bytes": 154028,
      "sha256": "074a8f41f79964620b978b1be763bedfdf064b647643abb51163c57818d1aaeb",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768845807,
  "updatedAt": 1788778696415
}
