W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2003

RE: Multiple rdf:about in single element?

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Mon, 20 Jan 2003 10:43:25 +0100
To: "Eric Jain" <Eric.Jain@isb-sib.ch>, "rdf-interest" <www-rdf-interest@w3.org>
Message-ID: <BHEGLCKMOHGLGNOKPGHDOEPHCAAA.jjc@hpl.hp.com>


Using OWL or DAML+OIL, sort of.

Try:

<owl:Class rdf:ID="xx">
  <owl:subClassOf>
    <owl:Restriction>
      <owl:onProperty rdf:resource="&eg1;item"/>
      <owl:hasValue rdf:resource="#E1"/>
    </owl:Restriction>
  </owl:subClassOf>
</owl:Class>
<eg2:xx rdf:about="#A1"/>
<eg2:xx rdf:about="#A2"/>

Don't know if any tools support this yet though.
And it isn't shorter for only two items.

Jeremy

> -----Original Message-----
> From: www-rdf-interest-request@w3.org
> [mailto:www-rdf-interest-request@w3.org]On Behalf Of Eric Jain
> Sent: 20 January 2003 10:11
> To: rdf-interest
> Subject: Multiple rdf:about in single element?
> 
> 
> 
> Is there any way to collapse the following statements 
> 
>   <Item ref:ID="E1">
>     ...
>   </Item>
>   <rdf:Description rdf:about="#A1">
>     <item rdf:resource="#E1"/>
>   </rdf:Description>
>   <rdf:Description rdf:about="#A2">
>     <item rdf:resource="#E1"/>
>   </rdf:Description>
> 
> into a more compact representation such as:
> 
>  <rdf:Description rdf:about="#A1 #A2">
>    <item>...</item>
>  </rdf:Description>
> 
> ?
> 
> 
> --
> Eric Jain
> 
> 
Received on Monday, 20 January 2003 04:43:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:57 GMT