Re: user defined datatypes in OWL-DL possible?

On 27 Apr 2010, at 13:29, mjk wrote:

> 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.


Well, the online convert handles it fine
	http://owl.cs.manchester.ac.uk/converter/

Maybe try one of the other syntaxes?

What precise version of protege are you using? It opened fine for me  
in 4.1.0 Build 100. Just tried build 102 and it was fine.

Cheers,
Bijan.

Received on Tuesday, 27 April 2010 14:12:44 UTC