source: gs2-extensions/apache-jena/trunk/src/src/gs-triplestore-reset@ 29430

Last change on this file since 29430 was 29430, checked in by sjs49, 9 years ago

gs-triplestore-reset now uses a correctly formed SPARQL query, as the previous one failed to parse

  • Property svn:executable set to *
File size: 403 bytes
RevLine 
[28467]1#!/bin/bash
2
3if [ $# -ne 1 ] ; then
4 echo "Usage: $0 collect-name" >&2
5 exit 1
6fi
7
8graph_name=$1
9
10# The following line helps with runing a she-bang line of:
11# '#!/usr/bin/env ruby'
12# when the current script has been run from Perl under Cygwin
13#
14export PATH=/usr/bin:$PATH
15
[29430]16s-update --service http://localhost:3030/greenstone/update "DROP GRAPH <http://localhost:3030/greenstone/data/$graph_name>"
[28508]17
Note: See TracBrowser for help on using the repository browser.