RE: Multiple rdf:about in single element?

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 UTC