How to write DL queries using java [closed]

2019-09-02 02:03发布

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?

标签: ontology owl
2条回答
Fickle 薄情
2楼-- · 2019-09-02 02:43

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

查看更多
【Aperson】
3楼-- · 2019-09-02 03:00

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.

查看更多
登录 后发表回答