如何以编程方式使用 DL 查询

发布于 2024-09-04 05:03:34 字数 182 浏览 5 评论 0原文

我想知道是否可以在 Protege 中以编程方式使用 DL Query。是否可以在 Java 中输入查询并像在 SQL 中那样检索个人?

例如,查询是 hasCalorificContentValue value 723,我想检索一个名为 QuattroFormaggio 的个人。

I would like to know whether I can use DL Query in Protege programatically. Is it possible to enter a query in Java and retrieve individuals like how it is done in SQL?

E.g. query is hasCalorificContentValue value 723 and I would like to retrieve an individual called QuattroFormaggio.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

祁梦 2024-09-11 05:03:34

如果您有 OWL 文件,那么您可以使用 OWLAPI 以编程方式访问、编辑和查询您的本体,而无需使用Protege。在 OWLAPI 示例页面上有一些代码示例,描述了如何对您的询问。

If you have an OWL file then you can use the OWLAPI to programatically access, edit and query your ontology without having to use Protege. On the OWLAPI examples page there are code examples that describe how you would encode your query.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文