Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding problem when uploading RDF to triplestore Blazegraph #6

Open
damorenov opened this issue Sep 22, 2023 · 0 comments
Open

Encoding problem when uploading RDF to triplestore Blazegraph #6

damorenov opened this issue Sep 22, 2023 · 0 comments
Assignees

Comments

@damorenov
Copy link

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

@fils fils self-assigned this Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants