How to modify the following code for remote connection to the stardog database or knowledge graph. Are the username and password for the remote connection the same as those when creating the stardog cloud account?
date=$(date +'%d_%m_%Y')
echo "Available Hosts (cadets, theia, trace, optc)"
read -p "Enter the host name:" dataset
read -p "Enter the stardog dataset name:" stardogDataseet
read -p "Enter the stardog username:" stardogUserName
read -p "Enter the stardog password:" stardogpassword
read -p "Enter the turtle provenance graphs folder path:" PG_path
mkdir -p logs/${dataset}/
load_graph () {
graph_name=$1
echo ${graph_name}.ttl >> logs/${dataset}/loading_${dataset}provenance_graph${date}.txt
stardog data add ${stardogDataseet} ${PG_path}/${graph_name}.ttl -u ${stardogUserName} -p ${stardogpassword} >> logs/${dataset}/loading_${dataset}provenance_graph${date}.txt
}