[whatwg] Annotating structured data that HTML has no semantics for
Giovanni Gentili
giovanni.gentili at gmail.com
Wed May 13 08:07:09 PDT 2009
>> In terms of prefixes, I find that 'com.foaf-project.name' is a lot more
>> difficult to write than 'foaf:name'. Reverse domain names are
>> non-intuitive for non-programmer types (or non-Java programmers).
>
> If we can come up with a way of using the string "foaf:name" without
> having to declare "foaf" in each document, I'm totally in agreement. I've
> considered maybe registering the "foaf" URL scheme, or using some other
> punctuation character and having people register prefixes, but I don't
> know what punctuation character to use (':' and '.' are both taken).
put in HTML5 some predefinited prefixes for @itemprop:
dc = http://purl.org/dc/terms/
foaf = http://xmlns.com/foaf/0.1/
vcard = http://www.w3.org/2001/vcard-rdf/3.0#
owl = http://www.w3.org/2002/07/owl#
rdf = http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs = http://www.w3.org/2000/01/rdf-schema#
sioc = http://rdfs.org/sioc/ns#
skos = http://www.w3.org/2004/02/skos/core#
xsd = http://www.w3.org/2001/XMLSchema#
also, instead of @item @itemprop @subject
is better @item @prop @subj
or @rdf-typeof @rdf-property @rdf-about (and @rdf-rel)
--
Giovanni Gentili
More information about the whatwg
mailing list