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 |
|
---|
3 | graph=${1:-eurovision-errata}
|
---|
4 | input_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 |
|
---|
13 | echo ""
|
---|
14 |
|
---|
15 | echo "Ingesting locally into graph:"
|
---|
16 | echo " $graph"
|
---|
17 | echo ""
|
---|
18 | echo "The Turtle TTL file:"
|
---|
19 | echo " $input_ttl_file"
|
---|
20 |
|
---|
21 | echo ""
|
---|
22 |
|
---|
23 | s-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.