<commit_before>
/*
 just an example of configuration useful to redirect all the request on the same endpoint */

$.jStorage.set('profile', {
    // parametri di connessione agli endpoint
    'connection' : {
        'http://FITEAGLE,http://localhost,http://federation.av.tu-berlin.de,file:///opt,http://demo.fiteagle.org/resource' : {
            description : {
                en : 'DEMO FITeagle'
            },
            useForInverseSameAs : true,
            //endpoint : 'http://demo.fiteagle.org:8080/openrdf-sesame/repositories/fiteagle',
            endpoint : '/openrdf-sesame/repositories/fiteagle',
            endpointType : 'sesame',
            examples : [{
                label : 'MotorGarage-1',
                uri : 'http://localhost/resource/MotorGarage-1'
            }]
        },
    },
    arrows : {
        'http://www.w3.org/2002/07/owl#sameAs' : 'isSameAs',
        'http://purl.org/dc/terms/isPartOf' : 'isPartOf',
        'http://purl.org/dc/elements/1.1/type' : 'isType',
        'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' : 'isType'
    },
    uriSubstitutor : [{
        findStr : 'mpii.de/yago/resource/',
        replaceStr : 'yago-knowledge.org/resource/'
    }],

    // configurazione standard per la rappresentazione di un documento
    // utilizzata nel caso manchi una specifica configurazione per la classe
    'default' : {
        sparql : {
            allClasses : 'SELECT DISTINCT ?object WHERE {[] a ?object}',
            findSubject : 'SELECT DISTINCT ?subject WHERE { {?subject a <{CLASS}>;<http://purl.org/dc/elements/1.1/title> ?object. FILTER(regex(str(?object),\'{VALUE}\',\'i\'))} UNION {?subject a <{CLASS}>;<http://www.w3.org/2000/01/rdf-schema#label> ?object. FILTER(regex(str(?object),\'{VALUE}\',\'i\'))} UNION {?subject a <{CLASS}>;<http://www.w3.org/2004/02/skos/core#prefLabel> ?object. FILTER(regex(str(?object),\'{VALUE}\',\'i\'))} }  LIMIT 1  ',<commit_msg>look also for omn<commit_after>
/*
 just an example of configuration useful to redirect all the request on the same endpoint */

$.jStorage.set('profile', {
    // parametri di connessione agli endpoint
    'connection' : {
        'http://fiteagle,http://localhost,http://federation.av.tu-berlin.de,file:///opt,http://demo.fiteagle.org/resource,http://open-multinet.info' : {
            description : {
                en : 'FITeagle Database'
            },
            useForInverseSameAs : true,
            endpoint : '/openrdf-sesame/repositories/fiteagle',
            endpointType : 'sesame',
            examples : [{
                label : 'MotorGarage-1',
                uri : 'http://localhost/resource/MotorGarage-1'
            }]
        },
    },
    arrows : {
        'http://www.w3.org/2002/07/owl#sameAs' : 'isSameAs',
        'http://purl.org/dc/terms/isPartOf' : 'isPartOf',
        'http://purl.org/dc/elements/1.1/type' : 'isType',
        'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' : 'isType'
    },
    uriSubstitutor : [{
        findStr : 'mpii.de/yago/resource/',
        replaceStr : 'yago-knowledge.org/resource/'
    }],

    // configurazione standard per la rappresentazione di un documento
    // utilizzata nel caso manchi una specifica configurazione per la classe
    'default' : {
        sparql : {
            allClasses : 'SELECT DISTINCT ?object WHERE {[] a ?object}',
            findSubject : 'SELECT DISTINCT ?subject WHERE { {?subject a <{CLASS}>;<http://purl.org/dc/elements/1.1/title> ?object. FILTER(regex(str(?object),\'{VALUE}\',\'i\'))} UNION {?subject a <{CLASS}>;<http://www.w3.org/2000/01/rdf-schema#label> ?object. FILTER(regex(str(?object),\'{VALUE}\',\'i\'))} UNION {?subject a <{CLASS}>;<http://www.w3.org/2004/02/skos/core#prefLabel> ?object. FILTER(regex(str(?object),\'{VALUE}\',\'i\'))} }  LIMIT 1  ',
{'fraction_non_alphanumeric': 0.17895565468381003, 'fraction_numerical': 0.020467069010758333, 'mean_word_length': 2.437330928764653, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, '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': '511099', 'n_tokens_mistral': 1361, 'n_tokens_neox': 1269, 'n_words': 213}