W3C

– DRAFT –
JSON-LD WG

13 December 2023

Attendees

Present
anatoly-scherbakov, bigbluehat, dlehn, dlongley, gkellogg, niklasl, pchampin, TallTed
Regrets
-
Chair
bigbluehat
Scribe
anatoly-scherbakov, gkellogg, pchampin

Meeting minutes

bigbluehat: we are going to discuss the future of the WG, future publications and the road ahead

Announcements and Introductions

bigbluehat: Any announcements or introductions?

gkellogg: YAML-LD Final Report was published yesterday. Posted on CG blog on it.

manu: hello and greetings!

dlongley: great to see everyone!

Updates from the CG

bigbluehat: any further updates from the CG for Dave and Manu?

gkellogg: CG was working on YAML-LD, and driving JSON-LD issues.

gkellogg: Latest ones revolve around `@nest` and scoped contexts.

gkellogg: We introduced CBOR-LD a few weeks ago and discussed it a bit last week. Looking forward to hear about DigitalBazaar's work on that.

bigbluehat: thanks! A lot of work has accumulated to the point that we're looking into formalizing it.

pchampin: I discussed with colleagues about Linked Data in WoT scenarios; they're interested in CBOR-LD and might join the WG.

niklasl: we've been talking about JSON-LD-Star and RDF-Star and thinking how to integrate these.

Plans/desire to publish Best Practices doc, YAML-LD, and a CBOR-related specification

bigbluehat: Let's start with low-hanging fruit

Best Practices

<gkellogg> https://w3c.github.io/json-ld-bp/

bigbluehat: the question about Best Practices has been there for a while. Do we need to post it as a separate note?

<bigbluehat> current charter: https://www.w3.org/2023/01/json-ld-wg-charter.html

pchampin: I agree; I need to check with the charter and not everyone might agree

gkellogg: there was never a resolution to publish the BP as a Note. It shows the last published version and that leads to a 404. Might be a problem with ReSpec

gkellogg: we can certainly publish it as a Draft Note, even if it is incomplete

gkellogg: there is also a Best Practices document in the CG but it's been removed from the UI

bigbluehat: do they differ?

gkellogg: they're different

bigbluehat: maybe some resolving is in order. The Charter only spells out maintenance of JSON-LD normative documents and also allows non-normative documents

bigbluehat: to make YAML-LD and CBOR-LD normative we need to move formally as a group to re-charter

YAML-LD

anatoly-scherbakov: nice to meet Manu and Dave
… is it ok for the group to be named JSON-LD if we extend the scope to YAML-LD, CBOR-LD... ?
… Should we find an Umbrella term?

<manu> I agree with Anatoly, we should shift the WG name given the expanded scope.

<dlongley> JSON-LD and others! WG :)? ... JSON-LD and Derivatives WG (doesn't sound as friendly)

anatoly-scherbakov: Also other formats such as CSV, Parquet... could be addressed.

manu: agree with Anatoly, makes sense to rename the group to focus on expanded scope

<dlongley> Expanded JSON-LD Universe WG

gkellogg: there is a standard for CSV for LD, its ten years old and has moderate use

<bigbluehat> https://www.w3.org/TR/tabular-data-primer/

gkellogg: "tabular data on the web" it is. It probably needs to be revisited, needs periodic updates. I think though that CBOR is definitely inspired by JSON, YAML and JSON developed together

gkellogg: it might be confusing to try to come up with some other name (Linked Data Working Group? - that is too broad maybe)

<dlongley> JSON-LD Umbrella WG

gkellogg: but we can probably stick with the JSON-LD as group name as we're working on things closely related to JSON-LD

bigbluehat: agree, and let's move on though

niklasl: I agree this is a tricky question; I am leaning towards what Gregg said. One the reasons of JSON-LD success is because it is RDF channeled through JSON

<gkellogg> CSV on the web came out before JSON-LD 1.0 was standardized

niklasl: CSV on the Web saw lower adoption. Something about JSON is very useful, I do not know how to call it more abstractly so that it rings as well as it does now

niklasl: there's something in the simplicity of JSON-LD itself

<gkellogg> INFRA-LD

niklasl: leaving JSON behind we miss the point how we got here

<niklasl> "Not-XML-LD"

<dlongley> JSON-LD and Friends

pchampin: My own opinion: I agree Tabular Data on the Web would deserve a refresh. Having one group for all kinds of data formats wouldn't be optimal though. We are focusing on JSON, one particular shape of data

<manu> agree that we need to focus in the new WG.

<bigbluehat> +1

pchampin: other concerns, other languages, should probably be addressed by other groups

pchampin: JSON-LD WG should care about JSON and very similar formats

<dlongley> +1 that JSON-LD is the unifier / north star / commonality

bigbluehat: thanks everyone! Let'

bigbluehat: thanks everyone! Let's keep JSON in focus

bigbluehat: CG report for YAML-LD published, thanks Gregg! what's the future of this format in the WG?

<dlongley> +1 to YAML-LD going standards track

manu: I support YAML-LD to go to Standards Track, as long as someone can help moving it through the process

manu: it provides a signal that we're onto something, these patterns are useful in other syntaxes, it allows the RDF data model to shine

manu: in the other syntaxes you can express the same data model: JSON-LD - YAML-LD - CBOR-LD and back, that's a good thing

manu: we should take this to Standards Track. What about implementations?

anatoly-scherbakov: the first implementation of YAML-LD is probably gkellogg's
… I'm developing a Python implementation, based on PYLD, alpha stage at this point.
… It passes the YAML-LD test suite. My next step is to run the JSON-LD test suite.
… I'm using it in a little project of mine: browser and knowledge workspace for LD, mostly based on YAML-LD.

niklasl: this gets us two baseline implementations. Moving through WG will be about that. Any other notices about implementations?

CBOR-LD & JSON-LD in CBOR

<gkellogg> https://w3c.github.io/json-ld-cbor/

bigbluehat: let's move on to CBOR-LD. The questions about it are centered about progressing CBOR-LD spec to match implementations

<gkellogg> https://digitalbazaar.github.io/cbor-ld-spec/

bigbluehat: what level of compression should we use?

<manu> Introduction to CBOR-LD: https://lists.w3.org/Archives/Public/public-json-ld-wg/2020Jul/att-0004/Introduction_to_CBOR-LD.pdf

<dlongley> i believe there are three implementations, one in Rust, one in Java

manu: putting the link about CBOR-LD abortions. There are presentations from 2020 we published, they go over the basics. CBOR-LD has 2-3 implementations so far: JS, Rust and something else

<dlongley> one in JavaScript

manu: primary reason was Verifiable Credentials, we had a program in the US with the National Association of Convenience Stores about digital age verification program

manu: the goal was privacy preserving age verification

manu: so that we can prove your age without disclosing any other PII

manu: that was in 2018-2019. One of the things they needed was ability to scan the verifiable credential which was a JSON-LD document

manu: thus we needed a very high density bar code so that the old hardware can scan and handle it, we needed to get a JSON-LD document down to 350 bytes

manu: that's why CBOR-LD came into existence, we needed to compress digitally signed JSON-LD so that it could fit into a QR code. We're now in production

manu: about 4-6 months ago, California department of Motor Vehicles launched their digital driver's license which includes a CBOR-LD QR code

manu: in California you can now show that QR code which is CBOR-LD and prove your age

anatoly-scherbakov: Well IMHO that's really super cool

manu: the rollout is still happening but I wanted to make a point that it is already in production and in practical use

manu: we put a version number on the version that's out there so that W3C WG can introduce breaking changes in a new version

manu: spec is not in a good shape, it is out of date from the implementation

manu: we've talked about the plan to merge the changes in current spec and the reality of implementations

manu: we have an uncompressed mode in the spec. Even that saves a number of bytes, but compression is what the real users are interested in

manu: we also are working with governments about integrating CBOR-LD into their digital ID systems

manu: that's kind of where we are with CBOR-LD

gkellogg: I think the two different documents address different things. Pierre-Antoine's expresses basic JSON with CBOR compatible with JSON-LD. DigitalBazaar's version is mostly about how you provide that with semantic compaction.

gkellogg: YAML-LD sets a pattern we probably want to stick with — it is mostly API centric

gkellogg: it mostly involves transformation between YAML and JSON-LD Internal Representation. Compression doesn't happen in CBOR, it can happen in Internal Representation

gkellogg: A concern I had: CBOR-LD 1.0 version doesn't have a parallel in core CBOR

pchampin: Gregg summarized this very well

dlongley: about magic numbers: current implementations have tags indicating their CBOR-LD and version numbers

dlongley: implementations support that; not sure if spec reflects it

gkellogg: the current spec doesn't detail that. Not sure how the tag structure with JSON-LD in it extracted from a CBOR document is distinguished against any other CBOR structure

manu: CBOR has a registry, tags are registered there, what we need is to request new numbers in the registry which are granted on first come first serve basis. You don't need an official structure to claim them

manu: if we're an official WG it makes it even easier to register our signature bytes in the CBOR tags registry

bigbluehat: do we want to move forward as chartered, keeping YAML-LD as a Note or a Draft Note, and bringing CBOR-LD spec to the status of a Note?

bigbluehat: or we feel we are ready to bring these to Standards Track sooner and recharter the WG at this point?

rechartering?

gkellogg: I think there is sufficient implementation done for both to move to the Recommendation Track

<dlongley> +1 to gregg

gkellogg: I do not know if publishing CBOR-LD as a Note makes a difference. Bringing it to Rec Track will improve visibility and hopefully drive participation

gkellogg: Updated Charter should also help other things, like fostering JSON-LD specs

gkellogg: Charter doesn't specifically need to mention RDF-Star

bigbluehat: currently the charter only calls for maintenance, i.e. non breaking changes

pchampin: errata is appropriate; not sure how breaking a change might be to fix a bug

pchampin: the Note track and the Rec track are meant for different kinds of documents

pchampin: it would be a pushback if we post a spec as a Note and then move it to Rec

pchampin: it is Rec material. Falling back to Note track if we are not allowed to push it to Rec wouldn't work. It is a document meant to be a Recommendation, not a Best Practices, not a Note

pchampin: even if we could, having it on Note track can do it better than a CG report

pchampin: we will continue working on it in the CG of course until the WG is allowed to take it to Rec track

manu: we want to move CBOR-LD out of digiatlbazaar github repo and move it to JSON-LD Github repo

manu: can we do that? secondly, CBOR-LD is way behind where YAML-LD spec is. Problem is, many of us are heads down in Verifiable Credentials WG trying to get about five specs to Rec track

manu: we do not have much bandwidth to work on this spec. Maybe it becomes easier next summer

manu: we're discussing going into production with CBOR-LD systems with national and state governments. They don't necessarily want to wait until the standard is done

manu: but they want an acknowledgement of W3C that W3C is looking forward to standardize CBOR-LD

manu: CBOR-LD as a Note doesn't make a lot of sense, we'd like it to go to Rec track

manu: a new WG charter mentioning CBOR-LD could be a signal to the governments and buy us a bit of time to get the spec into proper shape

manu: YAML-LD is further along and we could recharter the group putting both in scope, and focus on YAML-LD first then switching to CBOR-LD later

manu: and we only have 6 months to get CBOR-LD done

<pchampin> +1

manu: publishing a new charter would be a positive signal to the community that we're working on these

<niklasl> +1

niklasl: sounds like a good idea. I think what we define should be very minimalistic, kind of glue code defining the serialization.

niklasl: this could also say that JSON-LD is beyond JSON. Contextual Compaction of Linked Data with a kind of Framing is the overarching theme here

bigbluehat: suggesting we take an action today to bring CBOR-LD into CG space

bigbluehat: let's start its life there, it will need much discussion and activity

gkellogg: nominally it's a CG action but we are highly overlapped and we can resolve to do that

<manu> agree, gkellogg -- we should write all of the concerns / issues we have down into the issue tracker

gkellogg: manu mentioned that there are open issues with the spec. Would be great if github issues reflect those. this will make it easier for people to contribute

<bigbluehat> PROPOSAL: Bring Digital Bazaar's CBOR-LD 1.0 editor's draft https://digitalbazaar.github.io/cbor-ld-spec/ into the JSON-LD CG for future work.

<manu> +1

+1

<gkellogg> +1

<dlongley> +1

<TallTed> +1

<niklasl> +1

<pchampin> +1

<bigbluehat> +1

<dlehn> +1

RESOLUTION: Bring Digital Bazaar's CBOR-LD 1.0 editor's draft https://digitalbazaar.github.io/cbor-ld-spec/ into the JSON-LD CG for future work.

<TallTed> technically, "adopt Digital Bazaar's CBOR-LD"

bigbluehat: resolved. David you apparently hold the super powers, can you do the actual moving please?

dlehn: eventually it will be moved to W3C and we will have to move it again?

gkellogg: yes if the WG is rechartered. We'll move the repos from the CG to the WG github org, but this might take months

dlehn: this will mean broken links

bigbluehat: we can't get it into W3C repo now because it is CG material

bigbluehat: there is an ambient consensus about rechartering

gkellogg: let's do a proposal

<bigbluehat> PROPOSAL: Recharter the JSON-LD WG to focus on YAML-LD and CBOR-LD

<manu> +1

+1

<dlongley> +1

<gkellogg> +1

<pchampin> +1

<bigbluehat> +1

<TallTed> +1

<dlehn> +1

<niklasl> +1 (not excluding RDF-star alignment?)

RESOLUTION: Recharter the JSON-LD WG to focus on YAML-LD and CBOR-LD

bigbluehat: this resolution doesn't need to be exclusive, it just signals we want to recharter

bigbluehat: we are still continuing the maintenance of JSON-LD core specs and other things

bigbluehat: we'll likely not have another CG call before the end of the year, we'll get back to this in January

<bigbluehat> Zakim: adjourn meeting

<bigbluehat> Zakim: end meeting

Summary of resolutions

  1. Bring Digital Bazaar's CBOR-LD 1.0 editor's draft https://digitalbazaar.github.io/cbor-ld-spec/ into the JSON-LD CG for future work.
  2. Recharter the JSON-LD WG to focus on YAML-LD and CBOR-LD
Minutes manually created (not a transcript), formatted by scribe.perl version 221 (Fri Jul 21 14:01:30 2023 UTC).

Diagnostics

Succeeded: i/scribe+/scribe: anatoly-scherbakov

Succeeded: s/Best Practises/Best Practices

Succeeded: s/niklasl: let's move/bigbluehat: let's move

Succeeded: s/Well IMHO/anatoly-scherbakov: Well IMHO

Succeeded: s/rssagent, make logs public//

Succeeded: s/rssagent, generate minutes//

Succeeded: s/dlongley, you wanted to also say hi//

Succeeded: s/dlongley, you wanted to say that current implementations have tags and versions//

Succeeded: s/dlongley: this will mean/dlehn: this will mean/

Succeeded: s/manu, you wanted to speak to level of effort for CBOR-LD and current production trajectory//

Maybe present: manu

All speakers: anatoly-scherbakov, bigbluehat, dlehn, dlongley, gkellogg, manu, niklasl, pchampin

Active on IRC: anatoly-scherbakov, bigbluehat, dlehn, dlongley, gkellogg, manu, niklasl, pchampin, TallTed