ONSdigital / application-profile

Other
7 stars 3 forks source link

Implement object model in RDF, coin COGS vocabulary #67

Closed canwaf closed 3 months ago

canwaf commented 3 months ago

The COGS objects are Dataset (dcat:DatasetSeries), Edition (dcat:Dataset), Version (dcat:Dataset), Distribution (dcat:Distribution).

Relationships are dcat:inSeries, cogs:hasEdition, dcat:hasVersion, dcat:hasDistribution.

flowchart LR
    Dist[Distribution]
    Vers[Version]
    Edit[Edition]
    Seri[Dataset]
    Entr[Entry]
    Cata[Catalogue]

    Dist2[Distribution CSV]
    Sche[TableSchema]

    Dist3[Distribution RDF Cube]
    DSD[DataStructureDefinition]

    Edit -- dcat:inSeries --> Seri
    Edit -- dcat:hasVersion --> Vers
    Vers -- dcat:distribution --> Dist

    Entr -. foaf:primaryTopic .-> Seri
    Cata -. dcat:record .-> Entr

    subgraph Tier 2 and 3
        subgraph Tier 0 and 1
            Vers
            Dist
        end
        Edit
        Seri
    end

    subgraph Tier 3
        Vers -- dcat:distirbution --> Dist2
        Dist2 -. csvw:tableSchema .-> Sche
    end

    subgraph Tier 4
        Vers -- dcat:distirbution --> Dist3
        Dist3 -. qb:structure .-> DSD
    end

    subgraph Triplestore
        Entr
        Cata
    end
canwaf commented 3 months ago

Woof, gotta fix the ons-namespace.md document and remove all example namespaces to use the headline name http://www.ons.gov.uk/ns.