Skip to content

"Framing" is an unfortunate choice of verb #13

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

Closed
adrianhopebailie opened this issue Sep 10, 2018 · 4 comments
Closed

"Framing" is an unfortunate choice of verb #13

adrianhopebailie opened this issue Sep 10, 2018 · 4 comments

Comments

@adrianhopebailie
Copy link

In reviewing the 1.1 spec I was surprised to discover that "framing" is not the process of surrounding JSON-LD data with a "frame". In my experience this is the most common definition of framing in a technical context.

i.e. Using special delimiters or length prefixes around a chunk of data that "frames" that data and differentiates one chunk from another when streamed between processes.

This is the definition I am accustomed to and I wonder if I am alone in being surprised that JSON-LD framing appears to be used to define a structure as opposed to a frame.

@gkellogg
Copy link
Member

@dlongley is there a paragraph we could add to the introduction that would motivate the use of the term "framing" to describe this process?

@dlongley
Copy link
Contributor

dlongley commented Sep 23, 2018

Maybe something along these lines (which would also tie it into Adrian's concerns):

Using delimiters around a chunk of data is known as "framing". JSON-LD uses JSON delimiters such as { and } to separate statements about a particular subject. JSON-LD also allows subjects to reference other subjects through the use of their identifiers, expressed as strings.

However, given that JSON-LD represents a graph of information, there is more than one way to frame the statements about several related subjects into a whole document. In fact, a graph of information can be thought of as a long list of independent statements (aka "triples" or "quads") that are not bundled together in any way.

The JSON-LD Framing API enables a developer to specify exactly how they would like data to be framed, such that statements about a particular subject are bundled together, delimited via { and }, and such that the subjects they relate to "nest" into a particular tree structure that matches what their application expects.

@gkellogg
Copy link
Member

Excellent text, Dave, thanks!

@azaroth42
Copy link
Contributor

Thanks @dlongley, @gkellogg.

Per the WG resolution, we cannot change the name at this stage, but can add text explaining why that name was chosen. This issue can thus be closed when #17 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants