[foaf-dev] Birth/death dates and places in the Bio vocab

Toby Inkster tai at g5n.co.uk
Mon Oct 4 10:33:50 CEST 2010


On Mon, 2010-10-04 at 09:50 +0200, Dan Brickley wrote:
> Also consider the complexity, readibility and maintainability of RDFa
> markup. 
> 
> Try adding semantics in long vs short form to 'Dan Brickley was born
> in Croydon, UK in 1972.'
> 
> (this also suggests birthYear etc might have value)

<html xml:lang="en"
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:bio="http://purl.org/vocab/bio/0.1/"
    xmlns:danbri="http://danbri.org/foaf.rdf#danbri"
    xmlns:dbpedia="http://dbpedia.org/resource/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#">    
...
<p typeof="bio:Birth">
  <span rel="bio:principal" resource="[danbri:]">Dan Brickley</span>
  was born in <span rel="bio:place" resource="[dbpedia:Croydon]">Croydon</span>
  in <span property="bio:date" datatype="xsd:gYear">1972</span>
</p>
...
</html>


-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>



More information about the foaf-dev mailing list