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,


Reply via email to