<commit_before>;; -------------------------------------------
;; --------- Root Concept Assignment ---------
;; -------------------------------------------
;; create ICE URI's for each term in the ontology
`{:name "root-concept-ice-gen"
  :head ((?/id rdfs/subClassOf ccp/IAO_EXT_0000190)) ; ontology root concept identifer
  :sparql-string "select ?root {
								  ?root rdf:type owl:Class .
								  minus{?root rdf:type ?class}
								  minus{?root owl:deprecated true}  
								         }"
  :reify ([?/id {:ln (:localname ?/root)
                 :ns "ccp" :prefix "" :suffix ""}])}


;<commit_msg>Added denotes relation and fixed bug from previous commit<commit_after>;; -------------------------------------------
;; --------- Root Concept Assignment ---------
;; -------------------------------------------
;; create ICE URI's for each term in the ontology
`{:name "ontology-concept-record-gen"
  :head ((?/id rdf/type ccp/IAO_EXT_0000190) ; ontology root concept identifer
         (?/id obo/IAO_0000219 ?/root)) ; denotes
  :sparql-string "select ?root {
								  ?root rdfs:subClassOf owl:Class .
								  minus{?root rdf:type ?class}
								  minus{?root owl:deprecated true}  
								         }"
  :reify ([?/id {:ln (:localname ?/root)
                 :ns "ccp" :prefix "" :suffix ""}])}


;; ------------------------------------------------------------------------
;; --------- Ontology Concept Identifier Denotes Ontology Concept ---------
;; ------------------------------------------------------------------------
;; create instance of ontology record for each ontology concept
;`{:name "ontology-concept-record-gen"
;  :head ((?/id rdfs/subClassOf ccp/IAO_EXT_0000190) ; ontology root concept identifer
;         (?/id obo/IAO_0000219 ?/root)) ; denotes
;  :sparql-string "select ?root {
;								  ?root rdf:type owl:Class .
;								  minus{?root rdf:type ?class}
;								  minus{?root owl:deprecated true}  
;								         }"
;  :reify ([?/id {:ln (:localname ?/root)
;                 :ns "ccp" :prefix "" :suffix ""}])}


;; ----------------------------------------------------
;; --------- Ontology Concept Record Creation ---------
;; ----------------------------------------------------
;; create instance of ontology record for each ontology concept
;`{:name "ontology-concept-record-gen"
;  :head ((?/id rdfs/subClassOf ccp/IAO_EXT_0000190)) ; ontology root concept identifer
;  :sparql-string "select ?root {
;								  ?root rdf:type owl:Class .
;								  minus{?root rdf:type ?class}
;								  minus{?root owl:deprecated true}  
;								         }"
;  :reify ([?/id {:ln (:localname ?/root)
;                 :ns "ccp" :prefix "" :suffix ""}])}

;
{'fraction_non_alphanumeric': 0.3046382189239332, 'fraction_numerical': 0.015584415584415584, 'mean_word_length': 1.4464609800362977, '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': '1924759', 'n_tokens_mistral': 967, 'n_tokens_neox': 750, 'n_words': 194}