Schema.org

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Schema.org
Schema.org-Logo.svg
Year started 2011
Organization Google, Yahoo, Microsoft, Yandex
Base standards URI, HTML5, RDF, Microdata, ISO 8601
Related standards RDFa, Microformat, RDFS, OWL, N-Triples, Turtle, JSON, JSON-LD, CSV
Domain Semantic Web
License CC-BY-SA 3.0
Abbreviation schema
Website schema.org

Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.[1] It is a shared vocabulary that webmasters can use to structure metadata on their websites and to help search engines understand the content being published.

History[edit]

Schema.org is an initiative launched on 2 June 2011 by Bing, Google and Yahoo![2][3] (operators of the world's largest search engines at that time)[4] 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.[5][6] They propose using the schema.org vocabulary along with the Microdata, RDFa, or JSON-LD formats[7] to mark up website content with metadata about itself. Such markup can be recognized by search engine spiders and other parsers, thus gaining access to the meaning of the sites (see Semantic Web). The initiative also describes an extension mechanism for adding additional properties.[8] Public discussion of the initiative largely takes place on the W3C public vocabularies mailing list.[9]

In 2012, the GoodRelations ontology was integrated into Schema.org.[10]

Much of the vocabulary on Schema.org was inspired by earlier formats, such as microformats, FOAF, and OpenCyc.[11] 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.[12] In 2015,[13] Google began supporting the JSON-LD format, and as of September, 2017 recommended using JSON-LD for structured data whenever possible.[14]

Such validators as the Google Structured Data Testing Tool,[15] Yandex Microformat validator,[16] and Bing Markup Validator[17] can be used to test the validity of the data marked up with the schemas and Microdata,

Some schema markups such as Organization and Person are used to influence Google's Knowledge Graph results.[18]

Examples[edit]

Microdata[edit]

The following is an example[19] 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[edit]

<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[edit]

<script type="application/ld+json">+schema app
{ 
  "@context": "http://schema.org/",
  "@type": "web master",
  "name": "schema.org/person",
  "Struturedata": 
    { 
       "@type": "Person",
       "name": "chema mpnrroy josepinedamonroy",
       "birthDate": "10/19/1982"
    },
  "geng": "male",
  "Mecanismo":microdata. ".estructuredate./" validador
}
</script>

References[edit]

  1. ^ "About schema.org initiative". W3C. Retrieved 28 June 2018. 
  2. ^ Introducing schema.org: Search engines come together for a richer web, Google blog, 2 June 2011
  3. ^ Introducing Schema.org: Bing, Google and Yahoo Unite to Build the Web of Objects, Bing blog, 2 June 2011
  4. ^ "Top 5 Search Engines from Oct to Dec 10". StatCounter. Retrieved 17 January 2011. 
  5. ^ nate451. "Yandex joins Google, Yahoo! and Bing to collaborate on Schema.org - TechCrunch". Retrieved 6 July 2017. 
  6. ^ "Yandex now supports schema.org markup". blog.schema.org. Retrieved 6 July 2017. 
  7. ^ "Getting Started - schema.org". schema.org. Retrieved 6 July 2017. 
  8. ^ "Extending Schemas". schema.org. 2011-06-02. Retrieved 2 June 2011. 
  9. ^ "W3C web vocabularies mailing list". w3.org. 2013-07-22. Retrieved 22 July 2013. 
  10. ^ "Good Relations and Schema.org". blog.schema.org. Retrieved 6 July 2017. 
  11. ^ "FAQ". schema.org. Retrieved 2 June 2011. 
  12. ^ "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. Retrieved 2015-04-13. 
  13. ^ "Easier website development with Web Components and JSON-LD". 2015-03-09. 
  14. ^ "Introduction to Structured Data". 2017-09-13. 
  15. ^ "Structured Data Testing Tool". www.google.com. Retrieved 6 July 2017. 
  16. ^ "Микроразметка — Яндекс.Вебмастер". webmaster.yandex.ru. Retrieved 6 July 2017. 
  17. ^ "Bing - Markup Validator". www.bing.com. Retrieved 6 July 2017. 
  18. ^ "Specify your social profiles to Google". Google Developers. Retrieved 2015-06-25. 
  19. ^ "Getting Started - schema.org". schema.org. Retrieved 6 July 2017. 

External links[edit]