Giter Site home page Giter Site logo

Comments (5)

gkellogg avatar gkellogg commented on June 18, 2024

There are some areas where a 1.1 processor, operating in 1.0 mode, will compact differently. Notably, compact IRI generation was seriously broken, and it's been "fixed" (see json-ld/json-ld.org#405).

Note that expanding and turning JSON-LD into N-Quads is not affected, only compaction for a feature that was arguably broken. (e.g., define sport as schema:sport and compact http://schema.org/sportsEvent, yielded sport:sEvent, when what was desired is schema:sportsEvent).

There is currently an issue on compacting literals without language using a language map (using the @none index), but this will likely resolve to require 1.1 mode to operate this way.

We can say that a 1.1 processor will "process" (as in expand) a 1.0 document the same as a 1.0 processor, but not, strictly speaking, that all transformations will generate exactly the same results.

from charter.

iherman avatar iherman commented on June 18, 2024

@gkellogg, I saw the changes, but I think it is way too detailed for a charter. Can we say something like

When processing legacy JSON-LD documents, JSON-LD processors generate the same expanded output (the only exception is related to an erratum in JSON-LD 1.0 (put reference here)).

Do we have to say anything in the charter about the compact case? I am not sure. The expanded form is the closest to an RDF equivalence, and that is it.

(AC members who will vote on the charter will not really know what we are talking about with the text that is currently in the latest commit...)

from charter.

gkellogg avatar gkellogg commented on June 18, 2024

but I think it is way too detailed for a charter

I just copied information from the Changes section, but sure, I'll change it.

from charter.

gkellogg avatar gkellogg commented on June 18, 2024

The expansion case is related to json-ld/json-ld.org#470, which hasn't been, but should be filed as an erratum. I'll update the text to point to the errata, but we need to get that filed somehow. Would that simply start as an email to [email protected]?

To be complete, we should also file json-ld/json-ld.org#405.

from charter.

iherman avatar iherman commented on June 18, 2024

Yes, we should follow the official errata procedure, which entails that email indeed...

from charter.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.