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

Import followed by export returns different RDF data #3

Open
blcham opened this issue Oct 4, 2020 · 0 comments
Open

Import followed by export returns different RDF data #3

blcham opened this issue Oct 4, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@blcham
Copy link
Collaborator

blcham commented Oct 4, 2020

When I import data to the editor and then export it I lose a lot of RDF triples. As a form developer, I want to be able to edit form but keep additional data intact.

I mean intact in sense of RDF not necessarily "intact as JSON-LD". Thus when I transform the imported JSON-LD file as well as the exported JSON-LD file, both should have the same number of lines (as they are an identical set of triples when ignoring RDF blank nodes).

In the attachment, there is my experiment that shows the issue. I did the following transformations:
$ rdfpipe -i json-ld -o nt form1.json > form1.nt
$ rdfpipe -i json-ld -o nt form1-after-import-export.json > form1-after-import-export.nt

Result:
$ wc -l form1.nt form1-after-import-export.nt
6829 form1.nt
1023 form1-after-import-export.nt
7852 total

form1-after-import-export.zip

@blcham blcham changed the title Import followed export returns different RDF data Import followed by export returns different RDF data Oct 4, 2020
@blcham blcham added the bug Something isn't working label Oct 4, 2020
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