Proposal to resolve ISSUE-1

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

Received on Friday, 28 October 2011 17:23:50 UTC