<commit_before>findsubjects = require './findsubjects'
timeIndicator = ['time:year', 'time:month', 'time:week']

pathToDate = (pdta) ->
    switch pdta
        when '?log' then 'time:hasInstant/time:inDateTime/'
        when '?receipt' then 'time:hasInstant/time:inDateTime/'
        when '?bankoperation' then 'time:hasInstant/time:inDateTime/'
            # ...
module.exports = (triples) ->

    triples.subjects = subjects = findsubjects(triples.concrete)

    if '?log' in subjects
        # we want the instant
        triples.concrete.push
            s: '?log'
            o: '?instant'
            p: 'time:hasInstant/time:inDateTime'

        triples.subjects.push '?instant'

    if '?bankoperation' in subjects
        # we want the instant
        triples.concrete.push
            s: '?bankoperation'
            o: '?instant'
            p: 'time:hasInstant/time:inDateTime'

        triples.subjects.push '?instant'

    if '?receipt' in subjects
        # we want the instant
        triples.concrete.push
            s: '?receipt'
            o: '?instant'
            p: 'time:hasInstant/time:inDateTime'

        triples.subjects.push '?instant'<commit_msg>added forgotten concretizer for VOD<commit_after>findsubjects = require './findsubjects'
timeIndicator = ['time:year', 'time:month', 'time:week']

pathToDate = (pdta) ->
    switch pdta
        when '?log' then 'time:hasInstant/time:inDateTime/'
        when '?receipt' then 'time:hasInstant/time:inDateTime/'
        when '?bankoperation' then 'time:hasInstant/time:inDateTime/'
        when '?vod' then 'time:hasInstant/time:inDateTime/'
            # ...
module.exports = (triples) ->

    triples.subjects = subjects = findsubjects(triples.concrete)

    if '?log' in subjects
        # we want the instant
        triples.concrete.push
            s: '?log'
            o: '?instant'
            p: 'time:hasInstant/time:inDateTime'

        triples.subjects.push '?instant'

    if '?vod' in subjects
        # we want the instant
        triples.concrete.push
            s: '?vod'
            o: '?instant'
            p: 'time:hasInstant/time:inDateTime'

        triples.subjects.push '?vod'

    if '?bankoperation' in subjects
        # we want the instant
        triples.concrete.push
            s: '?bankoperation'
            o: '?instant'
            p: 'time:hasInstant/time:inDateTime'

        triples.subjects.push '?instant'

    if '?receipt' in subjects
        # we want the instant
        triples.concrete.push
            s: '?receipt'
            o: '?instant'
            p: 'time:hasInstant/time:inDateTime'

        triples.subjects.push '?instant'
{'fraction_non_alphanumeric': 0.12189616252821671, 'fraction_numerical': 0.0, 'mean_word_length': 2.1654761904761903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3686958', 'n_tokens_mistral': 859, 'n_tokens_neox': 829, 'n_words': 182}