Which service of a dataset are you using to upload the data?
The log will have the request URL. If verbose, it has the HTTP headers
as well.
Jena does not sniff data - it uses the information in the request and
HTTP headers only.
From the request URL, it takes the "file extension".
If it is a HTML form upload, the contained file may have a file name and
that file extension is used.
Andy
On 23/01/2020 08:15, Luís Moreira de Sousa wrote:
Dear all,
nothing ever came up in the logs that provided a clue to the cause of this
error. However, the error was issued by a containerised instance with Fuseki
3.10. I have now tested the same Turtle datasets against version 3.12 and 3.13,
with those there is no error message and the datasets seem to get imported.
I will drop more information if I understand this better.
Thank you.
--
Luís
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, January 22, 2020 2:49 PM, Luís Moreira de Sousa
<[email protected]> wrote:
Hi there,
I am trying to load a few datasets created with Protege and saved in the Turtle
format. Whenever I try to load one of these datasets to Fuseki I get the
following error message:
Result: failed with message "SyntaxError: JSON.parse: unexpected character at line 1
column 1 of the JSON data"
Is Turtle really supported by Fuseki? How could I otherwise load a dataset
created with Protege?
Thank you.
--
Luís