Thanks again, Øyvind. I had another look at the issue and now noticed that
if you specify a graph, the upload works fine. So this is specifically an
issue with the empty "Dataset graph name". An empty Dataset graph name is
not rendered as the default graph name as selected by the Fuseki UI, and
the validation processor in the UI reports "Invalid graph name. Please
remove any spaces, and provide a valid URI (RFC 3986)" for at least N3
files.

Marco

On Tue, May 20, 2025 at 12:45 PM Øyvind Gjesdal <oyvin...@gmail.com> wrote:

> I'm not able to consistently make it fail or pass. Sometimes it looks like
> the graph parameter is not present, even if it was in the GUI. I now have
> the n3 file uploaded to multiple graphs when I inspect the output of the
> gsp, but have not been able to recreate it by steps in the UI, even if I
> use n3.
>
>
> May 20 13:31:09 fuseki-test.novalocal fuseki-server[704]: 13:31:09 INFO
> Fuseki          :: [158] Filename: test.n3,
> Content-Type=application/octet-stream, Charset=null => N3 : Count=2
> Triples=2 Quads=0
>
> May 20 13:31:10 fuseki-test.novalocal fuseki-server[704]: 13:31:10 INFO
> Fuseki          :: [158] 200 OK (80 ms)
>
> May 20 13:31:51 fuseki-test.novalocal fuseki-server[704]: 13:31:51 INFO
> Fuseki          :: [159] POST
> http://localhost:3030/test-db_all_write/data?graph=http://data.ub.uib.no/56
>
> May 20 13:31:51 fuseki-test.novalocal fuseki-server[704]: 13:31:51 INFO
> Fuseki          :: [159] Filename: test.n3,
> Content-Type=application/octet-stream, Charset=null => N3 : Count=2
> Triples=2 Quads=0
>
> May 20 13:31:51 fuseki-test.novalocal fuseki-server[704]: 13:31:51 INFO
> Fuseki          :: [159] 201 Created (135 ms)
>
> May 20 13:34:40 fuseki-test.novalocal fuseki-server[704]: 13:34:40 INFO
> Fuseki          :: [164] POST http://localhost:3030/test-db_all_write/data
>
> May 20 13:34:40 fuseki-test.novalocal fuseki-server[704]: 13:34:40 INFO
> Fuseki          :: [164] Filename: test.n3,
> Content-Type=application/octet-stream, Charset=null => N3 : Count=2
> Triples=2 Quads=0
>
>
>
> On Tue, May 20, 2025 at 10:02 AM Marco Neumann <marco.neum...@gmail.com>
> wrote:
>
> > Thank you for confirming this error Øyvind
> >
> > Best,
> > Marco
> >
> > On Tue, May 20, 2025 at 8:54 AM Øyvind Gjesdal <oyvin...@gmail.com>
> wrote:
> >
> > > Yes, that reproduces the error.
> > >
> > > same upload with:
> > >
> > > ```test.n3
> > >
> > > @prefix dc: <http://purl.org/dc/elements/1.1/>.
> > >
> > >
> > > <https://en.wikipedia.org/wiki/Tony_Benn>
> > >
> > >   dc:title "Tony Benn";
> > >
> > >   dc:publisher "Wikipedia".
> > >
> > > ```
> > >
> > > UI returns Triples uploaded: 2
> > >
> > > However no results when querying and no graph exists.
> > >
> > > Best regards,
> > > Øyvind
> > >
> > > On Tue, May 20, 2025 at 9:37 AM Marco Neumann <marco.neum...@gmail.com
> >
> > > wrote:
> > >
> > > > please try with .N3 files
> > > >
> > > > On Tue, May 20, 2025 at 8:35 AM Øyvind Gjesdal <oyvin...@gmail.com>
> > > wrote:
> > > >
> > > > > I'm having some trouble reproducing the bug,
> > > > > using apache-jena-fuseki-5.4.0.tar.gz:
> > > > >
> > > > > In the web-UI:
> > > > >
> > > > > > add data tab
> > > > > Dataset graph name: <http://example.org>
> > > > >
> > > > > example nt file with:
> > > > >
> > > > > ```
> > > > > <http://example.org/person/Alice> <http://xmlns.com/foaf/0.1/name>
> > > > > "Alice" .
> > > > > <http://example.org/person/Alice> <http://xmlns.com/foaf/0.1/knows
> >
> > <
> > > > > http://example.org/person/Bob> .
> > > > > <http://example.org/person/Bob> <http://xmlns.com/foaf/0.1/name>
> > > "Bob" .
> > > > > ```
> > > > > then click upload all.
> > > > >
> > > > > It works, and I can see both the graph and contents in the graph
> when
> > > > > querying after uploading in the web-form.
> > > > >
> > > > > Tried Firefox and Chrome successfully.
> > > > >
> > > > > What are the differences here?
> > > > >
> > > > > Best regards,
> > > > > Øyvind
> > > > >
> > > > > On Mon, May 19, 2025 at 6:19 PM Marco Neumann <
> > marco.neum...@gmail.com
> > > >
> > > > > wrote:
> > > > >
> > > > > > Just noticed a new error message in the UI when using the fuseki
> > > upload
> > > > > > form. Even of graph name is specified data is not uploaded (eg
> > Upload
> > > > > files
> > > > > > /MyGraph/data or /MyGraph/data?graph= MyGraph1  )
> > > > > > )
> > > > > >
> > > > > > [image: image.png]
> > > > > >
> > > > > > On Sun, Apr 27, 2025 at 8:04 PM Andy Seaborne <a...@apache.org>
> > > wrote:
> > > > > >
> > > > > >> On 27/04/2025 14:19, Marco Neumann wrote:
> > > > > >> > FYI, also just passed a build with JDK 24.0.1 and Maven 3.9.9
> > > > > >> >
> > > > > >> > Best,
> > > > > >> > Marco
> > > > > >>
> > > > > >> Thanks - good to hear.
> > > > > >>
> > > > > >> The more environments tested, the better.
> > > > > >>
> > > > > >> Also - a reminder to us to update the Jenkins "latest" job,
> which
> > > I've
> > > > > >> just done.
> > > > > >>
> > > > > >> The Apache Infrastructure team make early access versions of
> Java
> > > > > >> releases available on the Jenkins build service.
> > > > > >>
> > > > > >> https://ci-builds.apache.org/job/Jena/
> > > > > >>
> > > > > >> so there is a weekly build on Java-latest and Java21.
> > > > > >>
> > > > > >>      Andy
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > > > --
> > > > > >
> > > > > >
> > > > > > ---
> > > > > > Marco Neumann
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > >
> > > > ---
> > > > Marco Neumann
> > > >
> > >
> >
> >
> > --
> >
> >
> > ---
> > Marco Neumann
> >
>


-- 


---
Marco Neumann

Reply via email to