schemaorg-coda :: Example

eg-0214

From v29.4

JSON-LD

{
  "@context": {
    "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
    "rdfa": "http://www.w3.org/ns/rdfa#",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#"
  },
  "@id": "http://www.worldcat.org/oclc/41310554",
  "rdfa:usesVocabulary": {
    "@id": "schema:"
  },
  "@type": "schema:Atlas",
  "schema:name": "Atlas of the World",
  "schema:alternateName": "National Geographic atlas of the world",
  "schema:disambiguatingDescription": "7th ed.",
  "schema:datePublished": "1999",
  "schema:publisher": "National Geographic Society"
}

RDFa

<div vocab="https://schema.org/" resource="http://www.worldcat.org/oclc/41310554" typeof="Atlas">
  <h1 property="name">Atlas of the World</h1>
  <h2 property="alternateName">National Geographic atlas of the world</h2>
  <div>Edition: <span property="disambiguatingDescription">7th ed.</span></div>
  <div>Publisher: <span property="publisher">National Geographic Society</span></div>
  <div>Published: <span property="datePublished">1999</span></div>
</div>

Microdata

<div itemscope itemtype="https://schema.org/Atlas" itemid="http://www.worldcat.org/oclc/41310554">
	<h1 itemprop="name">Atlas of the World</h1>
	<h2 itemprop="alternateName">National Geographic atlas of the world</h2>
	<div>Publisher: <span itemprop="disambiguatingDescription">7th ed.</span></div>
	<div>Publisher: <span itemprop="publisher">National Geographic Society</span></div>
	<div>Published: <span itemprop="datePublished">1999</span></div>
</div>

Pre-Markup

An Atlas.

<div>
  <h1>Atlas of the World</h1>
  <h2>National Geographic atlas of the world</h2>
  <div>Edition: 7th ed.</div>
  <div>Publisher: National Geographic Society</div>
  <div>Published: 1999</div>
</div>