<commit_before>#!/bin/bash
#

SCRIPT_DIR=/kabob.git/scripts/docker
chmod -R 755 ${SCRIPT_DIR}

# This script takes a single argument specifying the repository name to use/construct
export KB_INSTANCE_NAME=$1
export DOCKER_ENV=${SCRIPT_DIR}/virtuoso-specific/docker-env.sh

source ${DOCKER_ENV}
source ${SCRIPT_DIR}/common-scripts/ENV.sh

echo "LEININGEN=${LEININGEN}"
echo "KB_PORT=${KB_PORT}"
echo "KB_URL=${KB_URL}"
echo "KB_USER=${KB_USER}"
echo "KB_PASS=${KB_PASS}"
echo "KB_NAME=${KB_NAME}"
echo "DATASOURCE_OWL_DIR=${DATASOURCE_OWL_DIR}"
echo "DATASOURCE_ICE_DIR=${DATASOURCE_ICE_DIR}"
echo "KB_DATA_DIR=${KB_DATA_DIR}"

IS_VIRTUOSO=true
cd /kabob.git && { ${LEININGEN} eval-sparql ${KB_URL} ${KB_NAME} ${KB_USER} ${KB_PASS} ${IS_VIRTUOSO} directives/duplicates ; cd - ; }<commit_msg>Fixed environment variable import for delete-duplicate-triples-virtuoso.sh<commit_after>#!/bin/bash
#

SCRIPT_DIR=/kabob.git/scripts/docker
source ${SCRIPT_DIR}/virtuoso-specific/docker-env.sh
source ${SCRIPT_DIR}/common-scripts/ENV.sh

echo "LEININGEN=${LEININGEN}"
echo "KB_PORT=${KB_PORT}"
echo "KB_URL=${KB_URL}"
echo "KB_USER=${KB_USER}"
echo "KB_PASS=${KB_PASS}"
echo "KB_NAME=${KB_NAME}"
echo "DATASOURCE_OWL_DIR=${DATASOURCE_OWL_DIR}"
echo "DATASOURCE_ICE_DIR=${DATASOURCE_ICE_DIR}"
echo "KB_DATA_DIR=${KB_DATA_DIR}"

IS_VIRTUOSO=true
cd /kabob.git && { ${LEININGEN} eval-sparql ${KB_URL} ${KB_NAME} ${KB_USER} ${KB_PASS} ${IS_VIRTUOSO} directives/duplicates ; cd - ; }
{'fraction_non_alphanumeric': 0.16359918200409, 'fraction_numerical': 0.0027266530334014998, 'mean_word_length': 7.8969696969696965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6001051', 'n_tokens_mistral': 659, 'n_tokens_neox': 592, 'n_words': 97}