Schema.org

From HandWiki
Revision as of 18:29, 6 February 2024 by NBrush (talk | contribs) (over-write)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Project for creating structured data
Schema.org
Schema.org-Logo.svg
Year started2011; 13 years ago (2011)
Latest version15.0 (2022-10-25)[1]
OrganizationGoogle, Yahoo!, Microsoft, Yandex
Base standardsURI, HTML5, RDF, Microdata, ISO 8601
Related standardsRDFa, Microformat, RDFS, OWL, N-Triples, Turtle, JSON, JSON-LD, CSV
DomainSemantic Web
LicenseCC-BY-SA 3.0
Abbreviationschema
Websiteschema.org

Schema.org is a reference website that publishes documentation and guidelines for using structured data mark-up on web-pages (called microdata). Its main objective is to standardize HTML tags to be used by webmasters for creating rich results (displayed as visual data or infographic tables on search engine results) about a certain topic of interest.[2] It is a part of the semantic web project, which aims to make document mark-up codes more readable and meaningful to both humans and machines.

History

Schema.org is an initiative launched on June 2, 2011, by Bing, Google and Yahoo![3][4][5] (operators of the world's largest search engines at that time)[6] to create and support a common set of schemas for structured data markup on web pages. In November 2011, Yandex (whose search engine is the largest in Russia ) joined the initiative.[7][8] They propose using the schema.org vocabulary along with the Microdata, RDFa, or JSON-LD formats[9] to mark up website content with metadata about itself. Such markup can be recognized by search engine spiders and other parsers, thus granting access to the meaning of the sites (see Semantic Web). The initiative also describes an extension mechanism for adding additional properties.[10] In 2012, the GoodRelations ontology was integrated into Schema.org.[11] Public discussion of the initiative largely takes place on the W3C public vocabularies mailing list.[12]

Much of the vocabulary on Schema.org was inspired by earlier formats, such as microformats, FOAF, and OpenCyc.[13] Microformats, with its most dominant representative hCard, continue (as of 2015) to be published widely on the web, where the deployment of Schema.org has strongly increased between 2012 and 2014.[14] In 2015,[15] Google began supporting the JSON-LD format, and as of September, 2017 recommended using JSON-LD for structured data whenever possible.[16][17]

Despite the advantages of using Schema.org, adoption remained limited as of 2016. A survey in 2016 of 300 US-based marketing agencies and B2C advertisers across industries showing only 17% uptake.[18]

Such validators as the soon-to-be-deprecated Google Structured Data Testing Tool,[19] or more recent[20] Google Rich Results Test Tool,[21] Yandex Microformat validator,[22] and Bing Markup Validator[23] can be used to test the validity of the data marked up with the schemas and Microdata. More recently, Google Search Console (formerly webmaster tools) has provided a report section for unparsable structured data. If any Schema code on a website is incorrect, it will show in this report.[24] Some schema markups[25] such as Organization and Person are commonly used to influence search results returned by Google's Knowledge Graph.[26]

Schema Types

There are a number of items that a web page can be marked up with using a Schema, with examples including:

  • Article
  • Breadcrumb
  • Course
  • Event
  • FAQ
  • LocalBusiness
  • Logo
  • Movie
  • Product
  • Recipe
  • Review
  • Video
  • How To
  • Software
  • Social

Examples

Microdata

The following is an example[27] of how to mark up information about a movie and its director using the Schema.org schemas and microdata. In order to mark up the data, the attribute itemtype along with the URL of the schema is used. The attribute itemscope defines the scope of the itemtype. The kind of the current item can be defined by using the attribute itemprop.

<div itemscope itemtype="http://schema.org/Movie">
  <h1 itemprop="name">Avatar</h1>
  <div itemprop="director" itemscope itemtype="http://schema.org/Person">
  Director: <span itemprop="name">James Cameron</span> 
(born <time itemprop="birthDate" datetime="1954-08-16">August 16, 1954</time>)
  </div>
  <span itemprop="genre">Science fiction</span>
  <a href="../movies/avatar-theatrical-trailer.html" itemprop="trailer">Trailer</a>
</div>

RDFa 1.1 Lite

<div vocab="http://schema.org/" typeof="Movie">
  <h1 property="name">Avatar</h1>
  <div property="director" typeof="Person">
  Director: <span property="name">James Cameron</span>
(born <time property="birthDate" datetime="1954-08-16">August 16, 1954</time>)
  </div>
  <span property="genre">Science fiction</span>
  <a href="../movies/avatar-theatrical-trailer.html" property="trailer">Trailer</a>
</div>

JSON-LD

<script type="application/ld+json">
{ 
  "@context": "http://schema.org/",
  "@type": "Movie",
  "name": "Avatar",
  "director": 
    { 
       "@type": "Person",
       "name": "James Cameron",
       "birthDate": "1954-08-16"
    },
  "genre": "Science fiction",
  "trailer": "../movies/avatar-theatrical-trailer.html" 
}
</script>

References

  1. "schema.org releases". https://schema.org/docs/releases.html. 
  2. "About schema.org initiative". W3C. https://www.w3.org/community/meat/2016/02/04/more-about-our-mission/. 
  3. "Home - schema.org". https://schema.org/. 
  4. Introducing schema.org: Search engines come together for a richer web, Google blog, 2 June 2011
  5. Introducing Schema.org: Bing, Google and Yahoo Unite to Build the Web of Objects, Bing blog, 2 June 2011
  6. "Top 5 Search Engines from Oct to Dec 10". StatCounter. http://gs.statcounter.com/#search_engine-ww-monthly-201010-201012. 
  7. nate451. "Yandex joins Google, Yahoo! and Bing to collaborate on Schema.org - TechCrunch". https://techcrunch.com/2011/11/01/yandex-joins-google-yahoo-and-bing-to-collaborate-on-schema-org/. 
  8. "Yandex now supports schema.org markup". http://blog.schema.org/2011/11/yandex-now-supports-schemaorg-markup.html. 
  9. "Getting Started - schema.org". http://schema.org/docs/gs.html. 
  10. "Extending Schemas". schema.org. 2011-06-02. http://www.schema.org/docs/extension.html. 
  11. "Good Relations and Schema.org". http://blog.schema.org/2012/11/good-relations-and-schemaorg.html. 
  12. "W3C web vocabularies mailing list". w3.org. 2013-07-22. http://lists.w3.org/Archives/Public/public-vocabs/. 
  13. "FAQ". schema.org. http://www.schema.org/docs/faq.html. 
  14. "Web Data Commons – RDFa, Microdata, and Microformat Data Sets -- Extracting Structured Data from the Common Web Crawl". 3.1. Extraction Results from the December 2014 Common Crawl Corpus. 2015-04-13. http://webdatacommons.org/structureddata. 
  15. "Easier website development with Web Components and JSON-LD". 2015-03-09. https://webmasters.googleblog.com/2015/03/easier-website-development-with-web.html. 
  16. "Introduction to Structured Data". 2017-09-13. https://developers.google.com/search/docs/guides/intro-structured-data#structured-data-format. 
  17. "How to add Schema Markup Data JSON-LD". 2019-09-06. https://www.youtube.com/watch?v=idEX5SA9M8M&list=PLptu98aBkH88ri7cq6-jH-8m6QvLFP7Wk. 
  18. "Prioritize Search To Maximize ROI Of Marketing". 2017-01-01. https://advertiseonbing.blob.core.windows.net/blob/bingads/media/library/insight/prioritize-search-to%20boost-roi/forrester-prioritize-search-whitepaper.pdf?ext=.pdf. 
  19. "Structured Data Testing Tool". https://search.google.com/structured-data/testing-tool/. 
  20. "The Rich Results Test is out of beta". https://webmasters.googleblog.com/2020/07/rich-results-test-out-of-beta.html. 
  21. "Rich Result Tool". https://search.google.com/test/rich-results. 
  22. "Микроразметка — Яндекс.Вебмастер". http://webmaster.yandex.ru/microtest.xml. 
  23. "Bing - Markup Validator". http://www.bing.com/toolbox/markup-validator. 
  24. "What is Schema Mark Up and How Can it Benefit Your Business". 2019-12-04. https://www.sqdigital.co.uk/seo/what-is-schema-markup-and-how-structured-data-can-benefit-your-business/. 
  25. Pardal, Ruchi (2023-12-27). "7 Important Ecommerce Schema Markups in 2024" (in en). https://www.resultfirst.com/blog/ecommerce-seo/ecommerce-schema-markups/. 
  26. "Specify your social profiles to Google". https://developers.google.com/structured-data/customize/social-profiles. 
  27. "Getting Started - schema.org". http://schema.org/docs/gs.html#microdata_itemscope_itemtype. 

External links