An HTML5+RDFa1.1 version of an example article by Jason Ronallo

  • Download Gist
students-jumping-in-front-of-memorial-bell-tower.html
HTML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
<!-- An RDFa 1.1 version of the data presented in the article
"HTML5 Microdata and Schema.org" at
<http://journal.code4lib.org/articles/6400>.
The article is licensed under a Creative Commons Attribution 3.0 United
States License. This example code should be consired a remix thereof. -->
<div id="main" role="main" class="container_12" vocab="http://schema.org/" resource="" typeof="ItemPage">
<h2 id="page_name" property="name">
Students jumping in front of Memorial Bell Tower
</h2>
<div class="grid_5" resource="http://www.freebase.com/m/026twjv">
<img property="image" id="main_image" alt="Students jumping in front of Memorial Bell Tower" src="/images/bell_tower.png">
</div>
<div id="metadata" class="grid_7" property="about" resource="/images/bell_tower.png" typeof="Photograph">
<div id="object" class="info">
<h2>Photograph Information</h2>
<dl>
<dt>Created Date</dt>
<dd>
<time property="dateCreated" datetime="1981">circa 1981</time>
</dd>
 
<dt>Subjects</dt>
<dd>
<span property="keywords"><a href="/s/buildings">Buildings</a></span><br>
<span property="keywords"><a href="/s/students">Students</a></span><br>
</dd>
 
<dt>Genre</dt>
<dd>
<span property="genre"><a href="/g/architectural_photos">Architectural photographs</a></span><br>
<span property="genre"><a href="/g/publicity_photos">Publicity photographs</a></span>
</dd>
 
<dt>Digital Collection</dt>
<dd><a href="/c/uapc">University Archives Photographs</a></dd>
</dl>
</div><!-- item -->
 
<div id="building" class="info" property="about" resource="http://www.freebase.com/m/026twjv" typeof="LandmarksOrHistoricalBuildings">
<h2>Building Information</h2>
<dl>
<dt>Building Name</dt>
<dd><span property="name"><a href="/b/memorial_tower">Memorial Tower</a></span></dd>
 
<dt>Description</dt>
<dd property="description">Memorial Tower honors those alumni who were killed in World War I.
The cornerstone was laid in 1922 and the Tower was dedicated on
November 11, 1949.</dd>
 
<dt>Address</dt>
<dd property="address" typeof="PostalAddress">
<span property="streetAddress">2701 Sullivan Drive</span><br>
<span property="addressLocality">Raleigh</span>, <span property="addressLocality">NC</span> <span property="postalCode">26707</span>
</dd>
 
<dt>Latitude, Longitude</dt>
<dd property="geo" typeof="GeoCoordinates">
<span property="latitude" datatype="xsd:decimal">35.786098</span>,
<span property="longitude" datatype="xsd:decimal">-78.663498</span>
</dd>
 
</dl>
</div><!-- building -->
 
<div id="source" class="info">
<h2>Source Information</h2>
<dl>
<!-- ... -->
<dt>Rights</dt>
<dd property="dc:rights">
Reproduction and use of this material requires permission from
North Carolina State University.</dd>
</dl>
</div><!-- source -->
</div>
</div>
students-jumping-in-front-of-memorial-bell-tower.ttl
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfa: <http://www.w3.org/ns/rdfa#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix : <http://schema.org/> .
 
<> a :ItemPage;
:about </images/bell_tower.png>;
:name "Students jumping in front of Memorial Bell Tower";
dc:rights "Reproduction and use of this material requires permission from North Carolina State University.";
rdfa:usesVocabulary : .
 
</images/bell_tower.png> a :Photograph;
:about <http://www.freebase.com/m/026twjv>;
:dateCreated "1981"^^xsd:gYear;
:genre "Architectural photographs",
"Publicity photographs";
:keywords "Buildings",
"Students" .
 
<http://www.freebase.com/m/026twjv> a :LandmarksOrHistoricalBuildings;
:address [ a :PostalAddress;
:addressLocality "NC",
"Raleigh";
:postalCode "26707";
:streetAddress "2701 Sullivan Drive" ];
:description "Memorial Tower honors those alumni who were killed in World War I. The cornerstone was laid in 1922 and the Tower was dedicated on November 11, 1949.";
:geo [ a :GeoCoordinates;
:latitude 35.786098;
:longitude -78.663498 ];
:image </images/bell_tower.png>;
:name "Memorial Tower" .

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.