Skip to content

Instantly share code, notes, and snippets.

@deckool
Created July 27, 2016 14:33
Show Gist options
  • Save deckool/87c642a740d21c74a95b13e26e9111e5 to your computer and use it in GitHub Desktop.
Save deckool/87c642a740d21c74a95b13e26e9111e5 to your computer and use it in GitHub Desktop.
rdfa example article from IBM
<body vocab="http://schema.org/">
...
<div property="breadcrumb">
<a href="http://www.ibm.com/developerworks/">IBM developerWorks</a> >
<a href="http://www.ibm.com/developerworks/web/">Web development</a> >
<a href="http://www.ibm.com/developerworks/views/web/library.jsp"
>Technical library</a>
</div>
<div typeof="Article">
<div property="name">An introduction to RDF</div>
<p property="author" resource="#uche.ogbuji" typeof="Person">
by <span property="name">Uche Ogbuji</span>, <span property="jobTitle">Partner</span>,
<span property="worksFor">Zepheira</span>.
</p>
<div>Published: <span property="datePublished">01 Dec 2000</span></div>
<div property="description">
<b>Summary</b>: This article introduces Resource Description Framework (RDF),
developed by the W3C for Web-based metadata, using XML as an interchange syntax.
RDF's essential aim is to make work easier for autonomous agents,
which would refine the Web by improving search engines and service directories.
Author Uche Ogbuji gives an overview of RDF aspects from schemas to usage scenarios.
The article assumes that you are already familiar with XML.
</div>
<div>Tags for this article:
<span property="keywords">introduction</span>,
<span property="keywords">rdf</span>,
<span property="keywords">tutorial</span>
.</div>
<div prefix="fben: http://www.freebase.com/ns/">
This article's texts is suitable for a wide audience, with a Fog index of
<span property="fben:gunning_fog_index">10.2</span>.
</div>
</div>
...
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment