Re: WOWG: first language proposal

Jeff Heflin wrote:

> 
> Yes, that is basically what I mean. In an earlier message [1], I gave
> some examples of what an XML syntax for WebOnt might look like. One
> example from that message was:
> 
> <!-- This says that a trio has three members, all of whom are musicians.
> -->
>   <owl:class ID="Trio">
>      <owl:hasProperty ref="#hasMember">
>         <owl:cardinality value="3" />
>         <owl:allvalues>
>            <owl:class ref="#Musician" />
>         </owl:allvalues>
>      </owl:hasProperty>
>   </owl:class>

but in something RDF compatible:

<Class rdf:ID="Trio">
        <subClassOf>
                <Restriction>
                        <onProperty rdf:resource="#hasMember"/>
                        <cardinality>3</cardinality>
                        <rdf:range rdf:resource="#Musician"/>
                </Restriction>
        </subClassOf>
</Class>

which, gosh, isn't all that different, is it?

Jonathan

Received on Friday, 5 April 2002 14:27:15 UTC