当前位置: 首页 > 网络学院 > XML相关教程 > RDF > RDF 规则

RDF
RDF 介绍
RDF 规则
RDF 实例
RDF 元素
RDF 容器
RDF 集合
RDF Schema
RDF 都柏林核心
RDF 参考
RDF OWL

RDF 规则


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 665 ::
收藏到网摘: n/a

RDF uses Web identifiers (URIs) to identify resources.
RDF使用网页识别器(URIs)识别资源。

RDF describes resources with properties and property values.
RDF使用属性和属性值来描述资源。


RDF Resource, Property, and Property Value
RDF 资源、属性、属性值

RDF identifies things using Web identifiers (URIs), and describes resources with properties and property values.
RDF 使用 Web 标识符来标识事物,并通过属性和属性值来描述资源。

Explanation of Resource, Property, and Property value:
对资源、属性和属性值的解释:

  • A Resource is anything that can have a URI, such as http://www.ruanchen.com/learn/view/doc/rdf_intro/ 
    资源是可拥有 URI 的任何事物,比如:http://www.ruanchen.com/learn/view/doc/rdf_intro/
  • A Property is a Resource that has a name, such as "author" or "homepage"
    属性是拥有名称的资源,比如:"author"(作者) 或 "homepage"(主页)
  • A Property value is the value of a Property, such as "Jan Egil Refsnes" or "http://www.ruanchen.com" (note that a property value can be another resource)
    属性值是某个属性的值,比如 "David" 或 "http://www.w3school.com.cn" (请注意一个属性值可以是另外一个资源)

The following RDF document could describe the resource :
下面的 RDF 文档可描述资源 "http://www.ruanchen.com/learn/view/doc/rdf_intro/":

<?xml version="1.0"?>
<RDF>
<Description about="http://www.ruanchen.com/tech/school/rdf">

<author>Jan Egil Refsnes</author>
<homepage>http://www.ruanchen.com</homepage>
</Description>
</RDF>

 The example above is simplified. Namespaces are omitted.
提示上面是一个简化的例子。命名空间被忽略了。


RDF Statements
RDF 陈述

The combination of a Resource, a Property, and a Property value forms a Statement (known as the subject, predicate and object of a Statement).
资源、属性和属性值的组合可形成一个陈述(被称为陈述的主体谓语客体)。

Let's look at some example statements to get a better understanding:
请看一些陈述的具体例子,来加深理解:

Statement: "The author of http://www.ruanchen.com/tech/school/rdf is Jan Egil Refsnes".
称述:"The author of http://www.ruanchen.com/tech/school/rdf is Jan Egil Refsnes".

Statement: "The homepage of http://www.ruanchen.com/tech/school/rdf is http://www.ruanchen.com".
陈述:: "The homepage of http://www.ruanchen.com/tech/school/rdf is http://www.ruanchen.com".

评论 (0) All

登陆 | 还没注册?