Hi Rob,
so I make a dump
apache-jena-fuseki-3.4.0/bin/s-get https://localhost:3030/ds/ <graph> >
dump.rdf
then edit it and would like to put back
s-put http://localhost:3030/ds/data <graph> dump.rdf
Editing XML is not possible with our project so that's why this format.
Br
On 2.10.2017 13:01, Rob Vesse wrote:
It’s not really clear what you are asking here, sounds like you have a pipeline
of steps so please show your steps and explain what the problem is.
Historically RDF/XML was the only official serialisation so it does tend to
be the default throughout Jena
Rob.
On 02/10/2017 10:53, "Mikael Pesonen" <[email protected]> wrote:
Still having problems. Looks like it's not possible to export rdf, edit
it, and import back? Jena assumes all input is XML?
So how can I import back rdf that is got from s-get? I don't know how to
code Java.
Thank you.
On 26.9.2017 18:22, Mikael Pesonen wrote:
>
> Thanks! Missed the sentence The file name extension determines the
> HTTP content type.
>
>
>
> On 26.9.2017 18:09, [email protected] wrote:
>> Looks like it is trying to parse it as RDF/XML, which means that
>> s-put is trying to send it as such.
>> Are you using an appropriate filename extension? See:
>>
>> https://jena.apache.org/documentation/fuseki2/soh.html#soh-sparql-http
>>
>> "file is needed for PUT and POST. The file name extension determines
>> the HTTP content type."
>>
>> ajs6f
>>
>> Mikael Pesonen wrote on 9/26/17 11:04 AM:
>>>
>>> Related to this, when trying to s-put triple data back to jena,
>>> which is gotten from s-get, I get
>>>
>>> 500 Parse error: [line: 1, col: 8 ] Element or attribute do not
>>> match QName production: QName::=(NCName':')?NCName.
>>>
>>> First 4 rows:
>>>
>>>
<https://resource.lingsoft.fi/3c660540-f4ce-4d6e-86d4-7ed0bd30329a/c_b4be01817593dda9efe6a87bcdee98ef>
>>>
>>> a <http://www.w3.org/2004/02/skos/core#Concept> ;
>>> <http://purl.org/dc/elements/1.1/source>
>>> "lait" ;
>>>
>>> Br,
>>>
>>>
>>> On 25.9.2017 17:14, [email protected] wrote:
>>>> According to:
>>>>
>>>>
https://github.com/apache/jena/blob/master/jena-fuseki2/apache-jena-fuseki/bin/s-get#L29
>>>>
>>>>
>>>> that remains a TODO. Maybe file a ticket?
>>>>
>>>> ajs6f
>>>>
>>>> Mikael Pesonen wrote on 9/21/17 9:20 AM:
>>>>>
>>>>> Sorry if this is documented somewhere but could not find info on
>>>>> how to change the output format of s-get command line tool.
>>>>>
>>>>> 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