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    

[p4-feedback] How do you create Enumerated Classes - Protege 4.0beta

Gibson, A.P. A.P.Gibson at
Fri Aug 29 00:41:26 PDT 2008

Hi David,

Welcome back ;-)

I've attached an OWL file with your test in so you can see.

Instances in the enumeration are separated by commas, which I suspect was the root of your problem.

A lot of people don't know that if you hit the Tab key whilst typing in restrictions that you get autocomplete suggestions.

In this case, after typing 'eng' and hitting tab, you get suggested 'england'. I would expect that hitting tab again after choosing england would suggest a comma or } but this doesnt happen when the cursor is at the end of 'england'. If I put a space after england, I do get these suggestions, but then I have a syntax error because of the space - it would be nice if this was more intuitive.


Dr Andrew Gibson
Universiteit van Amsterdam

-----Original Message-----
From: p4-feedback-bounces at on behalf of David Legg
Sent: Fri 8/29/2008 12:50 AM
To: Submit feedback for Protege 4.0 alpha
Subject: [p4-feedback] How do you create Enumerated Classes - Protege 4.0beta
I've just started using P4 again after a long absence.  The last version 
I used was build 66.  I must say it has come on in leaps and bounds... 
well done!

I know the PDF manual isn't up to date yet but I was trying to look at 
section 7.3 'Enumerated Classes' - (page 96) and keep getting a syntax 
error when I try typing:

  {england france germany}

into the Class Expression Editor dialog window and as a result I can't 
press the greyed-out OK button to add the enumeration.  I keep getting a 
dashed red line under the first instance - england in this case.  The 
error message I get when I hover the mouse over the text is: -

  'encountered france at line 1 column 10. Expected one of: }'

The manual also mentions a tip that 'The enumerated classes wizard is 
available for creating enumerated classes in the above fashion' but I've 
not found that either.

David Legg

p4-feedback mailing list
p4-feedback at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 7215 bytes
Desc: not available
URL: <>

More information about the p4-feedback mailing list