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

Exporting with language tags #199

Open
Tracked by #145
fbrckman opened this issue Sep 5, 2019 · 0 comments
Open
Tracked by #145

Exporting with language tags #199

fbrckman opened this issue Sep 5, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@fbrckman
Copy link
Collaborator

fbrckman commented Sep 5, 2019

Exporting to Turtle with language tags does not yield the expected result.

Result:

<http://www.w3.org/ns/shacl#name> "given name"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>;

Expected:

<http://www.w3.org/ns/shacl#name> "given name"@en;

In the JSON-LD representation, the language tags are saved as they should be:

{
    "@value": "given name",
    "@language": "en"
}

resolveRDFJSTerm(quads[i].object) in n3Serializer.serialize() yields the following:

"\"given name\"^^http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
@fbrckman fbrckman added the bug Something isn't working label Sep 5, 2019
@fbrckman fbrckman mentioned this issue Sep 9, 2019
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant