Skip to content

Commit

Permalink
Merge pull request #1489 from schemaorg/identifierexamples
Browse files Browse the repository at this point in the history
added examples for new 'identifier' property
  • Loading branch information
danbri committed Mar 16, 2017
2 parents c1f33fe + 673275a commit 9dd29d9
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions data/sdo-identifier-examples.txt
@@ -0,0 +1,104 @@
TYPES: #identifier-1 identifier

PRE-MARKUP:

<p>
Title: Library linked data in the cloud : OCLC's experiments with new models of resource description<br/>
Author: Carol Jean Godby<br/>
ISBN: 9781627052191<br/>
oclcnum: 889647468<br/>
Details: <a href="http://www.worldcat.org/oclc/889647468">WorldCat.org</a>
</p>

MICRODATA:

<p itemscope itemtype="http://schema.org/Book">
Title: <span itemprop="name">Library linked data in the cloud : OCLC's experiments with new models of resource description</span><br/>
Author: <span itemprop="author>Carol Jean Godby</span><br/>
ISBN: <span itemprop="isbn">9781627052191</span><br/>
<link itemscope itemprop="identifier" itemptype="http://schema.org/PropertyValue">
<span itemprop="propertyID">OCoLC</span>:
<span itemprop="value">889647468</span>
</link><br/>
Details: <a itemprop="sameAs" href="http://www.worldcat.org/oclc/889647468">WorldCat.org</a>
</p>

RDFA:

<p vocab="http://schema.org/" typeof="Book">
Title: <span property="name">Library linked data in the cloud : OCLC's experiments with new models of resource description</span><br/>
Author: <span property="author>Carol Jean Godby</span><br/>
ISBN: <span property="isbn">9781627052191</span><br/>
<link property="identifier" typeof="PropertyValue">
<span property="propertyID">OCoLC</span>:
<span property="value">889647468</span>
</link><br/>
Details: <a property="sameAs" href="http://www.worldcat.org/oclc/889647468">WorldCat.org</a>
</p>

JSON:

{
"@context": "http://schema.org/",
"@type": "Book",
"name": "Library linked data in the cloud : OCLC's experiments with new models of resource description",
"author": "Carol Jean Godby",
"isbn": "9781627052191"
"identifier": {
"@type": "PropertyValue",
"propertyID": "OCoLC",
"value": "889647468"
},
"sameAs": "http://www.worldcat.org/oclc/889647468"
}

TYPES: #identifier-2 identifier

PRE-MARKUP:

<div">
Company Record
<h1>A UK Organization Ltd</h1>
Registered office address: 1 A Street, London<br/>
Company Number: 99065782
</div>

MICRODATA:
<div itemscope itemtype="http://schema.org/LocalBusiness">
Company Record
<h1 itemprop="name">A UK Organization Ltd</h1>
Registered office address: <span itemprop="address">1 A Street, London</span><br/>
<link temscope itemprop="identifier" itemptype="http://schema.org/PropertyValue">
<span itemprop="propertyID">Company Number</span>:
<span itemprop="value">99065782</span>
</link><br/>
</div>

RDFA:

<div vocab="http://schema.org/" typeof="LocalBusiness">
Company Record
<h1 property="name">A UK Organization Ltd</h1>
Registered office address: <span property="address">1 A Street, London</span><br/>
<link property="identifier" type="PropertyValue">
<span property="propertyID">Company Number</span>:
<span property="value">99065782</span>
</link><br/>
</div>

JSON:

{
"@context": "http://schema.org/",
"@type": "LocalBusiness",
"name": "A UK Organization Ltd",
"address": "1 A Street, London"
"identifier": {
"@type": "PropertyValue",
"propertyID": "Company Number",
"value": "99065782"
},
}



0 comments on commit 9dd29d9

Please sign in to comment.