<commit_before>PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl:<http://www.w3.org/2002/07/owl#>
PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
PREFIX sd:<http://www.w3.org/ns/sparql-service-description#>
PREFIX void:<http://rdfs.org/ns/void#>
PREFIX foaf:<http://xmlns.com/foaf/0.1/>
PREFIX msg:<http://www.openrdf.org/rdf/2011/messaging#>
PREFIX calli:<http://callimachusproject.org/rdf/2009/framework#>
PREFIX prov:<http://www.w3.org/ns/prov#>
PREFIX audit:<http://www.openrdf.org/rdf/2012/auditing#>

DELETE {
    ?folder calli:describedby ?describedby
} WHERE {
    ?folder a <types/Folder>; calli:describedby ?describedby
    FILTER EXISTS {
        ?folder calli:describedby ?describedby2
        FILTER (?describedby2 < ?describedby)
    }
};

INSERT {
    </> calli:reader </auth/groups/public>
} WHERE {
    FILTER NOT EXISTS {
        </> calli:reader </auth/groups/public>
    }
};
<commit_msg>Remove calli:Alias references and ObsoleteTransactions<commit_after>PREFIX xsd:<http://www.w3.org/2001/XMLSchema#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl:<http://www.w3.org/2002/07/owl#>
PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
PREFIX sd:<http://www.w3.org/ns/sparql-service-description#>
PREFIX void:<http://rdfs.org/ns/void#>
PREFIX foaf:<http://xmlns.com/foaf/0.1/>
PREFIX msg:<http://www.openrdf.org/rdf/2011/messaging#>
PREFIX calli:<http://callimachusproject.org/rdf/2009/framework#>
PREFIX prov:<http://www.w3.org/ns/prov#>
PREFIX audit:<http://www.openrdf.org/rdf/2012/auditing#>

DELETE {
    ?folder calli:describedby ?describedby
} WHERE {
    ?folder a <types/Folder>; calli:describedby ?describedby
    FILTER EXISTS {
        ?folder calli:describedby ?describedby2
        FILTER (?describedby2 < ?describedby)
    }
};

INSERT {
    </> calli:reader </auth/groups/public>
} WHERE {
    FILTER NOT EXISTS {
        </> calli:reader </auth/groups/public>
    }
};

DELETE {
    </layout/template.xsl> ?p ?o
} WHERE {
    </layout/template.xsl> ?p ?o
};

DELETE {
    </> a <http://callimachusproject.org/rdf/2009/framework#Alias>
} WHERE {
    </> a <http://callimachusproject.org/rdf/2009/framework#Alias>, calli:Folder
};

INSERT {
    ?graph a <http://www.openrdf.org/rdf/2012/auditing#ObsoleteBundle>
} WHERE {
    ?graph a <http://www.openrdf.org/rdf/2009/auditing#ObsoleteTransaction>
    FILTER NOT EXISTS { ?graph a <http://www.openrdf.org/rdf/2012/auditing#ObsoleteBundle> }
};

{'fraction_non_alphanumeric': 0.18702290076335878, 'fraction_numerical': 0.048091603053435114, 'mean_word_length': 3.7654545454545456, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 46, 'https://': 0, 'lorem ipsum': 0, 'www.': 21, 'xml': 2}, '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': '7645818', 'n_tokens_mistral': 1145, 'n_tokens_neox': 1022, 'n_words': 135}