Newer
Older
example_classification / population-british-islands.csv-metadata.json
{
  "@context": [
    "http://www.w3.org/ns/csvw",
    {
      "@language": "en"
    }
  ],
  "tables": [
    {
      "url": "population-british-islands.csv",
      "tableSchema": {
        "columns": [
          {
            "titles": "Place",
            "required": true,
            "name": "place",
            "datatype": "string",
            "suppressOutput": true
          },
          {
            "titles": "Wikidata ID",
            "required": true,
            "name": "wikidata_id",
            "datatype": "string",
            "propertyUrl": "http://purl.org/linked-data/sdmx/2009/dimension#refArea",
            "valueUrl": "http://www.wikidata.org/entity/{wikidata_id}"
          },
          {
            "titles": "Year",
            "required": true,
            "name": "year",
            "datatype": "string",
            "propertyUrl": "http://purl.org/linked-data/sdmx/2009/dimension#refPeriod",
            "valueUrl": "http://reference.data.gov.uk/id/year/{year}"
          },
          {
            "titles": "Population",
            "required": true,
            "name": "value",
            "datatype": "integer",
            "propertyUrl": "http://gss-data.org.uk/def/measure/count"
          },
          {
            "titles": "Measure Type",
            "virtual": true,
            "name": "measure_type",
            "datatype": "string",
            "propertyUrl": "http://purl.org/linked-data/cube#measureType",
            "valueUrl": "http://gss-data.org.uk/def/measure/count"
          },
          {
            "titles": "Unit",
            "virtual": true,
            "name": "unit",
            "datatype": "string",
            "propertyUrl": "http://purl.org/linked-data/sdmx/2009/attribute#unitMeasure",
            "valueUrl": "http://gss-data.org.uk/def/concept/measurement-units/people"
          },
          {
            "name": "dataset_ref",
            "virtual": true,
            "propertyUrl": "qb:dataSet",
            "valueUrl": "http://gss-data.org.uk/population-british-islands"
          },
          {
            "name": "qbtype",
            "virtual": true,
            "propertyUrl": "rdf:type",
            "valueUrl": "qb:Observation"
          }
        ],
        "foreignKeys": [],
        "primaryKey": [
          "place",
          "wikidata_id",
          "year",
          "measure_type"
        ],
        "aboutUrl": "http://gss-data.org.uk/population-british-islands/{wikidata_id}/{year}/count"
      }
    }
  ],
  "@id": "http://gss-data.org.uk/population-british-islands#tablegroup",
  "prov:hadDerivation": {
    "@id": "http://gss-data.org.uk/population-british-islands",
    "@type": [
      "qb:DataSet"
    ],
    "qb:structure": {
      "@id": "http://gss-data.org.uk/population-british-islands/structure",
      "@type": "qb:DataStructureDefinition",
      "qb:component": [
        {
          "@id": "http://gss-data.org.uk/population-british-islands/component/place",
          "@type": "qb:ComponentSpecification",
          "qb:dimension": {
            "@id": "http://purl.org/linked-data/sdmx/2009/dimension#refArea"
          }
        },
        {
          "@id": "http://gss-data.org.uk/population-british-islands/component/wikidata_id",
          "@type": "qb:ComponentSpecification",
          "qb:dimension": {
            "@id": "http://purl.org/linked-data/sdmx/2009/dimension#refArea"
          }
        },
        {
          "@id": "http://gss-data.org.uk/population-british-islands/component/year",
          "@type": "qb:ComponentSpecification",
          "qb:dimension": {
            "@id": "http://purl.org/linked-data/sdmx/2009/dimension#refPeriod"
          }
        },
        {
          "@id": "http://gss-data.org.uk/population-british-islands/component/measure_type",
          "@type": "qb:ComponentSpecification",
          "qb:dimension": {
            "@id": "http://purl.org/linked-data/cube#measureType"
          }
        },
        {
          "@id": "http://gss-data.org.uk/population-british-islands/component/unit",
          "@type": "qb:ComponentSpecification",
          "qb:attribute": {
            "@id": "http://purl.org/linked-data/sdmx/2009/attribute#unitMeasure"
          }
        },
        {
          "@id": "http://gss-data.org.uk/population-british-islands/component/count",
          "@type": "qb:ComponentSpecification",
          "qb:measure": {
            "@id": "http://gss-data.org.uk/def/measure/count"
          }
        }
      ]
    }
  }
}