json-ld / yaml-ld

CG specification for YAML-LD and UCR
https://json-ld.github.io/yaml-ld/spec
Other
22 stars 8 forks source link

Convert JSON-LD to YAML-LD using standard YAML libraries #12

Open pchampin opened 2 years ago

pchampin commented 2 years ago

As a developer, I want to be able to convert JSON-LD documents to YAML-LD by simply serializing the document using any standard YAML library, So that the resulting YAML is valid YAML-LD, resolving to the same graph as the original JSON-LD.

Conversely, I would be very surprised (and annoyed) if such a simple conversion did not work.

This is why, although I do not oppose $-keywords (#11) for authoring YAML-LD from scratch, I want @-keywords to be also supported.

gkellogg commented 2 years ago

Having worked with this, and some standard YAML libraries in Ruby, I think we want to tread lightly and reduce requirements to basic/expanded profile considerations:

In the Basic Profile:

In the Extended Profile:

These should allow the simple use of existing libraries for turning the Internal Representation into YAML with standard controls.

gkellogg commented 2 years ago

This issue was discussed on the Aug 03 meeting.

gkellogg commented 2 years ago

This issue was discussed in the August 17th meeting.

General feel that it can be merged, but more detail is still necessary.

(Really for #70, duplicated there.)