15:44:03 RRSAgent has joined #json-ld 15:44:03 logging to https://www.w3.org/2019/08/16-json-ld-irc 15:44:04 rrsagent, set log public 15:44:04 Meeting: JSON-LD Working Group Telco 15:44:04 Date: 2019-08-16 15:44:04 Agenda: https://lists.w3.org/Archives/Public/public-json-ld-wg/2019Aug/0010.html 15:44:04 ivan has changed the topic to: Meeting Agenda 2019-08-16: https://lists.w3.org/Archives/Public/public-json-ld-wg/2019Aug/0010.html 15:44:05 Regrets+ 15:44:05 Chair: bigbluehat 15:49:23 azaroth has joined #json-ld 15:58:08 present+ Rob_Sanderson 15:58:36 gkellogg has joined #json-ld 15:59:13 present+ 15:59:20 present+ 15:59:47 present+ 16:00:42 present+ 16:02:14 scribenick: rubensworks 16:02:41 present+ 16:02:59 Topic: Approve minutes of previous call 16:03:05 https://www.w3.org/2018/json-ld-wg/Meetings/Minutes/2019/2019-08-09-json-ld%3Chttps://www.w3.org/2018/json-ld-wg/Meetings/Minutes/2019/2019-07-26-json-ld 16:03:06 +1 16:03:17 +1 16:03:19 +1 16:03:23 +0 (not present) 16:03:24 +1 16:03:24 PROPOSAL: approve last week's minutes 16:03:25 +1 16:03:26 +0 (not present) 16:03:26 +1 16:03:33 RESOLVED: approve last week's minutes 16:03:43 Topic: Announcements / Reminders 16:03:48 Subtopic: Standing TPAC reminder 16:04:18 bigbluehat: TPAC is coming. Only five of us confirmed, is that correct? 16:04:30 Subtopic: Others? 16:04:38 bigbluehat: On September 1st, the registration price goes up. 16:04:48 ivan: Correct, five of us are registered at the moment. 16:04:59 azaroth: I will register today. 16:06:58 ivan: JSON-LD is on thursday~friday. 16:07:20 gkellogg: Normative things will be resolved, so we can focus on tutorials etc. 16:08:11 Topic: Horizontal Review Updates 16:08:19 https://github.com/w3c/json-ld-wg/issues?q=is%3Aissue+is%3Aopen+label%3Ahorizontal-review 16:08:52 azaroth: I've sent an email for the privacy review. 16:09:07 ... I think privacy is in good shape. Is a formal sign-off needed? 16:09:26 ivan: It would be good if they put a comment on our issue saying "yes, you are done". 16:09:55 ... Or we can explicitly ask them for such a comment, by saying we consider it is done. 16:09:57 ACTION: azaroth to request an okay from PING on https://github.com/w3c/json-ld-wg/issues/88 16:10:18 ... Just like I did for #93. 16:11:38 azaroth: #77 had a questionaire, which I did. #93 also had such a questionaire, which has been done. 16:12:13 https://w3ctag.github.io/security-questionnaire/ 16:12:19 azaroth: Process doc says that for privacy, you have to email them, and they come to you. But for I18N, you email them, and you come to them. 16:13:20 ... On June 19th, I emailed them, saying that we will be going to CR before TPAC, so they would have to check before then. 16:13:57 ivan: If you've sent it, and followed the steps, but if they don't answer, we are fine. 16:14:16 azaroth: I will send a new mail for privacy asking for them to check. 16:14:31 ACTION: azaroth to put https://w3ctag.github.io/security-questionnaire/ into https://github.com/w3c/json-ld-wg/issues/89 and request comments from security 16:14:32 q+ 16:14:36 ack ivan 16:15:25 ivan: For I18N, we have the issue of base direction. There has been an action in June where we tried to start a WG to fix it in RDF. If it fixed there, it will be fixed everywhere else. 16:15:41 ... Not a lot of response. Only person who reacted was Andy. 16:15:58 ... In september, we will have to put a plug on this. So issue will still be unresolved. 16:16:12 ... It should not affect JSON-LD 1.1, but on long term in may. 16:16:12 q+ 16:17:03 ... Andy said that it may be simpler to introduce terms in RDF namespace to create reified objects with value and direction. 16:17:22 https://github.com/w3c/rdf-dir-literal 16:17:50 ack bigbluehat 16:18:09 gkellogg: rdf:value is underutilized, and may be the way to go. 16:18:21 bigbluehat: Are there actions for this group to take? 16:18:53 ivan: Not yet, I've sent multiple mails to semweb mailing list. 16:19:43 ... The rdf:value option may be the only way to go if there comes no further feedback. 16:19:51 Topic: Issues 16:19:59 Subtopic: Framing and @container:@set for scoped contexts 16:20:06 https://github.com/w3c/json-ld-framing/issues/64 16:21:26 azaroth: In framing context, I had a container:set. I did various things in playground, and discovered that in framing, container:set does not get handled properly. It does work fine in compaction. 16:21:39 ... Also in Python implementation. 16:22:02 gkellogg: This is because there's a step to handle `@preserve` values post-compaction. 16:22:09 present+ 16:22:32 ... This is because there are cases where there are null values that are replaced during compaction. 16:22:55 q+ 16:23:13 ack dlongley 16:23:17 ... My suggested fix would emit empty array instead of null. But this does not preserve null in output anymore. 16:23:52 q+ to ask about expections of @container:@set /and/ null 16:23:54 dlongley: JSON devs expect null there, so it must be preserved. They want to see the null there. 16:24:04 gkellogg: Except if null is part of an array. 16:24:12 dlongley: Indeed. That's another case. 16:24:42 ... I wonder if we can do something during compaction to indicate preserve:null. 16:25:05 ... Can we leave a note during compaction for this? 16:25:56 gkellogg: One way would be to separate processing of preserve:null, and do preserve before compaction. Once it has been compacted, there may be values with null. If in array, would be removed, if not, it would be preserved. 16:26:31 ... There's no easy way to handle this. But handling null after compaction may be the best way. 16:26:44 dlongley: Not great, but may be a good solution. 16:27:07 Subtopic: Link header for HTML and JSON-LD #204 16:27:10 gkellogg: Not needed to discuss this further during this call. There is a way to fix this. But this is implementation work. 16:27:13 https://github.com/w3c/json-ld-syntax/issues/204 16:27:43 bigbluehat: Link header: preemptive conneg. 16:27:45 API PR https://github.com/w3c/json-ld-api/pull/134 16:27:55 Syntax PR https://github.com/w3c/json-ld-syntax/pull/212 16:27:58 bigbluehat: 2 PRs are ready to go, right? 16:28:15 gkellogg: Yes. Open question for base during redirect. 16:28:53 gkellogg: If you retrieve something non-json. Doc loader will detect rel-alternative links, and redirect to that resource. 16:29:19 ... I think the original requested document should be preserved as base URL. 16:29:58 q+ 16:29:58 q+ to ask about javascript and redirects 16:30:01 ack azaroth 16:30:01 azaroth, you wanted to ask about expections of @container:@set /and/ null and to ask about javascript and redirects 16:30:05 ... Just like 303 redirect semantics. In 302, this would not be the case. 16:30:45 azaroth: JS will silently follow redirects and give you the results. So you don't know which redirects got you there. 16:30:54 gkellogg: JS should correctly implement redirect semantics. 16:31:02 +1 to using 303 semantics, so on, +1 to gregg's position. 16:31:12 ... You have processing state to keep track on this. 16:32:01 ack bigbluehat 16:32:15 Proposed: merge api#134 and syntax#212, and close syntax#204 16:32:22 +1 16:32:23 +1 16:32:25 +1 16:32:27 :shipit: 16:32:29 +1 16:32:34 +1 16:32:35 +0.5 16:33:57 resolved: merge api#134 and syntax#212, and close syntax#204 16:34:13 Subtopic: JSON-LD Context processing in HTML Documents #172 16:34:18 https://github.com/w3c/json-ld-syntax/issues/172 16:35:02 bigbluehat: This issue is very related. Originally, extracting JSON-LD from HTML. This can now be done with a simple link header. 16:35:43 ... schema.org for example does not want to use conneg, so this is good for this. Proposed closing based on the last PRs. 16:37:00 gkellogg: The behaviour is slightly modified if you request context. Document loader will not add text/html from request. The API is not affected too much. 16:37:52 ... If you will deal with HTML, like schema.org, then you can achieve a compatibility level with processing JSON-LD in HTML, instead of doing it mid-processing. 16:38:02 dlongley: Everything is untangled, and is cleaner now. 16:38:16 ivan: Users should be warned that they don't define context as part of an HTML file. 16:39:11 gkellogg: We don't have text saying that it can't be done. We just removed the text saying that it can be done. 16:39:12 q+ 16:39:19 ivan: Because it can be done in theory? 16:39:37 gkellogg: Syntax doesn't say anything about it. API doc explicitly excludes HTML. 16:39:40 ack bigbluehat 16:39:41 PROPOSAL: close #172 as addressed by #204 16:39:46 +1 16:39:46 +1 16:39:48 +1 16:39:50 +1 16:39:52 +1 16:40:09 +1 16:40:58 RESOLVED: close #172 as addressed by #204 16:44:33 Subtopic: Reconsider Processing Levels #213 16:44:40 https://github.com/w3c/json-ld-syntax/issues/213 16:45:12 bigbluehat: This issue discusses multiple processing levels. 16:45:56 q+ 16:46:00 ack ivan 16:46:02 ... If the link header approach solves the use case for linking to a JSON-LD context in HTML, then we probably don't need a full processor level for HTML processing. 16:46:05 q+ to argue that we need them still 16:47:06 ivan: If I remember well (we're talking about schema.org), this came up with a discussion that website producers had difficulties producing microdata/rdfa when they had different data in databases, and wanted an easier way to dump data from their databases in JSON. 16:47:47 ... If we don't say anything about JSON-LD in HTML, then how can we trust any JSON-LD processor out there that this JSON-LD in HTML will be used? 16:47:59 ... The only way at the moment is to put it in a different file. 16:48:21 q+ to clarify who should be doing extraction and when 16:48:27 ... Also, the reason why they did it back then is because that's the easiest way to produce JSON-LD data. 16:48:32 ack azaroth 16:48:32 azaroth, you wanted to argue that we need them still 16:49:42 azaroth: I agree. We have normatively defined how JSON-LD is expressed in HTML. So we've opened the door to this. This requires all processors to handle HTML. These levels allow only some processors to not handle HTML. 16:49:46 q+ to ask if we can define this only according to the document loader being used by the processor rather than as the processor being "full" or not? 16:50:02 ... I'm fine with putting it in the docloader spec. 16:50:15 ack bigbluehat 16:50:15 bigbluehat, you wanted to clarify who should be doing extraction and when 16:50:23 ... Main question is: can we have a conforming processor that can not handle HTML? 16:51:03 bigbluehat: These data blocks have been used for a long time before JSON-LD. Anything can be placed in there. This is part of the HTML spec. 16:51:15 ... (part around data blocks in HTML5 spec) 16:51:20 q+ 16:52:04 ... A piece of software that exist now that extracts data from data blocks, and forwards it to any processor can also be used to handle extracting JSON-LD from HTML. 16:52:21 ack dlongley 16:52:21 dlongley, you wanted to ask if we can define this only according to the document loader being used by the processor rather than as the processor being "full" or not? 16:52:40 q+ to argue that Benjamin's approach is an argument against normative JSON-LD in HTML 16:52:56 HTML data blocks https://html.spec.whatwg.org/multipage/scripting.html#data-block 16:52:57 dlongley: I feel like talking about HTML in a JSON-LD processor is conflating formats. We need a cleaner separation of concerns. 16:53:08 ... HTML is not the only format in which JSON-LD can be included. 16:53:38 +1 16:53:42 ack gkellogg 16:53:49 q+ to mention email https://developers.google.com/gmail/markup/reference/rsvp-action 16:53:50 ... It is a mistake to define these different levels. Instead, we should see it as plugging in a JSON-LD processor in another piece of software. 16:53:52 q+ 16:54:23 gkellogg: There is not standard way to handle these data blocks. What happens when you have a doc with multiple JSON-LD docs? And combined with RDFa? 16:54:40 +1 to gkellogg 16:54:44 ... We have to define these things normatively. 16:54:49 +1 to gkellogg 16:54:57 "JSON-LD in HTML" almost feels like a separate spec to me ... and we have a mechanism to hook this up to a JSON-LD processor -- a document loader; we could define other extensions this way ... it provides a clear pattern. 16:55:09 supports clarifying multiple blocks, data sets, etc. 16:55:21 +1 to dlongley 16:55:23 ... JSON-LD is not just about getting LD from JSON, it is more. We also tackle issues regarding link headers etc. 16:56:03 q+ 16:56:05 ack azaroth 16:56:05 azaroth, you wanted to argue that Benjamin's approach is an argument against normative JSON-LD in HTML 16:56:05 +1 to gkellogg 16:56:31 +1 that we should specify how to do it -- but we need a cleaner architecture and repeatable extension pattern 16:56:57 azaroth: If we have normative reqs about JSON-LD in HTML, and have two processor classes, then we need different processor levels. 16:56:58 ack bigbluehat 16:56:58 bigbluehat, you wanted to mention email https://developers.google.com/gmail/markup/reference/rsvp-action 16:57:00 q+ 16:57:02 -1 to making this about processor classes 16:57:25 dlongley - the issue is explicitly about processor classes? 16:58:03 bigbluehat: The point isn't that we shouldn't normatively describe this. I would like a spec on graphs in HTML. 16:58:06 azaroth: yes, it is ... and i think people are confused about my position/benjamin's ... we aren't arguing against defininig how to do JSON-LD in HTML 16:58:16 azaroth: it's about processor classes and the architecture. 16:58:27 ... We should however not put the extraction concern of extracting JSON-LD from HTML in this spec. 16:58:32 +1 to benjamin, this does not scale and is a bad architecture choice. 16:58:39 .. There should be a separate thing in front of this. 16:58:41 q+ to note that /this/ argument argues against document loaders and http? 16:58:56 ack ivan 16:59:26 ivan: If I am a user, I put data into HTML as JSON-LD. How do I make sure that it is understood? 16:59:46 ... Do I have to write a separate processor? I have to know how, otherwise it is useless. 16:59:46 q+ to say you don't get that guarantee with processor classes anyway 17:00:37 q+ to say, if you want to put JSON-LD in HTML, use the HTML in JSON-LD spec (which is currently embedded in our spec) ... and if you want to consume it do the same and implement the document loader according to the spec. 17:01:17 ... For example, RDFa processors do a basic entailment, based on flags. Processors can only do things based on these flags. If I know that someone's processor supports flags, then I can use a specific processor based on these capabilities. We need something like this, otherwise this is useless to users. 17:01:17 ack dlongley 17:01:17 dlongley, you wanted to say you don't get that guarantee with processor classes anyway and to say, if you want to put JSON-LD in HTML, use the HTML in JSON-LD spec (which is 17:01:20 ... currently embedded in our spec) ... and if you want to consume it do the same and implement the document loader according to the spec. 17:01:39 dlongley: Processor classes won't guarantee ivan's problem. 17:01:53 s/guarantee/solve/ 17:02:50 ack gkellogg 17:02:57 +1 to dlongley's summation 17:03:04 dlongley: If you want to process JSON-LD from HTML, you have to look at that separate spec. Different document loaders can support these things. This is a better architecture, regarding separation of concerns. 17:03:38 gkellogg: Concern people have is that to be a full processors, you have to process HTML. Defining these as capabilities may be better. 17:03:58 q? 17:04:00 ack azaroth 17:04:00 azaroth, you wanted to note that /this/ argument argues against document loaders and http? 17:04:01 ... I would support extracting HTML bits from our current spec to something else. 17:04:09 azaroth: I agree with dlongley and gkellogg. 17:04:13 we don't have to split this up now 17:04:18 let's make sure we CAN split it up later. 17:04:25 +1 17:04:31 we can have the right architecture now and split later. 17:04:33 ... It would be cleaner in a different spec. But we don't have time to split into a different spec. Maybe something for JSON-LD 2.0. 17:04:41 we're not talking about a ton of changes. 17:04:45 ivan: If we do this, we won't adhere to our timetable. 17:04:46 no, no no... not saying that. 17:04:54 ok, next call :) 17:05:06 bigbluehat: Let's take this to next call, as we will need it. 17:05:53 rrsagent, draft minutes 17:05:53 I have made the request to generate https://www.w3.org/2019/08/16-json-ld-minutes.html ivan 17:05:53 zakim, bye 17:05:53 rrsagent, bye 17:05:53 I see 2 open action items saved in https://www.w3.org/2019/08/16-json-ld-actions.rdf : 17:05:53 ACTION: azaroth to request an okay from PING on https://github.com/w3c/json-ld-wg/issues/88 [1] 17:05:53 recorded in https://www.w3.org/2019/08/16-json-ld-irc#T16-09-57 17:05:53 ACTION: azaroth to put https://w3ctag.github.io/security-questionnaire/ into https://github.com/w3c/json-ld-wg/issues/89 and request comments from security [2] 17:05:53 recorded in https://www.w3.org/2019/08/16-json-ld-irc#T16-14-31 17:05:53 leaving. As of this point the attendees have been Rob_Sanderson, gkellogg, ivan, bigbluehat, rubensworks, dlongley, dlehn 17:05:53 Zakim has left #json-ld 17:06:03 ivan: i didn't mean make a new spec *now* ... shortness of time made that unclear, will discuss next week :)