Changeset 35058
- Timestamp:
- 2021-04-11T22:50:02+12:00 (3 years ago)
- Location:
- gs2-extensions/apache-jena/trunk/src/src3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-add3
r34963 r35058 9 9 file_ttl=$2 10 10 11 if [ "x$FULL_GREENSTONE_URL_PREFIX" != "x" ] ; then 12 graph_uri="$FULL_GREENSTONE_URL_PREFIX/collection/$graph_name" 13 else 14 graph_uri="http://localhost:4040/greenstone/data/$graph_name" 15 # graph_uri="https://so-we-must-think.space/greenstone3-lod3/greenstone/data/$graph_name" 16 fi 17 18 11 19 # The following line helps with runing a she-bang line of: 12 20 # '#!/usr/bin/env ruby' … … 15 23 export PATH=/usr/bin:$PATH 16 24 17 s-post http://localhost:4040/greenstone/data $graph_name"$file_ttl"25 s-post http://localhost:4040/greenstone/data "$graph_uri" "$file_ttl" 18 26 -
gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-reset3
r34963 r35058 8 8 graph_name=$1 9 9 10 if [ "x$FULL_GREENSTONE_URL_PREFIX" != "x" ] ; then 11 graph_uri="$FULL_GREENSTONE_URL_PREFIX/collection/$graph_name" 12 else 13 graph_uri="http://localhost:4040/greenstone/data/$graph_name" 14 # graph_uri="https://so-we-must-think.space/greenstone3-lod3/greenstone/data/$graph_name" 15 fi 16 10 17 # The following line helps with runing a she-bang line of: 11 18 # '#!/usr/bin/env ruby' … … 14 21 export PATH=/usr/bin:$PATH 15 22 16 s-update --service http://localhost:4040/greenstone/update "DROP GRAPH < http://localhost:4040/greenstone/data/$graph_name>"23 s-update --service http://localhost:4040/greenstone/update "DROP GRAPH <$graph_uri>" 17 24
Note:
See TracChangeset
for help on using the changeset viewer.