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

Reply via email to