source: gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-reset3@ 35162

Last change on this file since 35162 was 35162, checked in by davidb, 3 years ago

Change in response to testing

  • Property svn:executable set to *
File size: 735 bytes
Line 
1#!/bin/bash
2
3if [ $# -ne 1 ] ; then
4 echo "Usage: $0 collect-name" >&2
5 exit 1
6fi
7
8graph_name=$1
9
10if [ "x$FULL_GREENSTONE_URL_PREFIX" != "x" ] ; then
11 graph_uri="$FULL_GREENSTONE_URL_PREFIX/collection/$graph_name"
12else
13 graph_uri="http://localhost:8383/greenstone3/library/collection/$graph_name"
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"
16fi
17
18# The following line helps with runing a she-bang line of:
19# '#!/usr/bin/env ruby'
20# when the current script has been run from Perl under Cygwin
21#
22export PATH=/usr/bin:$PATH
23
24s-update --service http://localhost:4040/greenstone/update "DROP GRAPH <$graph_uri>"
25
Note: See TracBrowser for help on using the repository browser.