Using an implemented ontology(Protege) in Netbeans through Java -


step 1 : have created ontology using protege. store rdf/xml file.

step 2: have created user interface using netbeans & java.

i want import ontology in netbeans project , interact it.

how can that? suggested me should use jena. have installed latest jena version in netbeans project. im not sure if have done correctly.

after adding jena libraries tried that:

ont m = modelfactory.createontologymodel(ontmodelspec.owl_mem, null);

and when try run program:

log4j:warn no appenders found logger (com.hp.hpl.jena.util.filemanager). log4j:warn please initialize log4j system properly. log4j:warn see http://logging.apache.org/log4j/1.2/faq.html#noconfig more info.

i have knowledge of java have im new ontologies , have never done before.

please me understand im doing wrong or should make things right. thank you!

that warning get, might missing log4j library in netbeans project. can download in link http://logging.apache.org/log4j/1.2/download.html , try add log4j*.jar file project libraries.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -