W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > May 2009

Multiple inheritance

From: Erling Wegger Linde <erlingwl@gmail.com>
Date: Wed, 13 May 2009 20:48:01 +0200
Message-ID: <9f0578290905131148r6c492026ke2adfc6d9be811ed@mail.gmail.com>
To: public-rdf-in-xhtml-tf@w3.org
Hi folks!

Let's say I want to use both the http://rdf.data-vocabulary.org/ vocabulary
such that google will recognize my markup (
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=146646)
and foaf.

I.e. foaf has more attributes, but I want google to recognize my markup as
well.

My N3 is a bit rusty, but couldn't you do like:

<#me> a foaf:Person, v:Person;
    foaf:name "Erling";
..

How do you express this in rdfa?

<div xmlns:v="http://rdf.data-vocabulary.org/"
xmlns:foaf="http://xmlns.com/foaf/0.1/" typeof="v:Person,foaf:Person">
   <span property="v:name">Erling</span>
</div>

?

Thanks,
Erling
Received on Wednesday, 13 May 2009 20:10:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 13 May 2009 20:10:32 GMT