source: main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/LOCAL-LOD-PUT-GRAPH-TTL.sh@ 34945

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

Make name of script more consistent with other ones in this folder

  • Property svn:executable set to *
File size: 689 bytes
Line 
1#!/bin/bash
2
3graph=${1:-eurovision-errata}
4input_ttl_file=${2:-eurovision-errata.ttl}
5
6#s-put http://localhost:3030/greenstone/data default "$input_ttl_file"
7
8# 'default' doesn't seem to have the wanted effect
9# => specifying 'eurovision' as collecion name
10# => from earlier development work, Jena config settings showed this to
11# also automatically add stored tripples in the default graph
12
13echo ""
14
15echo "Ingesting locally into graph:"
16echo " $graph"
17echo ""
18echo "The Turtle TTL file:"
19echo " $input_ttl_file"
20
21echo ""
22
23s-put http://localhost:3030/greenstone/data "$graph" "$input_ttl_file"
24
25
26
27# s-query --service http://localhost:3030/greenstone/query 'SELECT * {?s ?p ?o}'
Note: See TracBrowser for help on using the repository browser.