RDF and microdata future

2019-01-11 23:35发布

问题:

What should we expect from RDF and microdata in the future? Is microdata able to completely replace RDF, is this the goal? Or are they meant to exist side by side? Should we have both on our sites once microdata becomes more famous?

Update: I did not intend to start a discussion, I only want to know if microdata is supposed to replace RDF or they are supposed to coexist. If they are supposed to coexist I will be happy to read some guidelines and possibly research based predictions.

回答1:

You probably talk about RDFa if you compare it to Microdata (RDF is a data model, which can be expressed with many different syntaxes like RDFa, Turtle, RDF/XML, JSON-LD, etc.).

Note that RDFa 1.0 is a W3C Recommendation from 2008, and RDFa 1.1 Core (and RDFa 1.1 Lite) is a W3C Recommendation from 2012, while Microdata is pretty new and still a W3C Working Draft merely a Working Group Note (2013-10-29). Some people argue (e.g. Manu Sporny, an editor of the RDFa specifications) that the W3C shouldn’t publish Microdata as a Recommendation because it’s so similar to RDFa.

Have a look at the HTML Data Guide (W3C Interest Group Note):

Microformats, RDFa and microdata all enable consumers to extract data from HTML pages. This data may be embedded within enhanced search engine results, exposed to users through browser extensions, aggregated across websites or used by scripts running within those HTML pages.

This guide aims to help publishers and consumers of HTML data use it well. With several syntaxes and vocabularies to choose from, it provides guidance about how to decide which meets the publisher's or consumer's needs. It discusses when it is necessary to mix syntaxes and vocabularies and how to publish and consume data that uses multiple formats. It describes how to create vocabularies that can be used in multiple syntaxes and general best practices about the publication and consumption of HTML data.


My subjective opinion: RDFa and Microdata will co-exist. If you want to concentrate on one of these, go with RDFa (start with RDFa Lite, which is really, really easy – you can read and understand the whole specification in 10-15 minutes). Why? RDF is the language of the Semantic Web. RDF can be used with many markup languages, not only HTML (while Microdata only works with HTML5). RDF matured over the years — there are already two "finished" specifications just for RDFa (while Microdata is still a draft).

See also: Differences between Microdata and RDFa



回答2:

The question is about a kind of format war in the 2013's... Who will win the war in the future? The future is now :-)

Today, the statistical big picture is "Microdata is winning".

About "the best format", when thinking that "better is what the user need"... Again statistics. The only good answer was develped over time (years) as adoption rates.

Use Microdata because ~75% was using in 2016

It is not a standard (in the far future W3C/TR/microdata perhaps will be), there are no "real good reason" to use Microdata... Except that the majority is using it... There are a reliable statistics (nobody was opposing this work using WebDataCommons)

  • Microdata: ~2.5 million of domains, 900 million of URLs.
  • RDFa: ~0.9 million of domains, 312 million of URLs.

So Microdate was used in 2016 by ~2.5 times more domains and 3 times more URLs... And there are no "new fact" to revert the growing of Microdata adoption.

Imagining "all users" as RDFa+Microdata (2.5+0.9=3.4), we can say that ~75% of all users (2.5/3.4) are using Microdata.


Source: http://webdatacommons.org/structureddata/#results-2016-1


See also:

  • (avoid meta and JSON-LD) https://stackoverflow.com/a/43960968
  • Statistics about "Microformat vs HTML+RDFa" adoption
  • ...


标签: rdf microdata