TYPES: CreativeWork, Thing

PRE-MARKUP:

See JSON example.

MICRODATA:

See JSON example.

RDFA:

See JSON example.

JSON:
<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Thing",
  "name": "Schema.org Ontology",
  "subjectOf": {
    "@type": "Book",
    "name": "The Complete History of Schema.org"
    }
  }
}
</script>

TYPES: CreativeWork, Thing

PRE-MARKUP:

See JSON example.

MICRODATA:

See JSON example.

RDFA:

See JSON example.

JSON:
<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Thing",
  "name": "Schema.org Ontology",
  "subjectOf": {
    "@type": "Book",
    "name": "The Complete History of Schema.org"
  }
}
</script>

Remove spurious bracket from JSON example for subjectOf
Remove spurious bracket from JSON example for subjectOf
