Skip to content

Commit

Permalink
More script renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Oct 30, 2023
1 parent 7f001db commit 6b237ef
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace="${namespace_doc}#"
ontology_doc="${ADMIN_BASE_URL}model/ontologies/namespace/"
class="${namespace_doc}#NewClass"

./create-class.sh \
./add-class.sh \
-f "$OWNER_CERT_FILE" \
-p "$OWNER_CERT_PWD" \
-b "$ADMIN_BASE_URL" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace="${namespace_doc}#"
ontology_doc="${ADMIN_BASE_URL}model/ontologies/namespace/"
constraint="${namespace_doc}#NewConstraint"

./create-property-constraint.sh \
./add-property-constraint.sh \
-f "$OWNER_CERT_FILE" \
-p "$OWNER_CERT_PWD" \
-b "$ADMIN_BASE_URL" \
Expand All @@ -28,7 +28,7 @@ constraint="${namespace_doc}#NewConstraint"

# create a class with the constraint

./create-class.sh \
./add-class.sh \
-f "$OWNER_CERT_FILE" \
-p "$OWNER_CERT_PWD" \
-b "$ADMIN_BASE_URL" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace="${namespace_doc}#"
ontology_doc="${ADMIN_BASE_URL}model/ontologies/namespace/"
restriction="${namespace_doc}#Restriction"

./create-restriction.sh \
./add-restriction.sh \
-f "$OWNER_CERT_FILE" \
-p "$OWNER_CERT_PWD" \
-b "$ADMIN_BASE_URL" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

print_usage()
{
printf "Creates an ontology class.\n"
printf "Adds an ontology class.\n"
printf "\n"
printf "Usage: %s options [TARGET_URI]\n" "$0"
printf "\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

print_usage()
{
printf "Creates a SPARQL CONSTRUCT query.\n"
printf "Adds a SPARQL CONSTRUCT query.\n"
printf "\n"
printf "Usage: %s options [TARGET_URI]\n" "$0"
printf "\n"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

print_usage()
{
printf "Creates a SPARQL SELECT query in the Domain ontology.\n"
printf "Adds a SPARQL SELECT query.\n"
printf "\n"
printf "Usage: %s options [TARGET_URI]\n" "$0"
printf "\n"
Expand Down
4 changes: 2 additions & 2 deletions scripts/admin/model/create-ontology.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

print_usage()
{
printf "Creates a new ontology in its own named graph.\n"
printf "Creates a new ontology.\n"
printf "\n"
printf "Usage: %s options [TARGET_URI]\n" "$0"
printf "\n"
Expand Down Expand Up @@ -143,4 +143,4 @@ if [ -n "$fragment" ] ; then
fi

# submit Turtle doc to the server
echo -e "$turtle" | turtle --base="$base" | ../../post.sh "${args[@]}"
echo -e "$turtle" | turtle --base="$base" | ../../put.sh "${args[@]}"

0 comments on commit 6b237ef

Please sign in to comment.