- From: Ivan Herman <ivan@w3.org>
- Date: Mon, 31 Oct 2011 10:04:10 +0100
- To: Gregg Kellogg <gregg@kellogg-assoc.com>
- Cc: HTML Data Task Force WG <public-html-data-tf@w3.org>
- Message-Id: <28E157AB-BA44-4300-8EDE-01A5427DF78E@w3.org>
Gregg, I am not sure I understand exactly what you mean by the various choices. Can you give examples with some well known vocabularies, like schema, dc, foaf, vcard, gr? I am also concerned by the fact microdata->rdf converters would have to consult the registry (ok, it can be cached, but nevertheless) for each and every @itemtype. This may be prohibitive. Also, a default mechanism should be made available in case the registry is unreachable, and this default should correspond to the most frequent usage (my feeling is that the most frequent usage was the approach you originally had, namely that the vocabulary base URI can be deduced from the @itemtype URI by cutting it back from its last component). Ivan On Oct 28, 2011, at 19:23 , Gregg Kellogg wrote: > I am preparing an update to the Microdata to RDF specification. I propose we resolve ISSUE 1 as follows: > > We define a registry mapping URI prefixes to property URI generation behavior with possible values of _vocabulary_, _type_, or _contextual_. @itemtypes which begin with URI prefix will use the associated value of property URI generation behavior when generating property URIs, and otherwise fall back to _contextual_. > > We also add a mapping from a URI prefix to the mechanism for serializing multi-valued properties with possible values _unordered_ and _list_. > > The format of the registry is undefined, as is the update process. I think this is really a fairly complicated issue, and probably beyond the scope of this TF. > > (Note there is some debate on if "registry" is the proper term, I'm sticking with it for now). > > For non-URI property names: > > _vocabulary_ URI generation constructs a URI by appending fragment-escaped property names to the URI prefix. > > _type_ URI generation constructs a URI by appending '#' and the fragment-escaped property name to the @itemtype URI. This is only valid for @itemtype URIs which do not, themselves, contain a fragment. > > _contextual_ URI generation uses the original property URI generation algorithm from [1]. > > > When generating triples for multi-valued properties, _subject_ and _predicate_ serialize the list of values as follows: > > _unordered_ generates a triple with _subject_, _predicate_ and _value_ for each _value_ in the list of values. > > _list_ generates an RDF Collection. > > I'm marking the issue as PENDINGREVIEW. > > Gregg > > [1] http://www.w3.org/2011/htmldata/track/issues/1 > > ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 PGP Key: http://www.ivan-herman.net/pgpkey.html FOAF: http://www.ivan-herman.net/foaf.rdf
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Monday, 31 October 2011 09:02:22 UTC