<commit_before>;; ------------------------------------------------------------------------
;; --------- Ontology Concept Identifier Denotes Ontology Concept ---------
;; ------------------------------------------------------------------------
;; create id denotes concept triple for every ontology concept
`{:name "ontology-id-denotes-concept-gen"
  :head ((?/id obo/IAO_0000219 ?/sc) ; denotes
         (?/id rdf/type ccp/IAO_EXT_0000088)) ; ontology concept identifier
  :sparql-string "prefix ccp: <http://ccp.ucdenver.edu/obo/ext/>
                  prefix obo: <http://purl.obolibrary.org/obo/>
                  select ?sc {
                  ?root_id rdf:type ccp:IAO_EXT_0000190 .
                  ?root_id obo:IAO_0000219 ?root_class .
                  ?sc rdfs:subClassOf* ?root_class .
                  }"
  :reify ([?/id {:ln (:localname ?/sc)
                 :ns "ccp" :prefix "" :suffix ""}])}<commit_msg>Edited the ontology id denotes concept gen rule<commit_after>;; ------------------------------------------------------------------------
;; --------- Ontology Concept Identifier Denotes Ontology Concept ---------
;; ------------------------------------------------------------------------
;; create id denotes concept triple for every ontology concept
`{:name "ontology-id-denotes-concept-gen"
  :description "This rule generates an ontology concept identifier for every non-root ontology concept."
  :head ((?/id obo/IAO_0000219 ?/ontology_concept) ; denotes
         (?/id rdf/type ccp/IAO_EXT_0000088)) ; ontology concept identifier
  :reify ([?/id {:ln (:localname ?/ontology_concept)
                 :ns "ccp" :prefix "" :suffix ""}])
  :sparql-string "prefix ccp: <http://ccp.ucdenver.edu/obo/ext/>
                  prefix obo: <http://purl.obolibrary.org/obo/>
                  select ?ontology_concept {
                  ?root_id rdf:type ccp:IAO_EXT_0000190 . # ccp:ontology root concept identifier
                  ?root_id obo:IAO_0000219 ?root_class . # obo:denotes
                  ?ontology_concept rdfs:subClassOf* ?root_class .
                  minus {?ontology_concept owl:deprecated true} .
                  minus {?ontology_concept rdf:type ccp:IAO_EXT_0000190} # ccp:ontology root concept identifier
                  }"
  }
{'fraction_non_alphanumeric': 0.24307692307692308, 'fraction_numerical': 0.027692307692307693, 'mean_word_length': 1.557303370786517, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1799868', 'n_tokens_mistral': 711, 'n_tokens_neox': 609, 'n_words': 149}