W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > March 2008

Re: What is the correct set of triples for this case?

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Wed, 12 Mar 2008 20:00:38 +0000
Message-ID: <a707f8300803121300j4d6276abp3969eeeb3edeb256@mail.gmail.com>
To: "Micah Dubinko" <mdubinko@yahoo-inc.com>
Cc: public-rdf-in-xhtml-tf@w3.org

HI Micah,

>  Now, if the order of the inner elements was swapped, it would be different, right?
>
>      <e rel="rel:foo">
>        <g about="http://x"/>
>        <f property="prop:bar" content="x"/>
>      </e>
>
>  Would yield
>
>  <> rel:foo <http://x>
>  <http://x> prop:bar "x"
>
>  Right?

No...exactly the same triples would be generated. To get what you want
you would need <f> to be a child of <g>:

  <e rel="rel:foo">
    <g about="http://x">
      <f property="prop:bar" content="x"/>
    </g>
  </e>

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 20:00:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:56 UTC