15:27:19 RRSAgent has joined #json-ld 15:27:19 logging to https://www.w3.org/2019/08/02-json-ld-irc 15:27:20 rrsagent, set log public 15:27:20 Meeting: JSON-LD Working Group Telco 15:27:20 Date: 2019-08-02 15:27:20 Agenda: https://lists.w3.org/Archives/Public/public-json-ld-wg/2019Aug/0000.html 15:27:20 ivan has changed the topic to: Meeting Agenda 2019-08-02: https://lists.w3.org/Archives/Public/public-json-ld-wg/2019Aug/0000.html 15:27:21 Regrets+ azaroth, workergnome, dlongley, hsolbrig, simonstey 15:27:21 Chair: bigbluehat 15:35:34 rubensworks has joined #json-ld 15:41:58 gkellogg has joined #json-ld 15:53:49 ajs6f has joined #json-ld 15:56:29 present+ 15:57:47 gkellogg has joined #json-ld 15:59:51 present+ 16:00:08 present+ ajs6f 16:00:33 timCole has joined #json-ld 16:00:52 present+ 16:01:03 present+ 16:01:12 ajs6f_ has joined #json-ld 16:01:14 present+ 16:03:46 present+ 16:04:19 Topic: Scribe Selection 16:04:38 scribe+ rubensworks 16:04:52 Topic: Approve minutes of previous call: https://www.w3.org/2018/json-ld-wg/Meetings/Minutes/2019/2019-07-26-json-ld 16:05:25 PROPOSE: minutes look awesome 16:05:26 +1 16:05:27 +1 16:05:28 +0 16:05:30 +1 16:05:35 +1 16:05:38 RESOLVED: minutes look awesome 16:06:24 Topic: Announcements / Reminders 16:06:31 Subtopic: Standing TPAC reminder 16:06:48 bigbluehat: We are going to get together in Japan next month. 16:07:05 q+ 16:07:08 bigbluehat: Make sure to book your room as they are getting full. Registration prices are going up sept 1st. 16:07:12 ack ivan 16:07:22 -> https://docs.google.com/document/d/1P8ao0YPBPEqKF1bn9eSxsqovF_F__6AYHAqEWzbDbLA/edit draft agenda 16:07:49 ivan: I made a page for an agenda draft. 16:08:34 bigbluehat: How many of us will be there? 6? 16:09:16 ivan: Registration list shows 3 people: Sebastien, Gregg and myself 16:09:37 ivan: We have nine observers. 16:09:48 -> https://www.w3.org/register/tpac2019/registrants#meeting-85 registration list 16:10:44 bigbluehat: TPAC is good for interfacing with other groups using JSON-LD, such as verifiable credentials. 16:11:34 Subtopic: DID WG Charter 16:11:51 https://www.w3.org/2019/08/did-wg-charter.html 16:11:59 ivan: Vote on DID if you are a member. 16:12:33 ivan: I will handle F2F for that in Japan. 16:12:53 Topic: Issues 16:13:02 Subtopic: Indexing with `@includes` 16:13:24 bigbluehat: We made good progress on this last week. 16:13:32 s/`@includes`/`@included` 16:13:38 gkellogg: It is `@included` now. 16:13:56 https://jsonapi.org/ 16:13:58 gkellogg: `@included` comes from the JSON.API spec, and we are adopting this. 16:14:27 gkellogg: Right now it's just a container for collecting node objects that don't have a direct rel with the node in which they are contained. 16:14:31 -> https://github.com/w3c/json-ld-syntax/pull/208 issue PR 16:15:04 -> https://github.com/w3c/json-ld-syntax/issues/19 issue itself 16:15:06 gkellogg: There's been some exchange on the issue highlighting a bush-like use for included. 16:15:57 gkellogg: In JSON-LD 1.0 the top-level graph is used to collect nodes is a corner case. Everywhere else where graphs are used are seen as named graph. 16:16:04 gkellogg: Included doesn't carry that bagage. 16:16:31 gkellogg: So `@included` can be used in favor of `@graph` in these places. 16:16:59 q+ 16:17:02 ack bigbluehat 16:17:08 gkellogg: In 1.0, you can't have a graph name being a property of another node. With `@included` you can. 16:17:39 gkellogg: We can't use `@graph` to define a default graph. 16:17:51 gkellogg: Except when it is the only property in a top-level object. 16:18:14 bigbluehat: How does the actual inclusion take place? 16:18:54 gkellogg: The shape is similar to JSON.API. The value is seen as an array of node objects. If you have a node that is a value of a prop.... 16:19:53 q+ 16:20:23 gkellogg: Needed in jsonapi for node references that are not included in the main document as references, but should be included aside. 16:20:42 gkellogg: Included blocks can be nested, and will be flattened out when done. 16:20:57 gkellogg: You won't compact back to included blocks after flattening. 16:21:14 gkellogg: You can use included in a frame and have it match on diff subjects. 16:21:44 gkellogg: The name `@included` is out of sync with other keywords. 16:21:54 gkellogg: Dave suggested `@include` 16:22:01 gkellogg: Just like jsonapi 16:22:04 ack ivan 16:22:18 ivan: It's becoming bikeshedding 16:22:56 ivan: I would go further than what you did. Ex 1.1.1 and 1.1.2 (bushes) should be removed. 16:23:09 ivan: We should convince people to not use those forms anymore. 16:23:20 https://pr-preview.s3.amazonaws.com/w3c/json-ld-syntax/pull/208.html#example-111-using-graph-to-explicitly-express-the-default-graph 16:23:58 gkellogg: By removing these we won't lose anything. We would have to remove everything after the note. 16:24:16 https://pr-preview.s3.amazonaws.com/w3c/json-ld-syntax/pull/208.html#example-103-simple-data-with-several-top-level-nodes 16:25:15 gkellogg: Also, we may want to reverse example 103 and 104. To clarify writing bushes. 16:25:34 ivan: Referring to `@graph` is misleading, as it has not been explained yet there. 16:25:48 gkellogg: We may want to change an example in the `@graph` section then. 16:25:55 q+ to ask about flattened representation 16:26:05 gkellogg: We can also just leave that out and use it in the best practises document. 16:26:06 ack bigbluehat 16:26:06 bigbluehat, you wanted to ask about flattened representation 16:26:07 ivan: Yes 16:26:51 bigbluehat: Flattened representation will still contain `@graph`, so readers will have to know what it does. 16:27:14 bigbluehat: This plumbing shift is significant. 16:27:43 q+ 16:27:43 bigbluehat: This is going to cause issues for the json people that are operating on the flattened form. 16:28:33 ack gkellogg 16:28:40 q+ to ask about the actual inclusion bit 16:28:41 gkellogg: If you flatten with a context, it would introduce a graph to contain it. This would change the shape dramatically. 16:28:57 gkellogg: Same with framing. In 1.1 we don't use an `@graph` at the top level if not needed. 16:29:08 gkellogg: We could change the algo to use included instead. 16:29:25 gkellogg: But we may not want to do that. 16:29:47 q+ 16:29:50 gkellogg: So do we want to replace the main usage of `@graph` to `@included`. 16:29:57 ack bigbluehat 16:29:57 bigbluehat, you wanted to ask about the actual inclusion bit 16:30:02 s/\./?/ 16:32:27 gkellogg: Included allows embedded nodes to go to one place. Like in jsonapi, they don't want to include referenced things inline, but only a reference to an included block. 16:33:03 bigbluehat: Useful for reducing payload size. And only including referenced things once. 16:33:11 bigbluehat: These are just IRI references? 16:34:14 ack ivan 16:34:24 gkellogg: There is no magic going on. 16:34:34 q+ to ask about the API layer--which is where I'd wondered about the "magic" ;) 16:34:48 ivan: In JSON-LD it used to be hard to do these indexed references. 16:35:01 ivan: The bush features can now be expressed in two different ways. 16:35:06 ivan: These things happen. 16:35:14 ivan: It's a matter of taste which one you prefer. 16:35:24 ivan: I personally always hated graph for representing bushes. 16:35:36 ivan: I like this new included representation for bushes. 16:36:54 ivan: I don't want to hide the fact that bushes can be described with included instead of the graph 'hack'. 16:37:23 gkellogg: We can say that included can also be used without other props in node object for describing node objects without semantic relationship. 16:37:28 ivan: I'm fine with that. 16:37:31 ack bigbluehat 16:37:31 bigbluehat, you wanted to ask about the API layer--which is where I'd wondered about the "magic" ;) 16:37:42 https://pr-preview.s3.amazonaws.com/w3c/json-ld-syntax/pull/208.html#included-blocks-to-be-flattened 16:38:08 bigbluehat: If `@included` were `@graph`, this would make a named graph? 16:38:18 gkellogg: I think this would make one or two named graphs. 16:38:29 bigbluehat: With included it won't make named graphs. 16:38:35 gkellogg: Yes, just objects. 16:38:52 bigbluehat: I see the value, but not keen on the new keyword. 16:39:15 bigbluehat: I think we need to explain these next to each other, with their nuances. 16:39:34 bigbluehat: The initial reason for this feature was not meant to displace graph. 16:39:52 bigbluehat: It was meant to bring in other referenced objects in the document. 16:40:55 regrets+ pchampin 16:41:16 gkellogg: What jsonld always had was the ability to reference node 16:41:34 ... by defining @id or @vocab you can define that thing. 16:41:46 ... our mission is to use json in the wild where this is a pattern of usage 16:41:52 q+ to ask if we can use a JSON API + `@context` example in the spec 16:42:07 bigbluehat: You said exactly what I was typing. 16:42:25 ... it would be good to use an example from jsonapi 16:42:39 gkellogg: jsonapi examples are quite long, with a lot of nesting 16:42:47 ... we have a test case from jsonapi 16:43:01 ... may be too long for here. But may be good for best practises document. 16:43:02 q+ 16:43:09 ack bigbluehat 16:43:09 bigbluehat, you wanted to ask if we can use a JSON API + `@context` example in the spec 16:43:09 ack bigbluehat 16:43:11 ... It would overly complicated the spec to include here. 16:43:56 bigbluehat: This solves the jsonapi case by aliasing `included` to `@included`. 16:44:07 gkellogg: Yes, you can have multiple properties that have multiple aliases. 16:44:23 ... included can be a nested object 16:44:29 ack ivan 16:44:51 ivan: Can we talk about things that go to the primer? 16:45:19 gkellogg: What to do with example? 16:46:01 ivan: Switch the order of problem of Rob. In the primer we will have to spend more words on the fact that there are different things that can be used to do the same thing. 16:46:08 ivan: We must have a primer. 16:46:16 ivan: The current doc is already huge. 16:46:33 bigbluehat: We need distinction in the main spec explaining diff between included and graph 16:46:51 ivan: To be honest, at this level there is no real diff between the examples. 16:46:58 ... this is a side-effect with included. 16:47:05 ... we should not fiddle around with that 16:47:40 bigbluehat: The graph foundation exists in flattened output, and this won't go away. 16:47:46 ... this needs clarification 16:48:08 gkellogg: The use of included on its own is a by-product of the feature. 16:48:17 ... it does not need its own description in the spec 16:48:25 ... There are use cases where that can be useful 16:48:32 ... That better lies in a non-normative text. 16:48:44 bigbluehat: The bush usage would go to the primer 16:48:54 ... focus of the text would go back to inter-document referencing. 16:49:13 ivan: We are falling back to other extreme that I don't agree with 16:49:24 ... we are hiding a feature of included 16:49:28 q+ 16:49:45 ... In the inclusion part we should mention the alternative representation of bushes. 16:49:54 ... because current graph-based bushes are a hack 16:50:07 ack bigbluehat 16:50:12 ... It has been around for a while, but we still should mention it. 16:50:25 bigbluehat: This is an accidental feature since recently. 16:50:38 ... it is essential to flattened output. I don't see it as a hack. 16:50:50 ... For non-turtle/trig users. 16:51:02 ivan: For semweb folks you don't care it is a hack. 16:51:06 ... we get into taste issues 16:51:31 ivan: I don't want to hide it. 16:52:09 PROPOSAL: focus `@included` text and example on original inclusion use case; mention value of it as an `@graph` replacement for bushes--and reference primer for further reading 16:52:25 +0.5 16:52:26 +1 16:52:28 +1 16:52:28 +1 16:52:30 +1 16:52:53 ivan: If we have a primer, a reference can be put into it in CR 16:53:23 RESOLVED: focus `@included` text and example on original inclusion use case; mention value of it as an `@graph` replacement for bushes--and reference primer for further reading 16:53:33 ivan: include or included? 16:54:40 bigbluehat: People may expect a URI to be included. But this is wrong. 16:54:55 q+ 16:55:01 ack rubensworks 16:55:03 scribe+ bigbluehat 16:55:10 rubensworks: what was the keyword in JSON API? 16:55:13 gkellogg: included 16:55:23 rubensworks: in that case, it might be helpful to be consistent with that 16:55:27 +1 for @included 16:56:26 PROPOSAL: close issue #19 with merger of `@included` related PRs 16:56:31 +1 16:56:32 +1 16:56:32 +1 16:56:33 +1 16:56:35 +1 16:56:43 RESOLVED: close issue #19 with merger of `@included` related PRs 16:56:51 Subtopic: Confirm state of `@import` usage 16:57:19 bigbluehat: Request by Rob to state to ourselves to not quickly add more features to `@import`. 16:57:24 +1 16:57:38 https://github.com/w3c/json-ld-syntax/issues/108 16:57:38 ... This import issue is closable, as it is in the spec 16:57:55 +1 16:58:05 gkellogg: This also puts the nail in for SRI? 16:58:07 bigbluehat: Yes 16:58:27 bigbluehat: We would defer and close the SRI issue 16:58:59 PROPOSAL: close 108 with statement that potentially related SRI issues will be closed as differed 16:59:03 +1 16:59:05 gkellogg: Can we close the issue on trig graphs? 16:59:07 +1 16:59:08 +1 16:59:10 +1 16:59:10 +1 16:59:52 RESOLVED: close 108 with statement that potentially related SRI issues will be closed as differed 16:59:59 Propose: close 128 17:00:08 +1 17:00:10 +1 17:00:11 +1 17:00:15 +1 17:00:16 +1 17:00:20 Resolved: close 128 17:01:09 rrsagent, draft minutes 17:01:09 I have made the request to generate https://www.w3.org/2019/08/02-json-ld-minutes.html ivan 17:01:09 zakim, bye 17:01:09 rrsagent, bye 17:01:09 I see no action items 17:01:09 leaving. As of this point the attendees have been ivan, rubensworks, ajs6f, gkellogg, timCole, bigbluehat, ajs6f_ 17:01:09 Zakim has left #json-ld