加载中…
个人资料
hmilymm
hmilymm
  • 博客等级:
  • 博客积分:0
  • 博客访问:116,955
  • 关注人气:26
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
相关博文
推荐博文
谁看过这篇博文
加载中…
正文 字体大小:

Friend of Friend(FOAF)

(2011-09-22 09:08:21)
标签:

语义网

semantic

web

foaf

it

分类: 语义网

1Friend of Friend(FOAF)

1)什么是FOAF

The basic idea behind FOAF is simple: the Web is all about making connections between things. FOAF provides some basic machinery to help us tell the Web about the connections between the things that matter to us.

FOAF的基本想法是很简单的:Web就是要将所有的事物链接起来。FOAF提供了一些基本的机制,来帮助我们如何将与我们有关的Web信息链接起来。

Thousands of people already do this on the Web by describing themselves and their lives on their home page. Using FOAF, you can help machines understand your home page, and through doing so, learn about the relationships that connect people, places and things described on the Web. FOAF uses W3C's RDFtechnology to integrate information from your home page with that of your friends, and the friends of your friends, and their friends

成千上万的人们已经在个人主页上描述了他们自己和他们的生活,使用FOAF,你可以帮助机器理解你的主页,从而可以学习网页上互联人群、地点、事物等之间的关系。FOAF使用W3CRDF技术来整合你主页上的信息和你朋友的信息,还有朋友的朋友的信息。

2Goals

We want a better way of keeping track of the scattered fragments of data currently represented in the Web.

FOAF的目标是寻找一种更好的方式来记录,目前Web上呈现的分散的数据片段。

We want to be able to find documents in the Web based on their properties and inter-relationships; we want to be able to find information about people based on their publications, employment details, group membership and declared interests. We want to be able to share annotations, ratings, bookmarks and arbitrary useful data fragments using some common infrastructure. We want a Web search system that's more like a database and less like a lucky dip. We need it to be be distributed, decentralised, and content-neutral.

FOAF想能够利用文档的属性及其内部联系来寻找Web上的文档;能够基于人们的作品、工作信息、成员资格和兴趣等来寻找人们的信息。能够使用一些通用的基础结构来分享注解、等级、书签和任意有用的信息片段;创建一个类似数据库的精确的搜索系统,而不是单纯的碰运气;因此FOAF必须是分布式的、离散化的,并且内容是独立的。

FOAF, if successful, should help the Web do the sorts of things that are currently the proprietary offering of centralised services.

如果FOAF成功了,那么它将帮助做各种各样的事情,而不需要私人提供的集中的服务。

RDF seems to offer a lot of promise in this area. While RDF is defined in terms of a rather abstract information model, our needs are rather practical. We want to be able to ask the Web sensible questions and common kinds of thing (documents, organisations, people) and get back sensible results.

RDF提供了这个领域的许多实现。但是RDF的定义多是抽象的信息模型,FOAF需要更实际的模型,FOAF想要能够在Web上查询明确的问题和普通的各种事情(如文档、组织、人)并且想要得到明确的结果。

"Find me today's web page recommendations made by people who work for Medical organisations".

给我找出今天推荐网页的人中谁在医疗组织中工作。

"Find me recent publications by people I've co-authored documents with."

给我找出与我共同发表文档的人的最近的作品。

"Show me critiques of this web page, and the home pages of the author of that critique"

显示这个网页的评论和评论作者的主页。

3Saying things in RDF

At the heart of the RDF is an information model based around the idea of simple 3-part sentences such as "dan hometown-name bristol", or "martin homepage-url http://weird.co.uk/". It turns out that this somewhat stilted way of describing things can be very expressive, since RDF allows anyone to define new terms such as 'homepage', 'hometown', 'bestFriendHomepage' and so on. The FOAF starter vocabulary provides some basic terms such as these to provide a common language for machine-readable homepages. RDF allows multiple such languages to be mixed together - for example, you can use the "Dublin Core" vocabulary to describe documents you've written or contributed to.

RDF的核心是一个信息模型,它的思想是将一个句子分成三部分,例如“dan hometown-name bristol”,"dan hometown-name bristol""martin homepage-url http://weird.co.uk/"等,显然这种描述事物的方法显得有点呆板而且代价较高,因为RDF允许任何人定义新的术语,例如'homepage', 'hometown', 'bestFriendHomepage'等等。FOAFstarter vocabulary提供了一些基本的词汇,例如那些提供为机器可读主页提供通用语言的词汇。RDF允许多种这样的语言混合使用,比如,你可以使用Dublin Core的词汇来描述你写作的文档。

The FOAF system itself doesn't care much about what you say, but about the way in which you say it. By using a carefully designed file format and a simple common information model, we can build a distributed database in which anyone can say anything about anything

FOAF系统本身并不关心你在说什么,而只关心你所说的方式,通过使用一个经过细心设计的文件格式和简单的通用信息模型,我们可以建立一个分布式数据库,在这里面人们可以谈论任何事情。

By squashing our information into the simple 3-part-sentence framework, we can build systems that automatically combines such data from multiple sources.

通过将信息压缩成简单的3-part-sentence框架,我们就可以建立一个可以自动连接多种信息源的这种数据。

4Starter Vocabulary (updated in 2008)

The starter vocabulary for FOAF combines some basic RDF vocabulary we invented for the project, plus other useful existing vocabulary such as the Dublin Core metadata elements. The Friend of a Friend (FOAF) vocabulary provides the basics. This XML namespace defines RDF properties useful for FOAF applications.

FOAFstarter vocabulary结合了我们自己为FOAF项目发明的一些基本RDF词汇,并且添加了其他现存的有用的词汇表,如Dublin Core元数据元素。FOAF词汇表只提供一些基本的词汇。XML命名空间定义了对FOAF应用有用的RDF属性。

In the original project, this was flagged as "version 0.1" to indicate it as a work-in-progress. The vocabulary has grown substantially since then, but we have made the choice to evolve it "in place", adding items into a growing dictionary of terms whose formal identifier remains 'http://xmlns.com/foaf/0.1/'. Today, the '0.1' is best thought of as '1.0' approached backwards. We version FOAF's terms individually, and mark each as 'stable', 'unstable' or 'testing' to provide a hint to implementors. This design allows us to avoid costly versioning problems, and for the specification to be gradually improved without causing a needless proliferation of vocabulary version identifiers.

在项目的初期,"version 0.1"表明FOAF还只是个半成品。词汇表正是从那时开始增长的,但是我们选择了在适当的地方改进了该词汇表,向增长的术语字典中增加了一些词汇,但他们的正是形式标识符仍然是'http://xmlns.com/foaf/0.1/',现在FOAF发展到了"version 1.0",我们自己定制FOAF词汇的版本,并将其用'stable', 'unstable' 或者 'testing'来标识,以显示其实现的层次,这样可以解决版本问题。

-----------------根据FOAF官方网站http://www.foaf-project.org/上的内容翻译出来的。在此与大家交流。

0

阅读 评论 收藏 转载 喜欢 打印举报/Report
  • 评论加载中,请稍候...
发评论

    发评论

    以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

      

    新浪BLOG意见反馈留言板 电话:4000520066 提示音后按1键(按当地市话标准计费) 欢迎批评指正

    新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

    新浪公司 版权所有