<commit_before><?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->

<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt  -->

<list-view-config>
    <query-select>    
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
        PREFIX afn:  &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
        PREFIX foaf:  &lt;http://xmlns.com/foaf/0.1/&gt;
        PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
        
        SELECT DISTINCT ?subclass  
                        ?edTraining 
                        ?person ?personName 
                        ?awardedDegree
                        ?degree
                        ?degreeName ?degreeAbbr 
                        ?majorField ?info 
                        ?dateTimeStart ?dateTimeEnd 
            WHERE {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess
                OPTIONAL { ?edTraining vitro:mostSpecificType ?subclass . }
                OPTIONAL { ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                           ?awardedDegree core:relates ?degree .
                           ?degree a core:AcademicDegree .
                           ?degree rdfs:label ?degreeName 
                }
                OPTIONAL { ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                           ?awardedDegree core:relates ?degree .
                           ?degree a core:AcademicDegree .
                           ?degree core:abbreviation ?degreeAbbr 
                }
                OPTIONAL { ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?person .
                           ?person a foaf:Person .
                           ?person rdfs:label ?personName
                }
                OPTIONAL { ?edTraining core:majorField ?majorField }
                OPTIONAL { ?edTraining core:supplementalInformation ?info }
                OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval .
                           ?dateTimeInterval core:start ?dateTimeStartValue .                    
                           ?dateTimeStartValue core:dateTime ?dateTimeStart 
                }
                OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval .
                           ?dateTimeInterval core:end ?dateTimeEndValue . 
                           ?dateTimeEndValue core:dateTime ?dateTimeEnd  
                }  
         }  ORDER BY ?subclass DESC(?dateTimeEnd) DESC(?dateTimeStart)
    </query-select>

    <query-construct> 
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
        PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;

        CONSTRUCT {
            ?edTraining vitro:mostSpecificType ?subclass
        } WHERE {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?edTraining vitro:mostSpecificType ?subclass .
        }
    </query-construct>

    <query-construct>
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;

        CONSTRUCT {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?edTraining ?edTrainingProp ?edTrainingValue .
            ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
            ?awardedDegree core:relates ?degree .
            ?edTraining core:dateTimeInterval ?dateTimeInterval
        } WHERE {
            {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess
            }
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining ?edTrainingProp ?edTrainingValue 
            }
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
            } 
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                ?awardedDegree core:relates ?degree
            } 
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining core:dateTimeInterval ?dateTimeInterval
            }
        }
    </query-construct> 

    <query-construct>
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
        PREFIX foaf:  &lt;http://xmlns.com/foaf/0.1/&gt;

        CONSTRUCT {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?edTraining ?edTrainingProp ?edTrainingValue .
            ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?person .
            ?person a foaf:Person .
            ?person rdfs:label ?personName
        } WHERE {
            {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess
            }
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining ?edTrainingProp ?edTrainingValue 
            }
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?person .
                ?person a foaf:Person .
                ?person rdfs:label ?personName 
            } 
        }
    </query-construct> 

    <query-construct>
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;

        CONSTRUCT {
                ?degree a core:AcademicDegree .
                ?degree rdfs:label ?degreeName .
                ?degree core:abbreviation ?degreeAbbr 
        } WHERE {
            { 
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                ?awardedDegree core:relates ?degree .
                ?degree a core:AcademicDegree .
                ?degree rdfs:label ?degreeName 
            } UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                ?awardedDegree core:relates ?degree .
                ?degree a core:AcademicDegree .
                ?degree core:abbreviation ?degreeAbbr 
            }
        }
    </query-construct>

    <query-construct>
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;   
        CONSTRUCT { 
            ?subject ?property ?edTraining .
            ?leaderRole core:dateTimeInterval ?dateTimeInterval .
            ?dateTimeInterval core:start ?dateTimeStartValue .
            ?dateTimeStartValue core:dateTime ?dateTimeStart 
        } WHERE {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?leaderRole core:dateTimeInterval ?dateTimeInterval .
            ?dateTimeInterval core:start ?dateTimeStartValue .
            ?dateTimeStartValue core:dateTime ?dateTimeStart 
        } 
    </query-construct>

    <query-construct>
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;   
        CONSTRUCT { 
            ?subject ?property ?edTraining .
            ?leaderRole core:dateTimeInterval ?dateTimeInterval .
            ?dateTimeInterval core:end ?dateTimeEndValue .
            ?dateTimeStartValue core:dateTime ?dateTimeEnd 
        } WHERE {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?leaderRole core:dateTimeInterval ?dateTimeInterval .
            ?dateTimeInterval core:end ?dateTimeEndValue .
            ?dateTimeStartValue core:dateTime ?dateTimeEnd
        } 
    </query-construct>
    
    <template>propStatement-organizationForTraining.ftl</template>
</list-view-config><commit_msg>Fixed query variables for organizationForTraining list view config; JIRA VIVO-932<commit_after><?xml version="1.0" encoding="ISO-8859-1"?>
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->

<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt  -->

<list-view-config>
    <query-select>    
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
        PREFIX afn:  &lt;http://jena.hpl.hp.com/ARQ/function#&gt;
        PREFIX foaf:  &lt;http://xmlns.com/foaf/0.1/&gt;
        PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;
        
        SELECT DISTINCT ?subclass  
                        ?edTraining 
                        ?person ?personName 
                        ?awardedDegree
                        ?degree
                        ?degreeName ?degreeAbbr 
                        ?majorField ?info 
                        ?dateTimeStart ?dateTimeEnd 
            WHERE {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess
                OPTIONAL { ?edTraining vitro:mostSpecificType ?subclass . }
                OPTIONAL { ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                           ?awardedDegree core:relates ?degree .
                           ?degree a core:AcademicDegree .
                           ?degree rdfs:label ?degreeName 
                }
                OPTIONAL { ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                           ?awardedDegree core:relates ?degree .
                           ?degree a core:AcademicDegree .
                           ?degree core:abbreviation ?degreeAbbr 
                }
                OPTIONAL { ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?person .
                           ?person a foaf:Person .
                           ?person rdfs:label ?personName
                }
                OPTIONAL { ?edTraining core:majorField ?majorField }
                OPTIONAL { ?edTraining core:supplementalInformation ?info }
                OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval .
                           ?dateTimeInterval core:start ?dateTimeStartValue .                    
                           ?dateTimeStartValue core:dateTime ?dateTimeStart 
                }
                OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval .
                           ?dateTimeInterval core:end ?dateTimeEndValue . 
                           ?dateTimeEndValue core:dateTime ?dateTimeEnd  
                }  
         }  ORDER BY ?subclass DESC(?dateTimeEnd) DESC(?dateTimeStart)
    </query-select>

    <query-construct> 
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
        PREFIX vitro: &lt;http://vitro.mannlib.cornell.edu/ns/vitro/0.7#&gt;

        CONSTRUCT {
            ?edTraining vitro:mostSpecificType ?subclass
        } WHERE {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?edTraining vitro:mostSpecificType ?subclass .
        }
    </query-construct>

    <query-construct>
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;

        CONSTRUCT {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?edTraining ?edTrainingProp ?edTrainingValue .
            ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
            ?awardedDegree core:relates ?degree .
            ?edTraining core:dateTimeInterval ?dateTimeInterval
        } WHERE {
            {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess
            }
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining ?edTrainingProp ?edTrainingValue 
            }
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
            } 
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                ?awardedDegree core:relates ?degree
            } 
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining core:dateTimeInterval ?dateTimeInterval
            }
        }
    </query-construct> 

    <query-construct>
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;
        PREFIX foaf:  &lt;http://xmlns.com/foaf/0.1/&gt;

        CONSTRUCT {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?edTraining ?edTrainingProp ?edTrainingValue .
            ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?person .
            ?person a foaf:Person .
            ?person rdfs:label ?personName
        } WHERE {
            {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess
            }
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining ?edTrainingProp ?edTrainingValue 
            }
            UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0000057&gt; ?person .
                ?person a foaf:Person .
                ?person rdfs:label ?personName 
            } 
        }
    </query-construct> 

    <query-construct>
        PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;   
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;

        CONSTRUCT {
                ?degree a core:AcademicDegree .
                ?degree rdfs:label ?degreeName .
                ?degree core:abbreviation ?degreeAbbr 
        } WHERE {
            { 
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                ?awardedDegree core:relates ?degree .
                ?degree a core:AcademicDegree .
                ?degree rdfs:label ?degreeName 
            } UNION {
                ?subject ?property ?edTraining .
                ?edTraining a core:EducationalProcess .
                ?edTraining &lt;http://purl.obolibrary.org/obo/RO_0002234&gt; ?awardedDegree .
                ?awardedDegree core:relates ?degree .
                ?degree a core:AcademicDegree .
                ?degree core:abbreviation ?degreeAbbr 
            }
        }
    </query-construct>

    <query-construct>
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;   
        CONSTRUCT { 
            ?subject ?property ?edTraining .
            ?edTraining core:dateTimeInterval ?dateTimeInterval .
            ?dateTimeInterval core:start ?dateTimeStartValue .
            ?dateTimeStartValue core:dateTime ?dateTimeStart 
        } WHERE {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?edTraining core:dateTimeInterval ?dateTimeInterval .
            ?dateTimeInterval core:start ?dateTimeStartValue .
            ?dateTimeStartValue core:dateTime ?dateTimeStart 
        } 
    </query-construct>

    <query-construct>
        PREFIX core: &lt;http://vivoweb.org/ontology/core#&gt;   
        CONSTRUCT { 
            ?subject ?property ?edTraining .
            ?edTraining core:dateTimeInterval ?dateTimeInterval .
            ?dateTimeInterval core:end ?dateTimeEndValue .
            ?dateTimeEndValue core:dateTime ?dateTimeEnd 
        } WHERE {
            ?subject ?property ?edTraining .
            ?edTraining a core:EducationalProcess .
            ?edTraining core:dateTimeInterval ?dateTimeInterval .
            ?dateTimeInterval core:end ?dateTimeEndValue .
            ?dateTimeEndValue core:dateTime ?dateTimeEnd
        } 
    </query-construct>
    
    <template>propStatement-organizationForTraining.ftl</template>
</list-view-config>
{'fraction_non_alphanumeric': 0.09666060881417537, 'fraction_numerical': 0.013800545206724217, 'mean_word_length': 1.6341062079281974, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 2, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, 'xml': 6}, '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': '2495111', 'n_tokens_mistral': 5535, 'n_tokens_neox': 4826, 'n_words': 852}