<commit_before>PREFIX : <http://rinfo.lagrummet.se/ns/2008/11/rinfo/publ#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX awol: <http://bblfish.net/work/atom-owl/2006-06-06/#>
PREFIX iana: <http://www.iana.org/assignments/relation/>

CONSTRUCT {

    ?entry a awol:Entry;
        awol:updated ?entryUpdated;
        awol:content ?content;
        iana:alternate ?alternate;
        foaf:primaryTopic ?current .
    ?content awol:type ?mediaType .
    ?alternate awol:type ?mediaType .

    ?current ?curr_p ?curr_o .

    ?konsolidering :konsoliderar ?current .
    ?konsolidering a ?rev_type;
        dct:identifier ?rev_identifier;
        dct:issued ?rev_issued .

    ?andrande :andrar ?current .
    ?andrande a ?rev_type;
        dct:identifier ?rev_identifier;
        :ikrafttradandedatum ?rev_ikrafttradandedatum .

    ?upphavande :upphaver ?current .
    ?upphavande a ?rev_type;
        dct:identifier ?rev_identifier;
        :ikrafttradandedatum ?rev_ikrafttradandedatum .

} WHERE {

    #FILTER(?current = <$CURRENT>)

    {

        ?current ?curr_p ?curr_o .
        FILTER(isLiteral(?curr_o))

    } UNION {

        ?current ?curr_p ?curr_o .
        FILTER(?curr_p in (rdf:type,
                            dct:publisher,
                            :forfattningssamling,
                            :utrSerie,
                            :rattsfallspublikation,
                            :allmannaRadSerie))

    } UNION {

        ?entry a awol:Entry;
            foaf:primaryTopic ?current;
            awol:updated ?entryUpdated .<commit_msg>Add some relevant relations to construct_summary.rq<commit_after>PREFIX : <http://rinfo.lagrummet.se/ns/2008/11/rinfo/publ#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX awol: <http://bblfish.net/work/atom-owl/2006-06-06/#>
PREFIX iana: <http://www.iana.org/assignments/relation/>

CONSTRUCT {

    ?entry a awol:Entry;
        awol:updated ?entryUpdated;
        awol:content ?content;
        iana:alternate ?alternate;
        foaf:primaryTopic ?current .
    ?content awol:type ?mediaType .
    ?alternate awol:type ?mediaType .

    ?current ?curr_p ?curr_o .

    ?konsolidering :konsoliderar ?current .
    ?konsolidering a ?rev_type;
        dct:identifier ?rev_identifier;
        dct:issued ?rev_issued .

    ?andrande :andrar ?current .
    ?andrande a ?rev_type;
        dct:identifier ?rev_identifier;
        :ikrafttradandedatum ?rev_ikrafttradandedatum .

    ?upphavande :upphaver ?current .
    ?upphavande a ?rev_type;
        dct:identifier ?rev_identifier;
        :ikrafttradandedatum ?rev_ikrafttradandedatum .

} WHERE {

    #FILTER(?current = <$CURRENT>)

    {

        ?current ?curr_p ?curr_o .
        FILTER(isLiteral(?curr_o))

    } UNION {

        ?current ?curr_p ?curr_o .
        FILTER(?curr_p in (rdf:type,
                            dct:publisher,
                            :forfattningssamling,
                            :utrSerie,
                            :rattsfallspublikation,
                            :allmannaRadSerie,
                            :andrar,
                            :ersatter,
                            :upphaver,
                            :konsoliderar))

    } UNION {

        ?entry a awol:Entry;
            foaf:primaryTopic ?current;
            awol:updated ?entryUpdated .
{'fraction_non_alphanumeric': 0.11776061776061776, 'fraction_numerical': 0.013789299503585218, 'mean_word_length': 2.0049710024855014, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '7251951', 'n_tokens_mistral': 1302, 'n_tokens_neox': 1211, 'n_words': 205}