Newer
Older
example_classification / population-british-isles.csv-metadata.json
{
  "@context": [
    "http://www.w3.org/ns/csvw",
    {
      "@language": "en"
    }
  ],
  "tables": [
    {
      "url": "population-british-isles.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": "Measure Type",
            "required": true,
            "name": "measure_type",
            "datatype": "string",
            "propertyUrl": "http://purl.org/linked-data/cube#measureType",
            "valueUrl": "http://gss-data.org.uk/def/measure/{measure_type}"
          },
          {
            "titles": "Unit",
            "required": 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/{unit}"
          },
          {
            "titles": "Value",
            "required": true,
            "name": "value",
            "datatype": "integer",
            "propertyUrl": "http://gss-data.org.uk/def/measure/{measure_type}"
          },
          {
            "name": "dataset_ref",
            "virtual": true,
            "propertyUrl": "qb:dataSet",
            "valueUrl": "http://gss-data.org.uk/population-british-isles"
          },
          {
            "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-isles/{wikidata_id}/{year}/{measure_type}"
      }
    }
  ],
  "@id": "http://gss-data.org.uk/population-british-isles#tablegroup",
  "prov:hadDerivation": {
    "@id": "http://gss-data.org.uk/population-british-isles",
    "@type": [
      "qb:DataSet"
    ],
    "qb:structure": {
      "@id": "http://gss-data.org.uk/population-british-isles/structure",
      "@type": "qb:DataStructureDefinition",
      "qb:component": [
        {
          "@id": "http://gss-data.org.uk/population-british-isles/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-isles/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-isles/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-isles/component/measure_type",
          "@type": "qb:ComponentSpecification",
          "qb:dimension": {
            "@id": "http://purl.org/linked-data/cube#measureType"
          }
        },
        {
          "@id": "http://gss-data.org.uk/population-british-isles/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-isles/component/count",
          "@type": "qb:ComponentSpecification",
          "qb:measure": {
            "@id": "http://gss-data.org.uk/def/measure/count"
          }
        }
      ]
    }
  }
}