{
  "$schema": "https://etalii.net/adp/fbl/schema/0.1/fbl.schema.json#/$defs/Document",
  "fbl": "0.1",
  "doc": "Turtle and N-Triples bodies of the four W3C tool types (definitions/diagrams/w3c-*.dis and their notes): a binding whose reader is a persistence plugin (section 11), shared by four readings. Projecting triples onto cards, rows and badges, prefix compression and Turtle's span rules stay in the plugin; routing, the registration with its language header, the new-document templates, undo and drift are declared here and done by the host.",
  "bindings": {
    "turtle": {
      "title": "RDF in Turtle or N-Triples",
      "claims": {
        "extensions": [".ttl", ".nt"],
        "origins": ["w3c/rdf", "w3c/owl", "w3c/shacl", "w3c/skos"],
        "readings": {
          "w3c/rdf": { "bare": true },
          "w3c/owl": { "suggest": { "contains": ["owl:Ontology", "http://www.w3.org/2002/07/owl#Ontology"] } },
          "w3c/shacl": { "suggest": { "contains": ["sh:NodeShape", "sh:property", "http://www.w3.org/ns/shacl#NodeShape"] } },
          "w3c/skos": { "suggest": { "contains": ["skos:ConceptScheme", "http://www.w3.org/2004/02/skos/core#ConceptScheme"] } }
        }
      },
      "body": { "kind": "file" },
      "reader": { "plugin": "net.etalii.adp.w3c.turtle", "version": "^0.1.0" },
      "text": { "newline": "crlf", "indent": 4, "finalNewline": true },
      "registration": {
        "headers": {
          "language": { "doc": "w3c/skos: the BCP 47 tag whose skos:prefLabel is shown, such as 'de'." }
        },
        "createOnFirstPlacement": true
      },
      "template": {
        "text": "@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\r\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\r\n@prefix ex: <http://example.org/> .\r\n\r\nex:{key} rdfs:label \"{base}\" .\r\n",
        "byOrigin": {
          "w3c/skos": "@prefix skos: <http://www.w3.org/2004/02/skos/core#> .\r\n@prefix ex: <http://example.org/> .\r\n\r\nex:{key} a skos:ConceptScheme ;\r\n    skos:prefLabel \"{base}\"@en ;\r\n    skos:hasTopConcept ex:{key}_top .\r\n\r\nex:{key}_top a skos:Concept ;\r\n    skos:prefLabel \"Top concept\"@en ;\r\n    skos:topConceptOf ex:{key} .\r\n"
        }
      }
    }
  }
}
