Re: What is the correct triples for this case?

Hi Micah,

>  Please ignore element names in this example and assume prefixes have
>  been declared. Given this:
>
>       <e rel="rel:foo">
>         <f property="prop:bar" content="x">
>         <g about="http://x"/>
>       </e>
>
>  What is the correct set of triples an RDFa extractor should generate per
>  Last Call rules?

(Assuming that the <f> is correctly closed. :))

There are a couple of very minor errors in the LC rules that will be
corrected, so the following is what _should_ be generated:

  <> rel:foo _:a .
  _:a prop:bar "x" .
  <> rel:foo<http://x> .

The processing explanation goes as follows:

The first line gives an 'incomplete triple' entry, which we store
pending the discovery of something useful to complete our triple:

  <> rel:foo ? .

We also store a bnode ready for later use, which we'll call _:a.

The next line gives us a literal property, using that bnode as the subject:

  _:a prop:bar "x" .

And since we now have a 'useful' triple, we also complete the
incomplete triple with the bnode as an object:

  <> rel:foo _:a .

Finally, the last line also completes the incomplete triple, but using
@about instead of a bnode:

  <> rel:foo<http://x> .

Regards,

Mark

-- 
  Mark Birbeck

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.x-port.net | http://internet-apps.blogspot.com

  x-port.net Ltd. is registered in England and Wales, number 03730711
  The registered office is at:

    2nd Floor
    Titchfield House
    69-85 Tabernacle Street
    London
    EC2A 4RR

Received on Wednesday, 12 March 2008 18:59:00 UTC