source: main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/LOCAL-LOD-QUERY.sh@ 34743

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

Change to using clearer name for SQARQL file

  • Property svn:executable set to *
File size: 366 bytes
Line 
1#!/bin/bash
2
3input_sparql_query_file=${1:-fix-problem-songs--using-errata.sparql}
4
5sparql_query=`cat "$input_sparql_query_file"`
6
7echo ""
8echo "Sending:"
9echo " $input_sparql_query_file"
10echo ""
11echo "To local SPARQL endpoint:"
12echo " http://localhost:3030/greenstone/query"
13echo ""
14
15s-query --service http://localhost:3030/greenstone/query \
16 "$sparql_query $*"
Note: See TracBrowser for help on using the repository browser.