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

Re: user defined datatypes in OWL-DL possible?

From: Bijan Parsia <bparsia@cs.man.ac.uk>
Date: Tue, 27 Apr 2010 15:13:02 +0100
Message-Id: <F7699520-7C37-44B5-BC3D-8897607CD932@cs.man.ac.uk>
Cc: public-owl-dev@w3.org
To: "mjk" <mariokofler@gmx.at>
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 GMT

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