Re: Moving forward

[...]

> Could you please show me the DAML i.e. RDF/XML syntax for
> ":John a (owl:intersectionOf(Person Student))"

trusting cwm, and giving it

#################################
@prefix : <http://example.org/eg#> .
@prefix owl: <http://www.w3.org/2001/10/daml+oil#> .
:John a ( owl:intersectionOf( :Person :Student ) ) .


that would be in RDF/XML

<!------------------------------------------------------------------>
<!-- Processed by Id: cwm.py,v 1.91 2002/03/12 20:57:15 timbl Exp -->
<!--     using base file:/n3/jb.n3-->


<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 13:38:31 UTC