<commit_before>{       
    "name" : "external-skos",
    "description" : "Template for creating an code list of references to external URIs as a skos:Collection",
    "type" : "Composite",
    "required" : ["label", "notation", "id"],
    "optional" : ["description", "note", "definition"],
    "oneOffs" : {
        "@id" : "{$dataset}",
        "<rdf:type>" : [ "<reg:Register>", "<skos:Collection>"],
        "<ldp:membershipPredicate>" : "<skos:member>"
    },
    "templates" : [ {
        "@id" : "<{$base}/_{notation.toSegment()}>",
        "<rdf:type>" : "<reg:RegisterItem>",
        "<reg:status>" : "<reg:statusExperimental>",
        "<reg:definition>" : "{$row.bnode}"
    },{
        "@id" : "{$row.bnode}",
        "<reg:entity>" : "<{id}>"
    },{
        "@id" : "<{id}>",
        "<rdf:type>" : "<skos:Concept>",
        "<skos:notation>" : "{notation.toSegment()}",
        "<dct:description>" : "{description}",
        "<skos:prefLabel>" : "{label}",
        "<skos:note>" : "{note}",
        "<skos:definition>" : "{definition}",
        "<rdfs:label>" : "{label}",
        "^<skos:member>" : "{$dataset}"
    } ]
}
<commit_msg>Modifying external template to omit explicit registerItems and rely on notation being picked up<commit_after>{       
    "name" : "external-skos",
    "description" : "Template for creating an code list of references to external URIs as a skos:Collection",
    "type" : "Composite",
    "required" : ["label", "notation", "id"],
    "optional" : ["description", "note", "definition"],
    "oneOffs" : {
        "@id" : "{$dataset}",
        "<rdf:type>" : [ "<skos:Collection>"],
        "<ldp:membershipPredicate>" : "<skos:member>"
    },
    "templates" : {
        "@id" : "<{id}>",
        "<rdf:type>" : "<skos:Concept>",
        "<skos:notation>" : "{notation.toSegment()}",
        "<dct:description>" : "{description}",
        "<skos:prefLabel>" : "{label}",
        "<skos:note>" : "{note}",
        "<skos:definition>" : "{definition}",
        "<rdfs:label>" : "{label}",
        "^<skos:member>" : "{$dataset}"
    } 
}

{'fraction_non_alphanumeric': 0.23825503355704697, 'fraction_numerical': 0.0, 'mean_word_length': 2.879182156133829, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6267821', 'n_tokens_mistral': 676, 'n_tokens_neox': 697, 'n_words': 134}