Changeset 36764 for gs2-extensions
- Timestamp:
- 2022-10-09T20:55:48+13:00 (19 months ago)
- Location:
- gs2-extensions/apache-jena/trunk/src/src3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-add3
r35162 r36764 9 9 file_ttl=$2 10 10 11 port=${FUSEKI3_PORT:-4040} 12 11 13 if [ "x$FULL_GREENSTONE_URL_PREFIX" != "x" ] ; then 12 14 graph_uri="$FULL_GREENSTONE_URL_PREFIX/collection/$graph_name" 13 15 else 14 16 graph_uri="http://localhost:8383/greenstone3/library/collection/$graph_name" 15 # graph_uri="http://localhost: 4040/greenstone/data/$graph_name"17 # graph_uri="http://localhost:$port/greenstone/data/$graph_name" 16 18 # graph_uri="https://so-we-must-think.space/greenstone3-lod3/greenstone/data/$graph_name" 17 19 fi … … 24 26 export PATH=/usr/bin:$PATH 25 27 26 s-post http://localhost: 4040/greenstone/data "$graph_uri" "$file_ttl"28 s-post http://localhost:$port/greenstone/data "$graph_uri" "$file_ttl" 27 29 -
gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-file-query3
r35080 r36764 12 12 sparql_query=`cat "$input_sparql_query_file"` 13 13 14 port=${FUSEKI3_PORT:-4040} 15 14 16 15 17 # The following line helps with runing a she-bang line of: … … 19 21 export PATH=/usr/bin:$PATH 20 22 21 s-query --service http://localhost: 4040/greenstone/query \23 s-query --service http://localhost:$port/greenstone/query \ 22 24 "$sparql_query" > "$output_json_queryresult_file" -
gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-query3
r34963 r36764 5 5 exit 1 6 6 fi 7 8 port=${FUSEKI3_PORT:-4040} 7 9 8 10 #pushd "$GEXT_JENA" … … 14 16 export PATH=/usr/bin:$PATH 15 17 16 s-query --service http://localhost: 4040/greenstone/query "$*"18 s-query --service http://localhost:$port/greenstone/query "$*" 17 19 18 20 -
gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-reset3
r35162 r36764 8 8 graph_name=$1 9 9 10 port=${FUSEKI3_PORT:-4040} 11 12 10 13 if [ "x$FULL_GREENSTONE_URL_PREFIX" != "x" ] ; then 11 14 graph_uri="$FULL_GREENSTONE_URL_PREFIX/collection/$graph_name" 12 15 else 13 16 graph_uri="http://localhost:8383/greenstone3/library/collection/$graph_name" 14 # graph_uri="http://localhost: 4040/greenstone/data/$graph_name"17 # graph_uri="http://localhost:$port/greenstone/data/$graph_name" 15 18 # graph_uri="https://so-we-must-think.space/greenstone3-lod3/greenstone/data/$graph_name" 16 19 fi … … 22 25 export PATH=/usr/bin:$PATH 23 26 24 s-update --service http://localhost: 4040/greenstone/update "DROP GRAPH <$graph_uri>"27 s-update --service http://localhost:$port/greenstone/update "DROP GRAPH <$graph_uri>" 25 28 -
gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-server3
r36763 r36764 8 8 9 9 export JENA_FUSEKI_JAR=$GEXT_JENA/packages/apache-jena-fuseki-3.17.0/fuseki-server.jar 10 11 port=${FUSEKI3_PORT:-4040} 10 12 11 13 if [ ! -d run ] ; then … … 30 32 fi 31 33 32 ./bin/script3/fuseki-server --tdb etc/tdb-triple-store3 --update --port 4040/greenstone34 ./bin/script3/fuseki-server --tdb etc/tdb-triple-store3 --update --port $port /greenstone 33 35 34 36
Note:
See TracChangeset
for help on using the changeset viewer.