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

Margaret Warren <[email protected]> Thu, 18 Jun 2020 16:35:54 -0400
Newsgroups gmane.org.w3c.semantic-web
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------D67B112E00A4DA9E64D31F76
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi all,

When we publish image documents with ImageSnippets, we serialize in both 
JSON-LD and RDFa..we have the data right there, so it was easy to do 
both simultaneously.

We started with RDFa, but when I noted that more people were migrating 
to JSON-LD, we just added the JSON-LD to our documents. When I need to 
read the source of the html page as a human, I find the RDFa easier to 
follow, so I think I left it for humans as much as anything else, but 
thought - what the heck, use them both, t won't hurt.

Best,
Margaret


On 6/18/2020 4:21 PM, Melvin Carvalho wrote:
>
>
> 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.
>
>
> 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
>
> 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
>
>
>     On Tue, 16 Jun 2020 at 08:04, Melvin Carvalho
>     <[email protected] <mailto:[email protected]>> 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!
>

--------------D67B112E00A4DA9E64D31F76
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi all, <br>
    </p>
    <p>When we publish image documents with ImageSnippets, we serialize
      in both JSON-LD and RDFa..we have the data right there, so it was
      easy to do both simultaneously. <br>
    </p>
    <p>We started with RDFa, but when I noted that more people were
      migrating to JSON-LD, we just added the JSON-LD to our documents. 
      When I need to read the source of the html page as a human, I find
      the RDFa easier to follow, so I think I left it for humans as much
      as anything else, but thought - what the heck, use them both, t
      won't hurt. <br>
    </p>
    <p>Best, <br>
      Margaret</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 6/18/2020 4:21 PM, Melvin Carvalho
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKaEYhLnE8gEZn23CXN=5VDK5PSiWSnsJwnNphNJyqG=vWzJag@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Tue, 16 Jun 2020 at
            09:16, Dan Brickley &lt;<a href="mailto:[email protected]"
              moz-do-not-send="true">[email protected]</a>&gt; wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div>
              <div dir="auto">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><br>
          </div>
          <div>Thanks for the info Dan!</div>
          <div><br>
          </div>
          <div>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><br>
          </div>
          <div><a
href="https://github.com/linkeddata/rabel/blob/master/test/html/xml-data-island.html"
              moz-do-not-send="true">https://github.com/linkeddata/rabel/blob/master/test/html/xml-data-island.html</a></div>
          <div><br>
          </div>
          <div>Here is an example used by timbl which uses the (perhaps
            outdated) application/xml content type</div>
          <div><br>
          </div>
          <div>I could imagine other content types being used too, e.g.
            text/turtle or simpey application/json<br>
          </div>
          <div><br>
          </div>
          <div>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<br>
          </div>
          <div> </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div><br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Tue, 16 Jun 2020 at
                  08:04, Melvin Carvalho &lt;<a
                    href="mailto:[email protected]"
                    target="_blank" moz-do-not-send="true">[email protected]</a>&gt;
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div dir="ltr">
                    <div>Options:</div>
                    <div><br>
                    </div>
                    <div>1. RDF/XML</div>
                    <div><br>
                    </div>
                    <div>2. Turtle</div>
                    <div><br>
                    </div>
                    <div>3. N Triples (e.g. in a quad store)<br>
                    </div>
                    <div><br>
                    </div>
                    <div>4. JSON-LD</div>
                    <div><br>
                    </div>
                    <div>5. Structured Data Blocks in Script tags aka
                      "Data Islands" (e.g. used in SEO)*<br>
                    </div>
                    <div><br>
                    </div>
                    <div>6. Other</div>
                    <div><br>
                    </div>
                    <div>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>
                    </div>
                    <div><br>
                    </div>
                    <div>Any links to stats would be really helpful!</div>
                    <div><br>
                    </div>
                    <div>Thanks!<br>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </body>
</html>

--------------D67B112E00A4DA9E64D31F76--