- From: Erling Wegger Linde <erlingwl@gmail.com>
- Date: Wed, 13 May 2009 22:42:24 +0200
- To: Shane McCarron <shane@aptest.com>
- Cc: public-rdf-in-xhtml-tf@w3.org
- Message-ID: <9f0578290905131342q4cb2d60dp5a16c76dd65f9b57@mail.gmail.com>
Thanks a lot =) - Erling On Wed, May 13, 2009 at 10:26 PM, Shane McCarron <shane@aptest.com> wrote: > 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: shane@aptest.com > > > -- Med vennlig hilsen Erling Wegger Linde
Received on Wednesday, 13 May 2009 20:43:02 UTC