开发者

Using Protege owl ontology on Android

开发者 https://www.devze.com 2023-01-06 12:31 出处:网络
I have a practical se开发者_如何学Pythonminar this semester, and I want to use ontology on Android application.

I have a practical se开发者_如何学Pythonminar this semester, and I want to use ontology on Android application. I choose Protege owl ontology as a ontology API and this tool worked in normal Java project. But when I tried to import this jar files which for the owl ontology API in Android project.It will fail and I haven't found any solutions in the Internet.Can you help me?


If you want to have a programmatic access to OWL ontologies using Java, you could use the OWL-API directly, on the top of which Protege is built in the first place.

If your ontology follows a OWL 2EL profile you have also the possibility to use Brain.


I have tried this some time ago and it worked well.

Android Java is not standard Java, so you may need to port OWL-API (or whatever the library you choose, it can be Jena as well) java source code to android platform. This may require some changes in source code as all the standard java classes are not available in android Java. This effort includes the library source jars if there are any.

Few ported libraries are available on android already. please refer this link

Please note that performance wouldn't be good on device with the bigger ontologies.

0

精彩评论

暂无评论...
验证码 换一张
取 消