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 stanford.edu
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]
       

-Timothy


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 , http://www.w3.org/TR/owl2-manchester-syntax/#Property_and_Datatype_Expressions
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20100503/2529b3c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: String.owl
Type: application/rdf+xml
Size: 3228 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20100503/2529b3c2/attachment.owl>


More information about the protege-discussion mailing list