<commit_before><#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->

<#-- Custom object property statement view for http://vivoweb.org/ontology/core#hasRole and its child properties.
    
     This template must be self-contained and not rely on other variables set for the individual page, because it
     is also used to generate the property statement during a deletion.  
 -->

<@showCredential statement />

<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
     next statement -->
<#macro showCredential statement>

    <#local date>
        <#if (statement.start?? && !(statement.end??))>
            ${statement.start}
        <#elseif (statement.start?? && statement.end??)>
            ${statement.start}-${statement.end}
        </#if>
    </#local>

    <#local employer>
        <#if (statement.emp?? && statement.hdept?? && !(statement.org??))>
            <a href="${profileUrl(statement.uri("emp"))}" title="granted by">${statement.empText!}</a>,&nbsp;${statement.hdept!}
        <#elseif (statement.emp?? && !(statement.hdept??) && !(statement.org??))>
            <a href="${profileUrl(statement.uri("emp"))}" title="granted by">${statement.empText!}</a>
        <#elseif (statment.org?? && !(statement.emp??) && !(statment.hdept??))>
            <a href="${profileUrl(statement.uri("org"))}" title="granted by">${statement.orgText!}</a>
        <#elseif (statment.org?? && !(statement.emp??) && (statment.hdept??))>
            <a href="${profileUrl(statement.uri("org"))}" title="granted by">${statement.orgText!}</a>,&nbsp;${statement.hdept!}
        </#if>
    </#local>

    <#local label>
        <#if statement.apptText??>
            ${statement.apptText!}.
        </#if><commit_msg>Fix Appointment template conditionals<commit_after><#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->

<#-- Custom object property statement view for http://vivoweb.org/ontology/core#hasRole and its child properties.
    
     This template must be self-contained and not rely on other variables set for the individual page, because it
     is also used to generate the property statement during a deletion.  
 -->

<@showCredential statement />

<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
     next statement -->
<#macro showCredential statement>

    <#local date>
        <#if (statement.start?? && !(statement.end??))>
            ${statement.start}
        <#elseif (statement.start?? && statement.end??)>
            ${statement.start}-${statement.end}
        </#if>
    </#local>

    <#local employer>
        <#if (statement.emp?? && statement.hdept?? && !(statement.org??))>
            <a href="${profileUrl(statement.uri("emp"))}" title="granted by">${statement.empText!}</a>,&nbsp;${statement.hdept!}
        <#elseif (statement.emp?? && !(statement.hdept??) && !(statement.org??))>
            <a href="${profileUrl(statement.uri("emp"))}" title="granted by">${statement.empText!}</a>
        <#elseif (statement.org?? && !(statement.emp??) && !(statement.hdept??))>
            <a href="${profileUrl(statement.uri("org"))}" title="granted by">${statement.orgText!}</a>
        <#elseif (statement.org?? && !(statement.emp??) && (statement.hdept??))>
            <a href="${profileUrl(statement.uri("org"))}" title="granted by">${statement.orgText!}</a>,&nbsp;${statement.hdept!}
        <#elseif (!(statement.org??) && !(statement.emp??) && (statement.hdept??))>
            ${statement.hdept!}
        <#elseif (!(statement.org??) && !(statement.emp??) && !(statement.hdept??))>
            missing organization
        </#if>
    </#local>

    <#local label>
        <#if statement.apptText??>
            ${statement.apptText!}.
        </#if>
{'fraction_non_alphanumeric': 0.19405320813771518, 'fraction_numerical': 0.0, 'mean_word_length': 3.205043859649123, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '3877535', 'n_tokens_mistral': 1142, 'n_tokens_neox': 1151, 'n_words': 271}