JSON-LD export does not round trip through Import with repeated nodes #4563
Labels
Audience: Developer
The audience for the issue is a software developer
Priority: Low
Subject: Import/Export
Subject: JSON-LD
Type: Bug
Something isn't working
Describe the bug
Due to the framing algorithm used to turn the graph into JSON-LD, when a node in the graph appears multiple times, such as when a Concept is used in multiple places, the full information is only serialized once.
So the export comes out as:
But the import expects the
unit
to have the same construction in both cases.This matters if you want to take data out and put it back in again, or if you are writing an API consumer that expects it always to have the same construction. Both of which we intend to do, but not next week :)
In the JSON-LD 1.1 working group, this may be solved by at least one of three feature requests:
At which point the frame can be written and the development cost handed off to the PyLD library.
The text was updated successfully, but these errors were encountered: