#!/bin/bash if [ $# -ne 2 ] ; then echo "Usage: $0 collect-name ttl-file" >&2 exit 1 fi graph_name=$1 # triplestore server setup to also add to 'default' graph automatically file_ttl=$2 # The following line helps with runing a she-bang line of: # '#!/usr/bin/env ruby' # when the current script has been run from Perl under Cygwin # export PATH=/usr/bin:$PATH s-post http://localhost:3030/greenstone/data $graph_name "$file_ttl"