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: Daniel E. Renfer <duck@kronkltd.net>
Date: Wed, 12 Mar 2008 16:11:04 -0400
Message-ID: <47D838D8.8070702@kronkltd.net>
To: public-rdf-in-xhtml-tf@w3.org
Mark Birbeck wrote:
> 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

Would:

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

also work if you didn't want to nest f within g?

Is there a more efficient way to say the same thing?

Daniel E. Renfer


Received on Wednesday, 12 March 2008 20:11:19 UTC

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