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-owl] how to use restrictions in protege

Tania Tudorache tudorache at
Wed Mar 25 18:27:45 PDT 2009

If you have an OWL file that you cannot open in protege, please post the 
exception that you get in the console. If you send the file, we can see 
what is wrong.

To learn more about the role of restrictions in OWL, I suggest to take a 
look at the OWL tutorial:


Quratulain Rajput wrote:
> I have the following issues:
>  I create instance of a class which can be view if I open owl file in 
> notepad but not shown in protege.
> I define restriction in owl file using protege, when I given values by 
> individual in protege it is taking any type of value. what is the 
> advantage to define restriction.
>   here is a code
> FileOutputStream output=
> null;
> try
> {
> output=
> new FileOutputStream("c:/java/m.owl");
> }
> catch(Exception e)
> {
> System.
> err.println("Error Creation File");
> System.exit(1);
> }
> for (Iterator x=c.listDeclaredProperties(); x.hasNext();)
> {
> OntProperty p=(OntProperty);
> Individual ind=
> m.createIndividual("l1",c);
> ind.addLiteral(p, data);
> m.writeAll(output, "RDF/XML-ABBREV", "xmlbase");
> System.
> out.println("##############");
> }
> ------------------------------------------------------------------------
> _______________________________________________
> protege-owl mailing list
> protege-owl at
> Instructions for unsubscribing: 

More information about the protege-owl mailing list