Skip to content

Microdata schemas lack microdata specific towards literary works published on websites that are not in book form. Literary Works are extensions to the core CreativeWork class.

TheatreSean/literary-works

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Literary Works

====================

Schema.org lacks microdata specific towards literary works - that are not in book form - published on websites. The purpose of this public endeavor is to codify and uniformly introduce microdata that will benefit all authors.

Schema.org offers a simple method for extending their core microdata classes and properties. The Type Hierarchy shows the current microdata hierarchy in a single file.

Literary Works are extensions to the core CreativeWork class. These extensions may be used with HTML5 or RDFa Lite attributes in conjunction with existing CreativeWork properties.

These extensions are allowed and encouraged by the Schema.org Extension Mechanism :

"Therefore, schema.org has created an extension mechanism that lets webmasters and developers extend our existing schemas. When you extend our schemas and use these extensions to mark up your data, search applications can at least partially understand your markup and use the data appropriately.

"(Of course, you can always create new schemas that are not at all tied to those on schema.org, and you should do this if the content of your domain is not covered by any of the schema.org types. If the schema gains adoption and proves useful to search applications, search engines may start using this data.)

"Extensions that gain significant adoption on the web may be moved into the core schema.org vocabulary, so that search engines can provide more functionality based on better understanding of the structured data."

Extensions

==================== The following are the currently proposed extensions. However, it is by no means complete.

Story

====================

  • http://schema.org/CreativeWork/Story
  • http://schema.org/CreativeWork/Story/storyChapter
  • http://schema.org/CreativeWork/ShortStory
  • http://schema.org/CreativeWork/Parable
  • http://schema.org/CreativeWork/Fable
  • http://schema.org/CreativeWork/FolkTale
  • http://schema.org/CreativeWork/Prose

Poetry

====================

  • http://schema.org/CreativeWork/Poetry
  • http://schema.org/CreativeWork/Poetry/Poem
  • http://schema.org/CreativeWork/Poetry/Ideogramme
  • http://schema.org/CreativeWork/Poetry/Rhyme
  • http://schema.org/CreativeWork/Poetry/Verse
  • http://schema.org/CreativeWork/Poetry/BlankVerse
  • http://schema.org/CreativeWork/Poetry/FreeVerse
  • http://schema.org/CreativeWork/Poetry/ConcreteVerse
  • http://schema.org/CreativeWork/Poetry/Sonnet
  • http://schema.org/CreativeWork/Poetry/Couplet
  • http://schema.org/CreativeWork/Poetry/Ballad
  • http://schema.org/CreativeWork/Poetry/Haiku
  • http://schema.org/CreativeWork/Poetry/Tanka
  • http://schema.org/CreativeWork/Poetry/Limerick
  • http://schema.org/CreativeWork/Poetry/Ode
  • http://schema.org/CreativeWork/Poetry/Ghazal
  • http://schema.org/CreativeWork/Poetry/Villanelle
  • http://schema.org/CreativeWork/Poetry/Shi

Nonfiction

====================

  • http://schema.org/CreativeWork/Epistle
  • http://schema.org/CreativeWork/Memoir
  • http://schema.org/CreativeWork/Biography
  • http://schema.org/CreativeWork/Autobiography
  • http://schema.org/CreativeWork/Essay
  • http://schema.org/CreativeWork/Elegy
  • http://schema.org/CreativeWork/Satire

Theatrical

====================

  • http://schema.org/CreativeWork/Play
  • http://schema.org/CreativeWork/Play/playAct
  • http://schema.org/CreativeWork/Play/playScene
  • http://schema.org/CreativeWork/Play/musicalBook
  • http://schema.org/CreativeWork/SongLyric
  • http://schema.org/CreativeWork/Libretto

Examples - Microdata + HTML 5

====================

Used in a sentence:

<p itemscope itemtype="http://schema.org/CreativeWork/FreeVerse">
  <span itemprop="name" lang="fr">Un Coup de Dés Jamais N'Abolira Le Hasard</span>—
  <link itemprop="url" href="http://coupdedes.com/">
  by <span itemprop="author" lang="fr">Stéphane Mallarmé</span> is one of the finest examples of free verse.
</p>

Used in a navigation link:

[ ... ]
<li>
<b><span lang=fr>VERS</span></b> : <span itemscope itemtype="http://schema.org/CreativeWork/Story/Chapter"><a href="/oculus/1/1#oculusWorkTitle-page" itemprop="name">Zo&#235;; or, On the Clockwork Spheres of Paradise [<span lang=fr>Notre-Dame-de-Gr&#226;ce</span>]</a></span>.
</li>
[ ... ]

Used in a single page:

<div itemscope itemtype="http://schema.org/CreativeWork/">
<p><span itemprop="name">Ozymandias</span><br>
by <span itemprop="author">Percy Bysshe Shelley</span><br>
[Published <meta itemprop="datePublished" content="1818-01-11">January 11, 1818]</p>
<p itemscope itemtype="http://schema.org/CreativeWork/Poetry/Sonnet"> 
I met a traveller from an antique land<br>
Who said: Two vast and trunkless legs of stone<br>
Stand in the desert...Near them, on the sand,<br>
Half sunk, a shattered visage lies, whose frown,<br>
And wrinkled lip, and sneer of cold command,<br>
Tell that its sculptor well those passions read<br>
Which yet survive, stamped on these lifeless things,<br>
The hand that mocked them, and the heart that fed:<br>
And on the pedestal these words appear:<br>
"My name is Ozymandias, king of kings:<br>
Look on my works, ye Mighty, and despair!"<br>
Nothing beside remains. Round the decay<br>
Of that colossal wreck, boundless and bare<br>
The lone and level sands stretch far away.<p>
</div>

Examples - Microdata + RDFa Lite

==================== This section is pending examples. RDFa 1.1 and Microdata do not map properly, e.g., name is used by Microdata as the title but RDFa 1.1 uses name as the name of a person. In this particular instance, RDFa 1.1 name does not map to Microdata author.

License

==============

This work is licensed under a Creative Commons Attribution 3.0 Unported License .

About

Microdata schemas lack microdata specific towards literary works published on websites that are not in book form. Literary Works are extensions to the core CreativeWork class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published