Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3353013
  • 博文数量: 530
  • 博客积分: 13360
  • 博客等级: 上将
  • 技术积分: 5473
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-13 13:32
文章分类

全部博文(530)

文章存档

2017年(1)

2015年(2)

2013年(24)

2012年(20)

2011年(97)

2010年(240)

2009年(117)

2008年(12)

2007年(8)

2006年(9)

分类: 系统运维

2009-08-17 10:38:49

为了方便快速查找,对OWL和RDFS中内建词汇(Built-in Vocabulary)和相关名字空间作了一点简单总结。
1. 名字空间:(RDF语法表示)
    xml:base ="
"
    xmlns     =""
    xmlns:eg =""
    xmlns:owl =""
    xmlns:rdf =""
    xmlns:rdfs=""
    xmlns:xsd ="">
第一个是默认的URI,如果不指明URI时使用这个,第二个是默认名字空间,第三个是自定义名字空间,用的时候替换成你自己的;后面几个是官方的名字空间。

2. OWL/RDFS常用词汇:
类词汇:
owl:Thing         任何东西,声明个体。
owl:Class         声明类。
属性词汇:
rdf:type             类型。
rdfs:subClassOf   子类。
rdfs:domain       原集。
rdfs:range        象集。
rdfs:subPropertyOf 子属性。
数据类型:
xsd:string        字符串。
xsd:int           整数。
xsd:unsignedInt   无符号整数。
xsd:float         浮点型。
xsd:double        双精度浮点型。
xsd:boolean       布尔型。
xsd:byte          字节型。
xsd:dateTime      日期时间型。

3. OWL/RDFS类词汇汇总
OWL全部词汇:

[OWL Reference]
(this document)
[]
(normative)
[]
(examples)




RDFS全部词汇:
类词汇:

Class name comment
rdfs:Resource The class resource, everything.
rdfs:Literal The class of literal values, e.g. textual strings and integers.
rdf:XMLLiteral The class of XML literals values.
rdfs:Class The class of classes.
rdf:Property The class of RDF properties.
rdfs:Datatype The class of RDF datatypes.
rdf:Statement The class of RDF statements.
rdf:Bag The class of unordered containers.
rdf:Seq The class of ordered containers.
rdf:Alt The class of containers of alternatives.
rdfs:Container The class of RDF containers.
rdfs:ContainerMembershipProperty The class of container membership properties, rdf:_1, rdf:_2, ..., all of which are sub-properties of 'member'.
rdf:List The class of RDF Lists.

属性词汇:
Property name comment domain range
rdf:type The subject is an instance of a class. rdfs:Resource rdfs:Class
rdfs:subClassOf The subject is a subclass of a class. rdfs:Class rdfs:Class
rdfs:subPropertyOf The subject is a subproperty of a property. rdf:Property rdf:Property
rdfs:domain A domain of the subject property. rdf:Property rdfs:Class
rdfs:range A range of the subject property. rdf:Property rdfs:Class
rdfs:label A human-readable name for the subject. rdfs:Resource rdfs:Literal
rdfs:comment A description of the subject resource. rdfs:Resource rdfs:Literal
rdfs:member A member of the subject resource. rdfs:Resource rdfs:Resource
rdf:first The first item in the subject RDF list. rdf:List rdfs:Resource
rdf:rest The rest of the subject RDF list after the first item. rdf:List rdf:List
rdfs:seeAlso Further information about the subject resource. rdfs:Resource rdfs:Resource
rdfs:isDefinedBy The definition of the subject resource. rdfs:Resource rdfs:Resource
rdf:value Idiomatic property used for structured values (see the RDF Primer for of its usage). rdfs:Resource rdfs:Resource
rdf:subject The subject of the subject RDF statement. rdf:Statement rdfs:Resource
rdf:predicate The predicate of the subject RDF statement. rdf:Statement rdfs:Resource
rdf:object The object of the subject RDF statement. rdf:Statement rdfs:Resource

4. 数据类型汇总:
xsd:string xsd:normalizedString xsd:boolean
xsd:decimal xsd:float xsd:double
xsd:integer xsd:nonNegativeInteger xsd:positiveInteger
xsd:nonPositiveInteger xsd:negativeInteger
xsd:long xsd:int xsd:short xsd:byte
xsd:unsignedLong xsd:unsignedInt xsd:unsignedShort xsd:unsignedByte
xsd:hexBinary xsd:base64Binary
xsd:dateTime xsd:time xsd:date xsd:gYearMonth
xsd:gYear xsd:gMonthDay xsd:gDay xsd:gMonth
xsd:anyURI xsd:token xsd:language
xsd:NMTOKEN xsd:Name xsd:NCName
阅读(3969) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~