Skip to content

Import followed by export returns different RDF data #3

@blcham

Description

@blcham

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions