<commit_before>;; -------------------------------------------
;; --------- Root Concept Assignment ---------
;; -------------------------------------------
;; create ICE URI's for each term in the ontology
`{:name "root-concept-identifier-gen"
  :head ((?/id rdf/type ccp/IAO_EXT_0000190) ; ontology root concept identifer
         (?/id obo/IAO_0000219 ?/root)) ; denotes
  :reify ([?/id {:ln (:localname ?/root)
                 :ns "ccp" :prefix "" :suffix ""}])
  :sparql-string "select ?root {
		  ?root rdf:type owl:Class .
		  minus{?root rdfs:subClassOf ?class}
		  minus{?root owl:deprecated true} 
		  filter(!contains(str(?root), '/bnode/')) 
		}"
}<commit_msg>Added rule description for root_concept_identifier_gen<commit_after>;; -------------------------------------------
;; --------- Root Concept Assignment ---------
;; -------------------------------------------
`{:name "root-concept-identifier-gen"
  :description "This rule creates an identifier for each root ontology class and types it as a root concept identifier (IAO_EXT_0000190)"
  :head ((?/id rdf/type ccp/IAO_EXT_0000190) ;; ccp:ontology root concept identifer
         (?/id obo/IAO_0000219 ?/root)) ;; obo:denotes
  :reify ([?/id {:ln (:localname ?/root)
                 :ns "ccp" :prefix "" :suffix ""}])
  :sparql-string "select ?root {
		  ?root rdf:type owl:Class .
		  minus{?root rdfs:subClassOf ?class}
		  minus{?root owl:deprecated true} 
		  filter(!contains(str(?root), '/bnode/')) 
		}"
}
{'fraction_non_alphanumeric': 0.2737693863789616, 'fraction_numerical': 0.023600809170600135, 'mean_word_length': 2.047227926078029, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1380431', 'n_tokens_mistral': 524, 'n_tokens_neox': 445, 'n_words': 115}