WebSchemas/FictionalThing

From W3C Wiki
< WebSchemas
Revision as of 14:05, 15 February 2013 by Scorlosq (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


This is a WebSchemas proposal FictionalThing proposal for schema.org. See Proposals listing for more. Status: Proposal



Overview

This page describes schema.org proposal, containing necessary type and properties to describe fictional things of any type.

Usage recommendation

By use of the Thing->additionalType (in Microdata) or (RDFa native) typeof attribute, any description of a thing (person, place, product, organization, etc.) can additionally be defined as fictional. With the ability to define the creative works in which it first appeared, and or were referenced. The fictionalRepresentationOf property facilitates the representation of real things that the described thing references (real People, Places, Organizations, etc.)

Vocabulary changes summary

Add type Thing->Intangible->FictionalThing

Property Type Description
createdIn CreativeWork Creative work in which fictional thing first appeared
referencedIn CreativeWork Creative work in which fictional thing is referenced
fictionalRepresentationOf Thing Thing that this is a fictional representation of.







Examples

This class can be used in many ways:

1) Describing a fictional organization - eg. The organization SMERSH from the James Bond books.
Microdata

  1. <!--A fictional organisation -->
  2. <div itemscope itemtype="http://schema.org/Organization">
  3. 	<link itemprop="additionalType" href="http://schema.org/FictionalThing"/>
  4. 	Organization: <span itemprop="name">SMERSH</span><br/>
  5. 	<span itemprop="createdIn" itemscope itemtype="http://schema.org/Book">
  6. 		First appeared in the novel: <span itemprop="name">Casino Royale</span><br/>
  7. 	</span>
  8. 	<span itemprop="referencedIn" itemscope itemtype="http://schema.org/Book">
  9. 		Appeared again in the novel: <span itemprop="name">Live and Let Die</span><br/>
  10. 	</span>
  11. 	<span itemprop="referencedIn" itemscope itemtype="http://schema.org/Book">
  12. 		Appeared again in the novel: <span itemprop="name">From Russia, with Love</span><br/>
  13. 	</span>
  14. 	<span itemprop="referencedIn" itemscope itemtype="http://schema.org/Book">
  15. 		Appeared again in the novel: <span itemprop="name">Goldfinger</span><br/>
  16. 	</span>
  17. </div>

RDFa

  1. <!--A fictional organisation -->
  2. <div vocab="http://schema.org/" typeof="Organization FictionalThing">
  3. 	Organization: <span property="name">SMERSH</span><br/>
  4. 	<span property="createdIn" typeof="Book">
  5. 		First appeared in the novel: <span property="name">Casino Royale</span><br/>
  6. 	</span>
  7. 	<span property="referencedIn" typeof="Book">
  8. 		Appeared again in the novel: <span property="name">Live and Let Die</span><br/>
  9. 	</span>
  10. 	<span property="referencedIn" typeof="Book">
  11. 		Appeared again in the novel: <span property="name">From Russia, with Love</span><br/>
  12. 	</span>
  13. 	<span property="referencedIn" typeof="Book">
  14. 		Appeared again in the novel: <span property="name">Goldfinger</span><br/>
  15. 	</span>
  16. </div>


2) The city of Paris - fictional representation in the movie Les Misérables.
Microdata

  1. <!--A fictional representation of real place -->
  2. <div itemscope itemtype="http://schema.org/Place">
  3. 	<link itemprop="additionalType" href="http://schema.org/FictionalThing"/>
  4. 		City of: <span itemprop="name">Paris</span><br/>
  5. 		Set in: <a itemprop="fictionalRepresentationOf" itemscope itemtype="http://schema.org/Place" href="http://en.wikipedia.org/wiki/Paris">
  6. 			<span itemprop="name">Paris</span><br/>
  7. 		</a>
  8. 		<span itemprop="referencedIn" itemscope itemtype="http://schema.org/Movie">
  9. 			Depicted in the Movie: <span itemprop="name">Les Misérables</span> (2012)<br/>
  10. 		</span>
  11. </div>

RDFa

  1. <!--A fictional representation of real place -->
  2. <div vocab="http://schema.org/" typeof="Place FictionalThing">
  3. 		City of: <span property="name">Paris</span><br/>
  4. 		Set in: <a property="fictionalRepresentationOf" typeof="Place" href="http://en.wikipedia.org/wiki/Paris">
  5. 			<span property="name">Paris</span><br/>
  6. 		</a>
  7. 		<span property="referencedIn" typeof="Movie">
  8. 			Depicted in the Movie: <span property="name">Les Misérables</span> (2012)<br/>
  9. 		</span>
  10. </div>