Re: [foaf-dev] Birth/death dates and places in the Bio vocab
Toby Inkster <tai-hn3ClYY61nJaa/[email protected]>
| Newsgroups | gmane.comp.web.rdfweb |
|---|---|
| Message-ID | <[email protected]> |
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-0xSRQTJlU/5QSYw2qhZJOlpr/1R2p/[email protected]>
<http://tobyinkster.co.uk>