在 Protege-OWL 编辑器中显示关系
我已经在 Protege 中为我的本体创建了一个基本的类层次结构- OWL 编辑器版本 4.1。但除了正常的层次结构或“is-a”关系之外,我无法可视化 OwlViz 中类之间的对象属性和关系。那么请告诉我如何使用 OwlViz 或 OntoGraf 显示“对象属性”?或者我需要在相应的owl/xml 文件中进行一些修改吗?
I have created a basic Class hierarchy for my ontology in Protege-OWL Editor version 4.1. But I am not able to visualise Object Properties and relations between the classes in OwlViz other than the normal hierarchy or "is-a" relationship. So please tell me how to display "object properties" using OwlViz or OntoGraf ? or do I need to make some modifications in corresponding owl/xml file ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不,修改对你没有帮助。 OWL 中的对象属性不在类之间保留,而仅在实例之间保留。例如,在 OWL(可判定片段)中,Government 和 Embassy 之间不可能存在关系,而只能在它们的实例之间存在关系。如果政府以“USGovernment”作为实例,大使馆以“USEmbassyInEthiopia”为例,您可以断言两者之间存在关系(可能是embassy-of) 。
在类之间,您可以断言公理。例如,您可以声明所有大使馆必须是某个政府的大使馆(大使馆子类:某个政府的大使馆)。
如果您有兴趣可视化这些关系,您可能需要查看一些基于图形的本体开发工具,例如 OBOEdit。
No, modifications will not help you. Object properties in OWL do not hold between classes but only between instances. For example, it is not possible to have a relation between Government and Embassy in (the decidable fragment of) OWL, but only between their instances. If Government has "USGovernment" as instance and Embassy "USEmbassyInEthiopia", you can assert that a relation (maybe embassy-of) holds between both.
Between classes, you can assert axioms. For example, you can state that all embassies must be an embassy-of some Government (Embassy SubClassOf: embassy-of some Government).
If you are interested in visualizing these relations, you may want to look at some graph-based ontology development tools such as OBOEdit.
Top Braid Composer 提供对 OWL 本体、模式和实例以及 SPARQL 查询结果可视化的全功能支持。它是一个商业产品,但有一个功能非常丰富的免费版本。
Top Braid Composer has full featured support for visualizing OWL Ontologies, schema and instances and SPARQL query results. It is a commercial product, but there is a free edition that is pretty feature rich.
这没有道理。门生允许这样做。当您在类之间创建关系并在 Ontograph 中显示时,关系描述不会显示,但当您将光标移动到线上时,它们会显示。时间
This doesn't make sense. Protege allows this. When you create relationships between classes and display in Ontograph the relationships descriptions aren't show but when you move the cursor over the line they appear. T