简体   繁体   English

如何将FOAF用作另一种本体的一部分?

[英]How to use FOAF as part of another ontology?

I want to have a class Professor which will have some properties: name, surname and nationality. 我想要一个班级Professor ,该Professor将具有一些属性:姓名,姓氏和国籍。

Now I just created a class Professor , a class Person and a class Nationality , and some data properties for name and surname and an object property hasNationaity to relate a professor with a nationality. 现在,我刚刚创建了一个Professor类,一个Person和一个Nationality类,以及一些用于namesurname数据属性以及一个对象属性hasNationaity来将教授与国籍联系起来。

Does it make sense to use FOAF for Person and maybe something like Group and member for the nationalities? Person使用FOAF是否有意义,对于国籍可能使用Groupmember类的东西?

To do so I would need to import FOAF, right? 为此,我需要导入FOAF,对吗?

I guess my main question is what are the reasons that justify importing an upper ontology? 我想我的主要问题是,证明导入上层本体是合理的原因是什么? and is this what people normally do? 人们通常会这样做吗?

In any case the ontology, in Turtle, is available here on GitHub. 在任何情况下,本体论,在龟,可在这里 GitHub上。

Ontologies and more generally "Semantic web technologies" are dedicated to knowledge pooling. 本体以及更普遍的“语义网络技术”致力于知识共享。

As Sire Tim Berners-Lee specified in its 5-Stars Ranking on Open Data , the best level of opening is reached when you "link your data to other data to provide context". 正如Sire Tim Berners-Lee在其“开放数据的5星级排名”中所指定的那样,当您“将数据链接到其他数据以提供上下文”时,可以达到最佳的开放水平。 So it is a good thing ! 所以这是一件好事!

About the "import", not all the FOAF ontology is mandatory in your case I think. 关于“导入”,我认为并不是所有的FOAF本体都是强制性的。 Importing all statements of an ontology is, in my experience, important when you need to implement many resources relative to the upper-ontology (Graph browsing, structure modification, ...) On the other hand, the simple use of prefixes can solve many problem without weighing an application: 以我的经验,导入一个本体的所有语句非常重要,这在您需要实现许多与上本体相关的资源时(图形浏览,结构修改等)。另一方面,简单地使用前缀可以解决很多问题。没有权衡一个应用程序的问题:

xmlns:foaf="http://xmlns.com/foaf/0.1/#"

About the nationality question, Group from FOAF can be a solution. 关于国籍问题,FOAF的Group可以解决。 Nota Bene that other ontologies may provide suited answer like YAGO ( Yet Another Great Ontology ). Nota Bene认为其他本体可以提供合适的答案,例如YAGO( 另一个伟大本体 )。 Some may create multiple imports/connections to increase the contextualisaiton of their Knowledge Base. 有些人可能会创建多个导入/连接以增加其知识库的上下文关联。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM