re

I have installed ruby + fuseki-0.2.0-SOH.zip and can get the "query" shell
script working but not the "load" shell script:

chianti:~/Fuseki-0.2.0$ ./load
415 Must be application/x-www-form-urlencoded http://localhost:2021/testupdate
chianti:~/Fuseki-0.2.0$ cat load
#!/bin/sh
X='load <http://blogspace.com/swhack/chatlogs/rdflogs/2002-06-24.rdf> into 
<http://blogspace.com/swhack/chatlogs/rdflogs/2002-06-24.rdf>'
./s-update --service http://localhost:2021/testupdate "$X"

My ruby installation lives in /home/test/ruby so I had to change the first
line of all s-* scripts from

 #!/usr/bin/env ruby

to

 #!/usr/bin/env /home/test/ruby/bin/ruby

Any idea what is going wrong ?

cu,
brunni

On Tue, May 17, 2011 at 08:48:42PM +0100, Andy Seaborne wrote:
> load:
> -------------------------------------
> #!/bin/bash
> 
> X='load <http://blogspace.com/swhack/chatlogs/rdflogs/2002-06-24.rdf> 
> into <http://blogspace.com/swhack/chatlogs/rdflogs/2002-06-24.rdf>'
> 
> ../s-update --service http://localhost:2020/update "$X"
> -------------------------------------
> query:
> -------------------------------------
> #!/bin/bash
> 
> Q='select count(*) where { graph ?g { ?s ?p ?o }}'
> 
> ../s-query --service http://localhost:2020/sparql "$Q"
> 
> -------------------------------------
> 
> s-* are the scripts from Fuseki.
> http://openjena.org/repo/org/openjena/fuseki/0.2.0/fuseki-0.2.0-SOH.zip

-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail [email protected]
++  http://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel

Reply via email to