RDF-3T test 3

Publishing an Article

Test Article

By: Author about: 43 days ago

This is an example RDF-3T post.

References:

<meta name="prefix" scheme="rdf" content="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
<meta name="prefix" scheme="rss" content="http://purl.org/rss/1.0/"/>
<meta name="prefix" scheme="dc" content="http://purl.org/dc/elements/1.1/"/>

Markup:

<div class="rdf:type=[rss:Channel]">
	<h1 class="rss:title=content">RDF-3T test 3</h1>
	<h2 class="rss:description=content">
		<a class="rss:link=resource" href="test3.html">Publishing an Article</a>
	</h2>
	<div class="rss:items=#_">
		<ol class="rdf:Seq=item">
			<li><a class="rdf:li=resource" href="#example">Test Article</a></li>
		</ol>
	</div>
</div>

<div class="rss:Item=item" id="example">
	<h3 class="rss:title=content">
		<a class="rss:link=resource" href="#example">Test Article</a>
	</h3>
	<p>By: <span class="dc:creator=content">Author</span> 
	about: <span class="dc:date=2009-01-02T13:14:25+01:00">43 days ago</span>
	</p>
	<div class="rss:content=literal">
		<p>This is an example RDF-3T post.</p>
	</div>
</div>

Results:

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xml:base="http://weborganics.co.uk/RDF-3T/test3.html">
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html">
    <rdf:type rdf:resource="http://purl.org/rss/1.0/channel"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html">
    <rss:title xmlns:rss="http://purl.org/rss/1.0/">RDF-3T test 3</rss:title>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html">
    <rss:description xmlns:rss="http://purl.org/rss/1.0/">Publishing an Article</rss:description>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html">
    <rss:link xmlns:rss="http://purl.org/rss/1.0/" rdf:resource="http://weborganics.co.uk/RDF-3T/test3.html"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html">
    <rss:items xmlns:rss="http://purl.org/rss/1.0/" rdf:nodeID="id1350540"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="id1350540">
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="id1350540">
    <rdf:li rdf:resource="http://weborganics.co.uk/RDF-3T/test3.html#example"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html#example">
    <rdf:type rdf:resource="http://purl.org/rss/1.0/Item"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html#example">
    <rss:title xmlns:rss="http://purl.org/rss/1.0/">Test Article</rss:title>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html#example">
    <rss:link xmlns:rss="http://purl.org/rss/1.0/" rdf:resource="http://weborganics.co.uk/RDF-3T/test3.html#example"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html#example">
    <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Author</dc:creator>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html#example">
    <dc:date xmlns:dc="http://purl.org/dc/elements/1.1/">2009-01-02T13:14:25+01:00</dc:date>
  </rdf:Description>
  <rdf:Description rdf:about="http://weborganics.co.uk/RDF-3T/test3.html#example">
    <rss:content xmlns:rss="http://purl.org/rss/1.0/" rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"><![CDATA[<div xmlns="http://www.w3.org/1999/xhtml"><p>This is an example RDF-3T post.</p></div>]]></rss:content>
  </rdf:Description>
</rdf:RDF>

Try: Get RDF-3T results or Convert to RDF/NTriples, using : Mindswap RDF Converter