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 create instance of class using jena

Quratulain Rajput quratulain.rajput at gmail.com
Fri Mar 20 07:55:33 PDT 2009


I have create an OWL file using protege.

I have defined Laptop ontology have only one class LAPTOP with five datatype
properties.
I want to create instance of this class and want assign values to datatype
properties.



Individual ind=c.createIndividual("l1");

x=c.listDeclaredProperties()

OntProperty p=(OntProperty) x.next();

ind.addLiteral(p, data);



but no change in owl file.





please Help...................................



Quratulain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20090320/65bbdf50/attachment.html>


More information about the protege-owl mailing list