Re: user defined datatypes in OWL-DL possible?

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 UTC