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

implement YAML-LD #5156

Open
VladimirAlexiev opened this issue Oct 23, 2024 · 1 comment
Open

implement YAML-LD #5156

VladimirAlexiev opened this issue Oct 23, 2024 · 1 comment
Labels
📶 enhancement issue is a new feature or improvement

Comments

@VladimirAlexiev
Copy link

Problem description

JSON-LD is nice, but has too much punctuation. YAML-LD is much easier to read and write by hand.
The YAML-LD CG (part of the JSON-LD CG) was started Jun 2022 json-ld/yaml-ld#3 and a CG spec has been available for about a year.
We already use it in two projects:

  • a research project where we parse building regulations and capture them in YAML-LD
  • a commercial project where we capture machine state transition rules in YAML-LD

Preferred solution

Implement YAML-LD parsing and serialization.

Things are very similar to JSON-LD, so it seems logical to extend Titanium (the improved fork that @hmottestad made).

Are you interested in contributing a solution yourself?

None

Alternatives you've considered

No response

Anything else?

No response

@VladimirAlexiev VladimirAlexiev added the 📶 enhancement issue is a new feature or improvement label Oct 23, 2024
@hmottestad
Copy link
Contributor

One issue with HASMAC JSON-LD (Titanium JSON-LD) is that the code is very tightly coupled with the Jakarta JSON Processing library. There is no intermediary format, so all the processions steps for things like framing or compacting manipulate the Jakarta JSON Processing objects.

We could write an adapter between YAML and the Jakarta JSON Processing library.

Or do an conversion of the YAML text into json text using Jackson and then feed that into HASMAC JSON-LD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📶 enhancement issue is a new feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants