Re: Straw Poll: What is the most widely deployed RDF serialization in 2020?
Gregg Kellogg <[email protected]> Thu, 18 Jun 2020 14:47:47 -0700
| Newsgroups | gmane.org.w3c.semantic-web |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_826D9648-F5A3-4B0F-9BDB-42AA45BB2ED2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jun 18, 2020, at 2:16 PM, Gregg Kellogg <[email protected]> = wrote: >> On Jun 18, 2020, at 1:21 PM, Melvin Carvalho = <[email protected] <mailto:[email protected]>> wrote: >>=20 >>=20 >>=20 >> On Tue, 16 Jun 2020 at 09:16, Dan Brickley <[email protected] = <mailto:[email protected]>> wrote: >> 5.) is also JSON-LD, to be clear. It is used on many millions of = websites. There is also a lot of RDFa and Microdata out there. >>=20 >> Thanks for the info Dan! >>=20 >> Not meaning to be pedantic here, but while the vast majority of data = islands are indeed of type application/ld+json, there's nothing that I = know if that prevents you from having another content type in the script = tag: >>=20 >> = https://github.com/linkeddata/rabel/blob/master/test/html/xml-data-island.= html = <https://github.com/linkeddata/rabel/blob/master/test/html/xml-data-island= .html> >>=20 >> Here is an example used by timbl which uses the (perhaps outdated) = application/xml content type >>=20 >> I could imagine other content types being used too, e.g. text/turtle = or simpey application/json >>=20 >> I'm collecting links around standardization of this pattern, so = please pass any on if you have any. But perhaps it's so simple that, = that would be over kill >=20 > Turtle informatively describes just this: = https://www.w3.org/TR/turtle/#in-html = <https://www.w3.org/TR/turtle/#in-html>. >=20 > My processors that look at HTML always try to find an RDF reader = associated with the script type, although RDF/XML is more likely to be = directly embedded within HTML, in my experience. Also, by the way, JSON-LD normatively describes the use of script = elements for containing JSON-LD [1]. [1] https://www.w3.org/TR/json-ld11/#embedding-json-ld-in-html-documents > Gregg >=20 >>=20 >> On Tue, 16 Jun 2020 at 08:04, Melvin Carvalho = <[email protected] <mailto:[email protected]>> wrote: >> Options: >>=20 >> 1. RDF/XML >>=20 >> 2. Turtle >>=20 >> 3. N Triples (e.g. in a quad store) >>=20 >> 4. JSON-LD >>=20 >> 5. Structured Data Blocks in Script tags aka "Data Islands" (e.g. = used in SEO)* >>=20 >> 6. Other >>=20 >> The word "most widely" here is open to interpretation, and I would = love to hear subjective or anecdotal points of view. Looking for = meaningful deployments. >>=20 >> Any links to stats would be really helpful! >>=20 >> Thanks! >=20 --Apple-Mail=_826D9648-F5A3-4B0F-9BDB-42AA45BB2ED2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" = class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On = Jun 18, 2020, at 2:16 PM, Gregg Kellogg <<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><div class=3D""><div= style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: = after-white-space;" class=3D""><div class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D"">On Jun 18, 2020, at 1:21 PM, Melvin Carvalho = <<a href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><div dir=3D"ltr" class=3D""><br class=3D""></div><br = class=3D""><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Tue, 16 Jun 2020 at 09:16, Dan Brickley <<a = href=3D"mailto:[email protected]" class=3D"">[email protected]</a>> = wrote:<br class=3D""></div><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><div class=3D""><div dir=3D"auto" = class=3D"">5.) is also JSON-LD, to be clear. It is used on many millions = of websites. There is also a lot of RDFa and Microdata out = there.</div></div></blockquote><div class=3D""><br class=3D""></div><div = class=3D"">Thanks for the info Dan!</div><div class=3D""><br = class=3D""></div><div class=3D"">Not meaning to be pedantic here, but = while the vast majority of data islands are indeed of type = application/ld+json, there's nothing that I know if that prevents you = from having another content type in the script tag:</div><div = class=3D""><br class=3D""></div><div class=3D""><a = href=3D"https://github.com/linkeddata/rabel/blob/master/test/html/xml-data= -island.html" = class=3D"">https://github.com/linkeddata/rabel/blob/master/test/html/xml-d= ata-island.html</a></div><div class=3D""><br class=3D""></div><div = class=3D"">Here is an example used by timbl which uses the (perhaps = outdated) application/xml content type</div><div class=3D""><br = class=3D""></div><div class=3D"">I could imagine other content types = being used too, e.g. text/turtle or simpey application/json<br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">I'm = collecting links around standardization of this pattern, so please pass = any on if you have any. But perhaps it's so simple that, that = would be over kill</div></div></div></div></blockquote><div class=3D""><br= class=3D""></div>Turtle informatively describes just this: <a = href=3D"https://www.w3.org/TR/turtle/#in-html" target=3D"_blank" = class=3D"">https://www.w3.org/TR/turtle/#in-html</a>.<br class=3D""><font = color=3D"#5856d6" class=3D""><span style=3D"caret-color: rgb(88, 86, = 214);" class=3D""><br class=3D""></span></font>My processors that look = at HTML always try to find an RDF reader associated with the script = type, although RDF/XML is more likely to be directly embedded within = HTML, in my experience.<font color=3D"#5856d6" class=3D""><span = style=3D"caret-color: rgb(88, 86, 214);" class=3D""><br = class=3D""></span></font></div></div></div></blockquote><div><br = class=3D""></div>Also, by the way, JSON-LD normatively describes the use = of script elements for containing JSON-LD [1].</div><div><br = class=3D""></div><div>[1] <a = href=3D"https://www.w3.org/TR/json-ld11/#embedding-json-ld-in-html-documen= ts" = class=3D"">https://www.w3.org/TR/json-ld11/#embedding-json-ld-in-html-docu= ments</a></div><div><br class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D""><div style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div = class=3D""><div class=3D"gmail_quote"><div class=3D"" = style=3D"overflow-wrap: break-word;"><div class=3D"">Gregg</div><div = class=3D""><br class=3D""></div></div></div><blockquote type=3D"cite" = class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><div class=3D""><br class=3D""><div = class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, 16 = Jun 2020 at 08:04, Melvin Carvalho <<a = href=3D"mailto:[email protected]" target=3D"_blank" = class=3D"">[email protected]</a>> wrote:<br = class=3D""></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr" class=3D""><div = class=3D"">Options:</div><div class=3D""><br class=3D""></div><div = class=3D"">1. RDF/XML</div><div class=3D""><br class=3D""></div><div = class=3D"">2. Turtle</div><div class=3D""><br class=3D""></div><div = class=3D"">3. N Triples (e.g. in a quad store)<br class=3D""></div><div = class=3D""><br class=3D""></div><div class=3D"">4. JSON-LD</div><div = class=3D""><br class=3D""></div><div class=3D"">5. Structured Data = Blocks in Script tags aka "Data Islands" (e.g. used in SEO)*<br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">6. = Other</div><div class=3D""><br class=3D""></div><div class=3D"">The word = "most widely" here is open to interpretation, and I would love to hear = subjective or anecdotal points of view. Looking for meaningful = deployments.<br class=3D""></div><div class=3D""><br class=3D""></div><div= class=3D"">Any links to stats would be really helpful!</div><div = class=3D""><br class=3D""></div><div class=3D"">Thanks!<br = class=3D""></div></div> </blockquote></div></div> </blockquote></div></div> </div></blockquote></div><br class=3D""></div></div></blockquote></div><br= class=3D""></body></html>= --Apple-Mail=_826D9648-F5A3-4B0F-9BDB-42AA45BB2ED2--