Metreeca Keep
    Preparing search index...

    Toy catalogue sample dataset.

    Provides shape definitions and test data for validating store implementations against the resource shapes defined in this module. The dataset balances size with feature coverage, exercising cardinality variants, data types, structural patterns and query operations.

    The dataset contains 62 products, 11 categories and 5 vendors, plus a small media pool (image and video resources) wired to one product's media gallery.

    Categories

    11 categories organised in a three-level hierarchy with uneven depth. Four root categories branch into subcategories, with some branches reaching depth 3 and others stopping at depth 1 or 2.

    Variables

    collections

    Resource collections from the toys sample dataset, validated with value scope.

    base

    Base URL for the toys sample dataset.

    toys

    Namespace for domain-specific terms in the toy catalogue.

    rdfs

    Namespace for RDF Schema terms used for labelling and membership.

    languages

    Supported content languages.

    Functions

    identify

    Reads the identifier carried by entry, optionally mapping it to a result value.

    clone

    Mints a fresh, isolated clone of a sample resource.

    Entity

    Shared localised labelling for all resources.

    Catalogue

    Virtual collection exposing members of a given entity type.

    Resources

    Collection endpoint for all Resource instances.

    Resource

    Base shape for all domain resources.

    Categories

    Collection endpoint for Category resources.

    Category

    Hierarchical product classification with localised labels.

    Vendors

    Collection endpoint for Vendor resources.

    Vendor

    Product suppliers with contact information and certification records.

    Score

    Rating union for Vendor.score: a bounded decimal rating or a letter-grade string.

    Certified

    Certification union for Vendor.certified: a boolean flag, a bounded decimal rating, a letter-grade string, or a gYear.

    Address

    Location union for Vendor.address: a plain string, a structured PostalAddress, or a geolocated Place.

    PostalAddress

    Structured postal address for vendor locations.

    Place

    Geolocated place for vendor locations, after the schema.org Place modelling.

    Contacts

    Contact union for Vendor.contacts: an email or phone string, a structured PostalAddress, or a geolocated Place.

    Products

    Collection endpoint for Product resources.

    Product

    Purchasable item with pricing, inventory, and media.

    Media

    Media union for Product.media: a captive Image or Video reference.

    Image

    Image media resource.

    Video

    Video media resource.

    Review

    Individual product review with timestamped content.