Skip to content

Encoding problem when uploading RDF to triplestore Blazegraph #6

@damorenov

Description

@damorenov

We use Gleaner CLI and follow the procedure at https://book.oceaninfohub.org/indexing/cliDocker/index.html with Minio Client and minio2blaze script. Data for indexing are being encoded in UTF-8 and are generated dynamically, for example http://20.124.232.205:8081/api/json?projectId=2, and we have a sitemap with all the projects for indexing at http://20.124.232.205/pr/sitemap.xml (test version).

Gleaner is working fine and with minio client we checked Spanish accents:
image

But when uploading RDF to the triplestore the accents are converted to "??" characters in the blazegraph client and the endpoint:
image

We tried to set the UTF-8 encoding in the minio2blaze (curl -X POST -H 'Content-Type:text/x-nquads; charset=UTF-8'), create a temporary file to save the stdin of the minio client and secure the UTF encoding and then pass it to the triplestore and finally, changing the JAVA_OPTS in gleaner-IS.yml to include some flags by a comment on blazegraph's github (blazegraph/database#206 (comment)), but we are unable to display any accents.

Thanks in advance

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions