How to write DL queries using java [closed]

拥有回忆 提交于 2019-12-12 05:29:49

问题


How do I connect an ontology using java? I have created an ontology using protege. How can I write DL queries in Java to use this ontology?


回答1:


You should take a look at the OWL API and Pellet.




回答2:


DL queries are simply OWL class expressions. You can use the OWL-API as suggested, look at the example provided here. If you need to perform some reasoning in order to retrieve the data of interest, add a reasoner on your classpath (Hermit, Pellet, etc...). You can also think of using the Brain library, developed for this purpose, yet only supporting the OWL2 EL profile at the time being.



来源:https://stackoverflow.com/questions/19228798/how-to-write-dl-queries-using-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!