Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Protege Datarange Expression Editor -- how to use it -- minLength

Timothy Redmond tredmond at
Mon May 3 12:10:58 PDT 2010

So the notation for the minLength 2 facet looks as follows (using the 
Manchester OWL Syntax):

    string[minLength 2]

So in the attached ontology I define the class  A to be

    p some string[minLength 2]


On 04/30/2010 11:03 AM, Tobias Wunner wrote:
> Hi,
> I am using Protege 4.0.2. (build 115) and wanted to model Datatype which is a String and must have minLength 2 characters and maxLength 2 characters. I found in the OWL2 Specification [1] that this is actually possible in OWL2 and it seemed to me that the "Protege Datarange Expression Editor" is the tool to do it. Unfortunately after entering the String:
> 	string and (minLength "2"^^integer)
> in the editor Protege converted the it back to "string".
> Cheers,
> Tobias
> References
> [1] Property and Datatype Expressions ,
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: String.owl
Type: application/rdf+xml
Size: 3228 bytes
Desc: not available
URL: <>

More information about the protege-discussion mailing list