How do I read .owl
files in java and display its contents?
The OWL API in source forge (http://owlapi.sourceforge.net/) has all the basic functions, although the documentation is barely enough. You may end up wasting time figuring out how do the complex functions not shown in the examples.
I would recommend going for the Protege API for OWL files. (http://protegewiki.stanford.edu/wiki/ProtegeOWL_API_Programmers_Guide/). This API has good documentation and the wiki is easy to navigate. OWL files are not easy to work around because of its semantic nature and building your own API might not be easy. Protege also has SWRL API if you want to process axioms and rules.
Use The OWL API.
What's the context? OWL is an ontology format read by http://protege.stanford.edu/.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With