Adding an n-triple file fails with an error

Hi all,
I have generated an n-triple that i'd like to add to a new database. However when performing the action I get an error:
There was a fatal failure during preparation of uuid org.openrdf.rio.RDFParseException: Expected '.', found: t [line nnnn]
When removing this line I get the same error, however this time it is line nnnn-1.

The lines nnnn and nnnn-1:
https://www.drugbank.ca/drugs/DB12781 https://www.drugbank.ca/drugs/drug-interaction-description "The therapeutic efficacy of Balaglitazone can be decreased when used in combination with Goserelin." .
https://www.drugbank.ca/drugs/DB00014 https://www.drugbank.ca/drugs/drug-interaction https://www.drugbank.ca/drugs/DB12991 .

Have any of you an idea what causes this error?

Best,
Erik

I’ll take a look but often with a parsing error you need to look a couple of lines above the parsing error. Sometimes you be missing the closing quote or something like that and the parser thinks it’s just a big literal until it hits the opening quote on a later literal so the error isn’t located where it identifies the parse error. Or it will be something similar to that.

Ah, indeed. I have a big literal that contains unescapted quotes itself. This triple was a few entries later than where the error was found. But at least I learned that I should clean my data better.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.