{
 "dialect": {
  "quoteChar": "\"",
  "delimiter": ";",
  "encoding": "ascii"
 },
 "dcat:keyword": [],
 "dc:license": {
  "@id": "http://opendefinition.org/licenses/cc-by/"
 },
 "dc:publisher": {
  "schema:name": "CLARIAH Structured Data Hub - Datalegend",
  "schema:url": {
   "@id": "http://datalegend.net"
  }
 },
 "url": "hdng_sample.csv",
 "@context": [
  "https://raw.githubusercontent.com/CLARIAH/COW/master/csvw.json",
  {
   "@base": "https://iisg.amsterdam/hdng/",
   "@language": "nl"
  },
  {
   "owl": "http://www.w3.org/2002/07/owl#",
   "napp-eng81": "https://iisg.amsterdam/napp/dataset/englandwales1881/",
   "dbo": "http://dbpedia.org/ontology/",
   "clioctr": "https://iisg.amsterdam/clio/country/",
   "hisclass": "https://iisg.amsterdam/hisclass/",
   "hisco-product": "https://iisg.amsterdam/hisco/product/",
   "ldp": "http://www.w3.org/ns/ldp#",
   "clio": "https://iisg.amsterdam/clio/",
   "occhisco": "https://iisg.amsterdam/napp/OCCHISCO/",
   "dbr": "http://dbpedia.org/resource/",
   "skos": "http://www.w3.org/2004/02/skos/core#",
   "xml": "http://www.w3.org/XML/1998/namespace/",
   "sdmx-concept": "http://purl.org/linked-data/sdmx/2009/concept#",
   "napp": "https://iisg.amsterdam/napp/",
   "prov": "http://www.w3.org/ns/prov#",
   "sdmx-code": "http://purl.org/linked-data/sdmx/2009/code#",
   "napp-can91": "https://iisg.amsterdam/napp/dataset/canada1891/",
   "hiscam": "https://iisg.amsterdam/hiscam/",
   "dbpedia": "http://dbpedia.org/resource/",
   "np": "http://www.nanopub.org/nschema#",
   "hisclass5": "https://iisg.amsterdam/hisclass5/",
   "canfam-auke": "https://iisg.amsterdam/canfam/auke/",
   "dcterms": "http://purl.org/dc/terms/",
   "schema": "http://schema.org/",
   "microheights": "https://iisg.amsterdam/microheights/",
   "sdv": "https://iisg.amsterdam/vocab/",
   "hisco": "https://iisg.amsterdam/hisco/",
   "bibo": "http://purl.org/ontology/bibo/",
   "sdmx-vocab": "http://purl.org/linked-data/sdmx/2009/vocab#",
   "hsn": "https://iisg.amsterdam/hsn2013a/",
   "dc": "http://purl.org/dc/terms/",
   "hisco-relation": "https://iisg.amsterdam/hisco/relation/",
   "hisco-status": "https://iisg.amsterdam/hisco/status/",
   "dbp": "http://dbpedia.org/property/",
   "clioprop": "https://iisg.amsterdam/clio/property/",
   "csvw": "http://www.w3.org/ns/csvw#",
   "clioind": "https://iisg.amsterdam/clio/indicator/",
   "dc11": "http://purl.org/dc/elements/1.1/",
   "sdr": "https://iisg.amsterdam/",
   "qb": "http://purl.org/linked-data/cube#",
   "canfam-vocab": "http://data.socialhistory.org/vocab/canfam/vocab/",
   "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
   "canfam": "https://iisg.amsterdam/canfam/dataset/canada1901/",
   "napp-sct81": "https://iisg.amsterdam/napp/dataset/scotland1881/",
   "sdmx-measure": "http://purl.org/linked-data/sdmx/2009/measure#",
   "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
   "foaf": "http://xmlns.com/foaf/0.1/",
   "xsd": "http://www.w3.org/2001/XMLSchema#",
   "time": "http://www.w3.org/2006/time#",
   "napp-vocab": "http://data.socialhistory.org/vocab/napp/vocab/",
   "hdng": "https://iisg.amsterdam/hdng/",
   "gemeentegeschiedenis": "http://www.gemeentegeschiedenis.nl/"
  }
 ],
 "dc:title": "hdng_gemeenten.csv",
 "@id": "https://iisg.amsterdam/hdng_gemeenten.csv",
 "dc:modified": {
  "@value": "2020-01-14",
  "@type": "xsd:date"
 },
 "tableSchema": {
  "aboutUrl": "hdng:observation/{NAAM}_{year}",
  "primaryKey": "{_row}",
  "columns": [
   {
    "datatype": "integer",
    "virtual": true,
    "titles": [
     "CBSNR"
    ],
    "@id": "https://iisg.amsterdam/hdng_gemeenten.csv/column/CBSNR",
    "name": "CBSNR",
    "aboutUrl": "hdng:gemeente/{NAAM}",
    "propertyUrl": "hdng:vocab/CBSNR",
    "valueUrl": "{CBSNR}",
    "dc:description": "CBSNR"
   },
     {
    "datatype": "integer",
    "virtual": true,
    "titles": [
     "ACODE"
    ],
    "@id": "https://iisg.amsterdam/hdng_gemeenten.csv/column/ACODE",
    "name": "ACODE",
    "aboutUrl": "hdng:gemeente/{NAAM}",
    "propertyUrl": "hdng:vocab/AMCO",
    "valueUrl": "hdng:AMCO/{ACODE}",
    "dc:description": "ACODE"
   },
   {
   "datatype": "string",
   "virtual": true,
   "titles": [
    "suffix"
   ],
   "name": "suffix",
   "aboutUrl": "hdng:gemeente/{NAAM}",
   "propertyUrl": "hdng:vocab/SANR",
   "valueUrl": "hdng:SANR/{% if suffix == 'SANR' %}{{value}}{% endif %}",
   "dc:description": "Schoolarrondissementsnummer"
 },
   {
   "virtual": true,
   "aboutUrl": "hdng:gemeente/{NAAM}",
   "propertyUrl": "gemeentegeschiedenis/gg-schema#amsterdamCode",
   "valueUrl": "gemeentegeschiedenis:amco/{ACODE}"
   },
   {
    "datatype": "string",
    "titles": [
     "NAAM"
    ],
    "@id": "https://iisg.amsterdam/hdng_gemeenten.csv/column/NAAM",
    "name": "NAAM",
    "propertyUrl": "hdng:gemeente",
    "valueUrl": "hdng:gemeente/{NAAM}",
    "dc:description": "NAAM"
   },
   {
    "datatype": "integer",
    "virtual": true,
    "titles": [
     "suffix"
    ],
    "name": "suffix",
    "@id": "https://iisg.amsterdam/hdng_gemeenten.csv/column/suffix",
    "propertyUrl": "hdng:variable/{suffix}",
    "dc:description": "variable code",
    "csvw:value": "{% if suffix != 'SANR' %}{{value}}{% endif %}",
    "null": {"@list": [{"name": "suffix", "null": ["SANR"]}]}
   },
      {
    "datatype": "xsd:gYear",
    "titles": [
     "year"
    ],
    "@id": "https://iisg.amsterdam/hdng_gemeenten.csv/column/year",
    "name": "year",
    "propertyUrl": "hdng:vocab/year",
    "dc:description": "year"
  },
  {
    "virtual": true,
    "datatype": "xsd:gYear",
    "aboutUrl": "hdng:gemeente/{NAAM}",
    "propertyUrl": "hdng:vocab/year",
    "name": "year"
  },
  {
    "virtual": true,
    "datatype": "string",
    "aboutUrl": "hdng:gemeente/{NAAM}",
    "propertyUrl": "schema:variableMeasured",
    "valueUrl": "hdng:variable/{suffix}"
  },
  {
    "virtual": true,
    "aboutUrl": "hdng:variable/{suffix}",
    "propertyUrl": "rdf:type",
    "valueUrl": "hdng:variable"
   },
  {
  "virtual": true,
  "aboutUrl": "hdng:variable/{suffix}",
  "propertyUrl": "schema:hasObservation",
  "valueUrl": "hdng:observation/{NAAM}_{year}"
},
{
"virtual": true,
"aboutUrl": "hdng:gemeente/{NAAM}",
"propertyUrl": "schema:hasObservation",
"valueUrl": "hdng:observation/{NAAM}_{year}"
},
{
"virtual": true,
"aboutUrl": "hdng:observation/{NAAM}_{year}",
"propertyUrl": "rdf:type",
"valueUrl": "hdng:observation"
},
{
"virtual": true,
"aboutUrl": "hdng:gemeente/{NAAM}",
"propertyUrl": "rdf:type",
"valueUrl": "hdng:gemeente"
},
{
"datatype": "string",
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/variableName",
"name": "variable_name"
},
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/category",
"valueUrl": "hdng:category/{description}"
},
{
  "virtual": true,
  "aboutUrl": "hdng:category/{description}",
  "propertyUrl": "rdf:type",
  "valueUrl": "hdng:category"
 },
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/specification",
"valueUrl": "hdng:specification/{information}"
},
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/sex",
"valueUrl": "hdng:sex/{sex}",
"null": ""
},
{
    "virtual": true,
    "aboutUrl": "hdng:variable/{suffix}",
    "propertyUrl": "sdmx-vocab:sex",
    "valueUrl": "sdmx-code:{% if sex == 'M' %}sex-M{% elif sex == 'V' %}sex-F{% endif %}",
    "null": ""
  },
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/topic",
"valueUrl": "hdng:topic/{topic}"
},
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/sources",
"name": "sources"
},
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/remark_1",
"name": "remark_1",
"null": ""
},
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/remark_2",
"name": "remark_2",
"null": ""
},
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/remark_3",
"name": "remark_3",
"null": ""
},
{
"virtual": true,
"aboutUrl": "hdng:variable/{suffix}",
"propertyUrl": "hdng:vocab/remark_4",
"name": "remark_4",
"null": ""
}
    ]
 }
}
