Looks like the reason was that it contained both ANSI and UTF-8 encoded international characters. When all UTF-8 it worked.
Although there wasn't such character near that error.

Can't post the data because confidentiality, but problem is sorted now thanks.



On 9.6.2017 14:40, [email protected] wrote:
Please show us the actual lines in the file.


ajs6f

Mikael Pesonen wrote on 6/9/17 6:54 AM:

Hi,

I'm inserting ~300 triplets from file like this:

apache-jena-fuseki-2.3.1/bin/s-update --service=http://xxx.lingsoft.fi:3030/ds/update --file=/tmp/sparql_insert_data_593a7d350f61f

But get error:

400 Lexical error at line 162, column 30. Encountered: <EOF> after : "\"lice" http://semantic-dev.lingsoft.fi:3030/ds/update

There isn't any error at that position (or anywhere in the triple data). And file should not be too big for an insert? Any idea what could be the cause?

Br,
Mikael


--
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