Jump to content

LRMI/Properties/teachesCompetencies: Difference between revisions

From CC Public Wiki
Created page with "'''Property''': teachesCompetencies '''Description''': '''Expected Type''': ===Examples=== <nowiki> put <html> examples here </nowiki>"
 
→Examples: added competency example using the new intangible
Line 7: Line 7:
===Examples===
===Examples===


<nowiki>
====Example 1====
put <html> examples here
'''markup:'''
<nowiki>
<div itemscope itemtype="http://schema.org/Book">
 
<link itemprop="url" href="http://example.com/IntroSDM.html" />
<span itemprop="name">Introduction to Single Digit Multiplication</span>
by <a itemprop="author" href="/author/JohnDoe.html">John Doe</a>.
 
<div itemprop="teachesCompetency" itemscope itemtype="http://schema.org/Competency">
This book teaches <a itemprop="url" href="http://purl.org/ASN/resources/S114347D">
<span itemprop="name">single digit multiplication</span></a>
 
</div>
</nowiki>
 
'''output of the [http://www.google.com/webmasters/tools/richsnippets|Google Rich Snippets Testing Tool]:'''
<nowiki>
Item
  Type: http://schema.org/book
  url = http://example.com/IntroSDM.html
  name = Introduction to Single Digit Multiplication
  author
    text = John Doe
    href = http://grossmeier.net/author/JohnDoe.html
  teachescompetency = Item( 1 )
Warning: Property "teachescompetency" was not found.
 
Item 1
  Type: http://schema.org/competency
  url
    text = single digit multiplication
    href = http://purl.org/ASN/resources/S114347D
  name = single digit multiplication
</nowiki>
</nowiki>

Revision as of 22:34, 15 November 2011

Property: teachesCompetencies

Description:

Expected Type:

Examples

Example 1

markup:

<div itemscope itemtype="http://schema.org/Book">

<link itemprop="url" href="http://example.com/IntroSDM.html" />
<span itemprop="name">Introduction to Single Digit Multiplication</span>
by <a itemprop="author" href="/author/JohnDoe.html">John Doe</a>.

<div itemprop="teachesCompetency" itemscope itemtype="http://schema.org/Competency">
This book teaches <a itemprop="url" href="http://purl.org/ASN/resources/S114347D">
<span itemprop="name">single digit multiplication</span></a>

</div>

output of the Rich Snippets Testing Tool:

Item
  Type: http://schema.org/book
  url = http://example.com/IntroSDM.html
  name = Introduction to Single Digit Multiplication
  author
    text = John Doe
    href = http://grossmeier.net/author/JohnDoe.html
  teachescompetency = Item( 1 )
Warning: Property "teachescompetency" was not found.

Item 1
  Type: http://schema.org/competency
  url
    text = single digit multiplication
    href = http://purl.org/ASN/resources/S114347D
  name = single digit multiplication