gbv / jskos-data

Collection of knowledge organization systems encoded in JSKOS format
Creative Commons Zero v1.0 Universal
8 stars 4 forks source link

BOS: make bos-scheme.ndjson creates a JSON file #16

Closed stefandesu closed 5 years ago

stefandesu commented 5 years ago
❯ make bos-scheme.ndjson 
jq '.schemes[]' registry.json > bos-scheme.ndjson

❯ cat bos-scheme.ndjson 
{
  "prefLabel": {
    "de": "Bremer Online Systematik"
  },
  "uri": "http://bartoc.org/en/node/730",
  "type": [
    "http://www.w3.org/2004/02/skos/core#ConceptScheme",
    "http://w3id.org/nkos/nkostype#classification_schema"
  ],
  "notation": [
    "BOS"
  ],
  "notationPattern": "[a-z]{3} [0-9]{3}(\\.[0-9]+)?( [a-z]+)?",
  "namespace": "http://uri.gbv.de/terminology/bos/"
}