The processing rules for property/rel

Gregg,

I spent some time yesterday (thanks to the train ride home) on the possible implementation of the the property/rel stuff. I am afraid the processing rules on 

http://www.w3.org/2010/02/rdfa/wiki/RDFaLiteWithProperty

are not complete. At least for what I thought we would like to do. I take your example:

<div vocab="http://schema.org/" typeof="Event">
  <a property="url" href="nba-miami-philidelphia-game3.html">
    <span property="description">
      NBA Eastern Conference First Round Playoff Tickets:
      Miami Heat at Philadelphia 76ers - Game 3 (Home Game 1)
    </span>
  </a>
</div>

and what we want is

[ a schema:Event;
  schema:url <nba-miami-philidelphia-game3.html>;
  schema:description """
      NBA Eastern Conference First Round Playoff Tickets:
      Miami Heat at Philadelphia 76ers - Game 3 (Home Game 1)
    """ ] .


However, in this case, step #5 will also kick in before #11 that you modified. That will set the new subject to <nba-miami-philidelphia-game3.html>; in step #13, this will modify the value of parent subject as used when getting into the recursive step, which means that this will be the subject of everything down the line. Ie, there is a chaining no matter what (in the current model). 

If we want to define the processing as you indicate, that means modifying #5. Essentially, if there is a @property and no @rel/@rev then, I believe, what should happen is:

- @about or @typeof should set a new subject (and that should be valid for the @property as well) otherwise the subject is the inherited one
- @href/@src/@data should _not_ set the new subject (but used as an object for @property) later, in your modified version of #11.

Editorially, I would probably prefer to cut processing step #5 into two, b.t.w.

Do I miss something?

Ivan

----
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

Received on Friday, 28 October 2011 13:21:23 UTC