Thursday, May 8, 2008

How to use protege OWL API in Eclipse

1-Create Java Project
2-Goto Project->Properties-> Java Build Paths

Libraries tab, click add external JARS and go
inside Protege directory ->select all jar files.
inside Protege directory ->Plugins inside (edu.stanford.smi.protegex.owl) select all jar files.
Also
Select protege.api from /protege/


in Java code

import edu.stanford.smi.protegex.owl.ProtegeOWL;
import edu.stanford.smi.protegex.owl.model.*;

1 comment:

Unknown said...

Hi de, thank for this.
It helped in getting me started. Is there any other postings of yours I could read. I'm still learning how to integrate these two tools