W3C home > Mailing lists > Public > semantic-web@w3.org > June 2020

Re: Straw Poll: What is the most widely deployed RDF serialization in 2020?

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Thu, 18 Jun 2020 14:47:47 -0700
Message-Id: <E8A7E66E-217D-4FE8-9491-84CF8C9A0A10@greggkellogg.net>
Cc: Dan Brickley <danbri@danbri.org>, Semantic Web <semantic-web@w3.org>
To: Melvin Carvalho <melvincarvalho@gmail.com>
> On Jun 18, 2020, at 2:16 PM, Gregg Kellogg <gregg@greggkellogg.net> wrote:
>> On Jun 18, 2020, at 1:21 PM, Melvin Carvalho <melvincarvalho@gmail.com <mailto:melvincarvalho@gmail.com>> wrote:
>> 
>> 
>> 
>> On Tue, 16 Jun 2020 at 09:16, Dan Brickley <danbri@danbri.org <mailto:danbri@danbri.org>> 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.
>> 
>> Thanks for the info Dan!
>> 
>> 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:
>> 
>> 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>
>> 
>> Here is an example used by timbl which uses the (perhaps outdated) application/xml content type
>> 
>> I could imagine other content types being used too, e.g. text/turtle or simpey application/json
>> 
>> 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
> 
> Turtle informatively describes just this: https://www.w3.org/TR/turtle/#in-html <https://www.w3.org/TR/turtle/#in-html>.
> 
> 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
> 
>> 
>> On Tue, 16 Jun 2020 at 08:04, Melvin Carvalho <melvincarvalho@gmail.com <mailto:melvincarvalho@gmail.com>> wrote:
>> Options:
>> 
>> 1. RDF/XML
>> 
>> 2. Turtle
>> 
>> 3. N Triples (e.g. in a quad store)
>> 
>> 4. JSON-LD
>> 
>> 5. Structured Data Blocks in Script tags aka "Data Islands" (e.g. used in SEO)*
>> 
>> 6. Other
>> 
>> 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.
>> 
>> Any links to stats would be really helpful!
>> 
>> Thanks!
> 


Received on Thursday, 18 June 2020 21:48:03 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:42:10 UTC