W3C home > Mailing lists > Public > public-owl-dev@w3.org > April to June 2010

Re: user defined datatypes in OWL-DL possible?

From: mjk <mariokofler@gmx.at>
Date: Tue, 27 Apr 2010 14:29:38 +0200
Message-ID: <20100427122938.184850@gmx.net>
To: public-owl-dev@w3.org
hello bijan,

thanks for the facts and the ontology. however when i try to load it in protege 4.1 it does not load with the user-defined datatype

    <rdfs:Datatype rdf:about="&Ontology1272020557141;areaUnitEnum">
        <owl:equivalentClass>
            <rdfs:Datatype>
                <owl:oneOf>
                    <rdf:Description>
                        <rdf:type rdf:resource="&rdf;List"/>
                        <rdf:first rdf:datatype="&xsd;string">SquareKilometers</rdf:first>
                        <rdf:rest>
                            <rdf:Description>
                                <rdf:type rdf:resource="&rdf;List"/>
                                <rdf:first rdf:datatype="&xsd;string">SquareMeters</rdf:first>
                                <rdf:rest rdf:resource="&rdf;nil"/>
                           </rdf:Description>
                        </rdf:rest>
                    </rdf:Description>
                </owl:oneOf>
            </rdfs:Datatype>
        </owl:equivalentClass>
    </rdfs:Datatype>

the error message is the following:

Apr 27, 2010 2:28:13 PM org.coode.owl.rdfxml.parser.IndividualListItemTranslator translate
INFO: Cannot translate list item to individual, because rdf:first triple is a literal triple

maybe someone knows what might be wrong.

thank you,

best regards,

mario


-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
Received on Tuesday, 27 April 2010 12:30:12 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 09:32:58 GMT