Re: Moving forward

Jos,

I would like to keep the OWL syntax reasonably accessable for those of us
who are using XML.

Contrast the below with:

<rdf:Description rdf:about="#John">
        <rdf:type>
                <owl:Class>
                    <owl:intersectionOf rdf:parseType="daml:collection">
                            <owl:Thing rdf:resource="#Student" />
                            <owl:Thing rdf:resource="#Person" />
                    </owl:intersectionOf>
                </owl:Class>
        </rdf:type>
</rdf:Description>

Jonathan
>
> [...]
>
> > Could you please show me the DAML i.e. RDF/XML syntax for
> > ":John a (owl:intersectionOf(Person Student))"
>
...
>
> <rdf:RDF xmlns="http://www.w3.org/2000/10/swap/log#"
>     xmlns:log="http://www.w3.org/2000/10/swap/log#"
>     xmlns:owl="http://www.w3.org/2001/10/daml+oil#"
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>
>     <rdf:Description rdf:about="http://example.org/eg#John">
>         <rdf:type rdf:parseType="Resource">
>             <first xmlns="http://www.daml.org/2001/03/daml+oil#"
>
rdf:resource="http://www.w3.org/2001/10/daml+oil#intersectionOf"/>
>             <rest xmlns="http://www.daml.org/2001/03/daml+oil#"
>                 rdf:parseType="Resource">
>                 <first rdf:parseType="Resource">
>                     <first rdf:resource="http://example.org/eg#Person"/>
>                     <rest rdf:parseType="Resource">
>                         <first
rdf:resource="http://example.org/eg#Student"/>
>                         <rest
rdf:resource="http://www.daml.org/2001/03/daml+oil#nil"/>
>                     </rest>
>                 </first>
>                 <rest
rdf:resource="http://www.daml.org/2001/03/daml+oil#nil"/>
>             </rest>
>         </rdf:type>
>     </rdf:Description>
> </rdf:RDF>
>
>
> (I just see some builtin assumption w.r.t.
>  xmlns="http://www.daml.org/2001/03/daml+oil#)
>
> --
> Jos
>
>

Received on Tuesday, 19 March 2002 14:27:08 UTC