How would s-get know what extension is being used for an output file to which 
you are redirecting?

Try s-get as it is documented here:

http://jena.apache.org/documentation/fuseki2/soh.html

s-http VERB datasetURI graphName [file]

e.g.  s-put http://localhost:3030/dataset http://example/graph data.ttl

ajs6f

> On Dec 12, 2017, at 9:58 AM, Mikael Pesonen <[email protected]> 
> wrote:
> 
> 
> Looks like s-get outputs now turtle regardless of file name extension. Is 
> this changed at some point?
> 
> 
> On 12.12.2017 16:48, ajs6f wrote:
>> What is in dump.rdf? You don't show any of your actual data here. Is it JSON?
>> 
>> ajs6f
>> 
>>> On Dec 12, 2017, at 9:46 AM, Mikael Pesonen <[email protected]> 
>>> wrote:
>>> 
>>> 
>>> Hi,
>>> 
>>> I'm having touble with this again. Exporting graph from command line
>>> 
>>> apache-jena-fuseki-3.4.0/bin/s-get 'https://<HOST>:3030/ds/' <GRAPH> > 
>>> dump.rdf
>>> 
>>> and importing it In Fuseki web GUI gives
>>> 
>>> Result: *failed* with message "SyntaxError: JSON.parse: unexpected 
>>> character at line 1 column 1 of the JSON data"
>>> 
>>> 
>>> Tried exporting .ttl and .xml also.
>>> 
>>> This worked before with some older version.
>>> 
>>> Br,
>>> 
>>> -- 
>>> Lingsoft - 30 years of Leading Language Management
>>> 
>>> www.lingsoft.fi
>>> 
>>> Speech Applications - Language Management - Translation - Reader's and 
>>> Writer's Tools - Text Tools - E-books and M-books
>>> 
>>> Mikael Pesonen
>>> System Engineer
>>> 
>>> e-mail: [email protected]
>>> Tel. +358 2 279 3300
>>> 
>>> Time zone: GMT+2
>>> 
>>> Helsinki Office
>>> Eteläranta 10
>>> FI-00130 Helsinki
>>> FINLAND
>>> 
>>> Turku Office
>>> Kauppiaskatu 5 A
>>> FI-20100 Turku
>>> FINLAND
>>> 
> 
> -- 
> Lingsoft - 30 years of Leading Language Management
> 
> www.lingsoft.fi
> 
> Speech Applications - Language Management - Translation - Reader's and 
> Writer's Tools - Text Tools - E-books and M-books
> 
> Mikael Pesonen
> System Engineer
> 
> e-mail: [email protected]
> Tel. +358 2 279 3300
> 
> Time zone: GMT+2
> 
> Helsinki Office
> Eteläranta 10
> FI-00130 Helsinki
> FINLAND
> 
> Turku Office
> Kauppiaskatu 5 A
> FI-20100 Turku
> FINLAND
> 

Reply via email to