如何在 Protégé 中使用 OWL 解决爱因斯坦之谜时获得单独的结果?

发布于 2024-10-01 17:59:56 字数 313 浏览 5 评论 0原文

I would like to better understand ontologies and reasoning. There is an interesting puzzle called Einstein's riddle on the net that can be solved with the help of ontologies and reasoning. I downloaded the OWL ontology from that site and imported it into Protege 4.0.2 (does not work with 4.1). I can start a reasoner by Reasoner → FaCT++, Reasoner → Classify…, but i don't know, how to visualize the individual results. How can I do this?

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

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

发布评论

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

评论(2

浪菊怪哟 2024-10-08 17:59:57

推理程序完成后,转到 Individuals-tab 并查找具有黄色背景的公理。这些公理是蕴含公理。如果谜题的组成部分(即男人、宠物、饮料等)已被建模为 OWL 个体,那么您将看到推理器在这些个体之间找到的一些新的对象属性断言。

还有其他选项可以查看蕴涵:

  • View ->本体视图->分类结果将显示蕴含公理列表。但它可能不会显示所有蕴含公理,例如我已经用 Protege 4.1 尝试过,但没有看到任何蕴含对象属性断言。
  • DL Query 选项卡中,您可以输入类表达式并列出其所有子类和个体(包括继承的子类和个体)。这可能是探索蕴涵的最自然的方式。

另请参阅:

After the reasoner has finished go to the Individuals-tab and look for axioms that have a yellow background. These axioms are the entailed ones. If the components of the puzzle (i.e. the men, pets, drinks, etc.) have been modeled as OWL individuals then you would see some new object property assertions that the reasoner has found between these individuals.

There are also other options for seeing the entailments:

  • View -> Ontology views -> Classification Results will show the list of entailed axioms. It might not show all the entailed axioms though, e.g. I've tried it with Protege 4.1 and didn't see any entailed object property assertions.
  • In the DL Query tab you can type in a class expression and have all its subclasses and individuals (including the entailed ones) listed. This might be the most natural way of exploring the entailments.

See also:

蓝礼 2024-10-08 17:59:56

您可以通过两种方式可视化结果。首先,当您选择“类”选项卡时,您将看到有两个可用视图:“类层次结构”视图,即断言的分类法和“类层次结构视图(推断)”,即顾名思义,推断的。这给了你班级观点。正如 Kaarel 所建议的,您可以在“个人”选项卡中可视化个人推理。

Protege 还允许您向 UI 添加许多其他个人视图:创建一个新的空选项卡,然后从“视图”菜单下的“个人视图”子菜单中选择一个视图。最后,您可以使用许多外部图形工具来可视化:如果您断言推断的层次结构并将其保存到文件(在 RDF-XML 中),则可以使用诸如 Welkin, IsaViz 等以获得图形表示。

There are two ways in which you can visualise the results. Firstly, when you select the "Classes" Tab, you will see that there are two views available to you: the "Class hierarchy" view, which is the asserted taxonomy and the "Class Hierarchy View (inferred)", which is, as the name suggests, the inferred one. That gives you the class views. As Kaarel suggests, you can visualise the individuals reasoning in the Individuals tab.

Protege also allows you to add a number of other individuals views to the UI: make a new empty tab and then choose a view from the "Individuals View" sub-menue under the "Views" menue. Finally, you can use a number of external graphical tools to visualise: if you assert the inferred hierarchy and save it out to a file (in RDF-XML), you can then use tools such as Welkin, IsaViz etc. to get graphical representations.

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