1

I have problem when i try to import my RDF file

org.eclipse.rdf4j.sail.SailException: Invalid IRI value

as in the image:

https://i.stack.imgur.com/Gcx6L.png

Peyman Mohamadpour
  • 17,954
  • 24
  • 89
  • 100
tshaqura
  • 21
  • 3

2 Answers2

1

It seems that you have error in the turtle file. One possible workaround is to disable the stop on error when uploading the file - http://graphdb.ontotext.com/documentation/enterprise/loading-data-using-the-workbench.html#import-settings which will upload try to upload all valid triples and skip all errors.

Konstantin Petrov
  • 1,058
  • 6
  • 11
1

Always validate your RDF files before loading, eg with Jena riot

Vladimir Alexiev
  • 2,477
  • 1
  • 20
  • 31
  • 1
    An online validator identified the error for me. Would be nice if the errors from GraphDB were a bit more informative in these cases, thereby not having to look for a third-party tool. – gaspanic Sep 29 '22 at 13:31