schemaorg-coda :: Example

eg-0212

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "Person",
  "name": "George Bush",
  "disambiguatingDescription": "41st President of the United States",
  "children": {
    "@type": "Person",
    "name": "George W. Bush",
    "disambiguatingDescription": "43rd President of the United States"
  }
}

RDFa

<div vocab="https://schema.org/" typeof="Person">
  <span property="name">George Bush</span>, the
  <span property="disambiguatingDescription">41st President of the United States</span>
  is the father of
  <div property="children" typeof="Person">
    <span property="name">George W. Bush</span>, the
    <span property="disambiguatingDescription">43rd President of the United States</span>.
  </div>
</div>

Microdata

<div itemscope itemtype="https://schema.org/Person">
  <span itemprop="name">George Bush</span>, the
  <span itemprop="disambiguatingDescription">41st President of the United States</span>
  is the father of
  <div itemprop="children" itemscope itemtype="https://schema.org/Person">
    <span itemprop="name">George W. Bush</span>, the
    <span itemprop="disambiguatingDescription">43rd President of the United States</span>.
  </div>
</div>

Pre-Markup

George Bush, the 41st President of the United States is the father of George W. Bush, the 43rd President of the United States.