RDF基础

RDF:Resource Description Framework 资源描述框架
Resources:资源everything can be identified as a resource
Description: 描述 attributes,features,relations concerning the resource
Framework:框架 provide models languages and syntaxes模型、语言和语法
万维网联盟W3C创建于1994年,web技术领域的标准制定机构
http://www.chinaw3c.org/
https://www.w3c.org/
W3C设立4个技术领域,25个标准计划
RDF发布于1999年,as standard for encoding metadata(元数据)
元数据:机器可读,进一步自动处理web资源
RDF思想:分布信息管理的框架,机器可理解的信息交换,应用间的互操作。
W3C创建RDF核心工作组:http://www.w3.org/2001/sw/RDFCore/
RDF不仅作为语义web的基础,也为各种数据中心提供数据模型,比如政府开放数据
数据的存储方式
RDF基础_第1张图片
RDF抽象模型:将信息/知识/数据分解为小的单元,每个单元的语义由简单的规则确定
简单规则:statement 陈述,subject and object resources 主体与客体 predicate 谓词
statement:所有数据知识表示为三元组形式:主体-谓词-客体
eg:
RDF基础_第2张图片
a collection of statements is called an RDF graph, represents some given piece of information or knowledge.
eg:
RDF基础_第3张图片
a resource is anything that is being described by RDF statements
how to identify the resource: URI(uniform resource Identifier)
how does a URL look like?
two types of URI:hash URI and slash URI 散列与斜杠
slash URI:normal URI/
hash URI: normal URI +#+ fragment identifier 局部名字
full URI is too long so replace it with its XML限定名Qname
Qname: prefix + colon +a local name
eg
谓词(二元关系,属性)必须由全局的URI标识
都柏林核心集:http://dublincore.org/
so far ,we have learned that subject-predicate-object represents the knowledge and these three resources must be identified by URI , a collection of them called the RDF graph
谓词 predicate 二元关系 属性property
属性值:object/property value :文本,URI,空节点
文本:raw text data be typed by using a URI that indicated a datatype --datatype URI form:^^<…>
eg:
RDF基础_第4张图片
空结点:blank nodes 匿名结点 anonymous node no URI但有对空结点的描述
RDF基础_第5张图片
IRI:international resource identifier identifies a resource --URI
RDF Graph is a set of RDF triples
RDF dataset is a collection of RDF graphs
数据模型是实体,实体的属性和实体间关系的集合,目标是领域,概念或事物的形式化表示。

你可能感兴趣的:(知识管理)