Close!
<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>
Note that space. @typeof takes a list of CURIEs. See
http://www.w3.org/TR/rdfa-syntax/#s_metaAttributes for the exact
datatype definitions of the various RDFa attributes.
Erling Wegger Linde wrote:
Hi folks!
Let's say I want to use both the http://rdf.data-vocabulary.org/
<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
<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
--
Shane P. McCarron Phone: +1 763 786-8160 x120
Managing Director Fax: +1 763 786-8180
ApTest Minnesota Inet: sh...@aptest.com