组件:概念属性
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
关于概念属性的文本信息。 |
图示 |
|
类型 |
信息 |
属性 |
|
模型 |
name、description{0,1}、url{0,1} |
儿童 |
description、name、url |
实例 |
<info>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</info>
|
来源 |
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the concept property.</xs:documentation>
</xs:annotation>
</xs:element>
|
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
概念属性的数据类型。 |
图示 |
|
属性 |
|
属性 |
|
来源 |
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the concept property.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
</xs:complexType>
</xs:element>
|
复杂类型:概念属性
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
概念的属性(例如,城市的国家/地区)。 |
图示 |
|
使用方数量 |
|
模型 |
info{0,1}、type{0,1} |
儿童 |
info、type |
属性 |
QName |
类型 |
已修复 |
默认 |
使用 |
注解 |
概念 |
xs:QName |
|
|
可选 |
对与属性值对应的概念的引用。如果该属性指定了一个类型,则该类型必须与所引用概念的类型匹配。对外部概念的引用必须采用“前缀:other_concept_id”格式,其中“前缀”是用于外部数据集命名空间的前缀(请参阅 XML 命名空间)。 |
id |
本地 ID |
|
|
可选 |
概念属性的 ID。此标识符在概念中必须是唯一的(在各个属性之间)。如果指定了 concept 属性,则可以省略 ID。在这种情况下,系统将隐式创建一个 ID,其值为所引用概念的本地名称。例如,<property
concept="geo:country"/> 等同于 <property
id="country"
concept="geo:country"/> |
isMapping |
xs:布尔值 |
|
false |
可选 |
如果为 true,则此属性必须引用一个概念,并且此属性表示此概念与所引用概念之间的映射(一对一)。所引用概念的每个实例最多被此概念的一个实例引用。 |
isParent |
xs:布尔值 |
|
false |
可选 |
如果为 true,则此属性必须引用一个概念,并且此属性表示此概念与所引用概念之间的分层关系(例如,某个国家/地区的大洲)。 |
|
来源 |
<xs:complexType name="ConceptProperty">
<xs:annotation>
<xs:documentation>A property of a concept (e.g., the country of a city).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the concept property.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the concept property.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept property. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept property is specified. In that case, an id is
implicitly created with value the local name of the referenced concept. For instance
<property concept="geo:country"/>
is equivalent to
<property id="country" concept="geo:country"/></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concept" type="xs:QName" use="optional">
<xs:annotation>
<xs:documentation>A reference to a concept that corresponds to the values of the property.
If the property specifies a type, then the type must match the type of the
referenced concept.
A reference to an external concept must be of the form "prefix:other_concept_id",
where "prefix" is the prefix used for the namespace of the external dataset
(see XML namespaces).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isParent" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If true, then this property must reference a
concept, and this property denotes a hierarchical
relationship between this concept and the referenced
concept (e.g., the continent of a country).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isMapping" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If true, then this property must reference a
concept, and this property denotes a mapping
(1-to-1) relationship between this concept and the
referenced concept. Each instance of the referenced
concept is referenced by at most one instance of
this concept.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|
属性:概念属性 / 类型 / @ref
命名空间 |
没有命名空间 |
类型 |
DataType |
属性 |
|
属性 |
枚举 |
字符串 |
|
枚举 |
float |
|
枚举 |
integer |
|
枚举 |
布尔值 |
|
枚举 |
date |
|
枚举 |
concept |
|
|
使用方数量 |
|
来源 |
<xs:attribute name="ref" type="DataType" use="required"/>
|
属性:概念属性 / @id
命名空间 |
没有命名空间 |
注释 |
概念属性的 ID。此标识符在概念中必须是唯一的(在各个属性之间)。如果指定了概念属性,则可以省略此 ID。在这种情况下,系统将隐式创建一个 ID,其值为所引用概念的本地名称。
例如,<property concept="geo:country"/> 等同于 <property id="country"
concept="geo:country"/> |
类型 |
本地 ID |
属性 |
|
属性 |
|
使用方数量 |
|
来源 |
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept property. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept property is specified. In that case, an id is
implicitly created with value the local name of the referenced concept. For instance
<property concept="geo:country"/>
is equivalent to
<property id="country" concept="geo:country"/></xs:documentation>
</xs:annotation>
</xs:attribute>
|
属性:概念属性/ @concept
命名空间 |
没有命名空间 |
注释 |
对与属性值对应的概念的引用。如果该属性指定了一个类型,则该类型必须与所引用概念的类型匹配。对外部概念的引用必须采用“前缀:other_concept_id”格式,其中“前缀”是指用于外部数据集的命名空间(请参阅 XML 命名空间)的前缀。 |
类型 |
xs:QName |
属性 |
|
使用方数量 |
|
来源 |
<xs:attribute name="concept" type="xs:QName" use="optional">
<xs:annotation>
<xs:documentation>A reference to a concept that corresponds to the values of the property.
If the property specifies a type, then the type must match the type of the
referenced concept.
A reference to an external concept must be of the form "prefix:other_concept_id",
where "prefix" is the prefix used for the namespace of the external dataset
(see XML namespaces).</xs:documentation>
</xs:annotation>
</xs:attribute>
|
属性:概念属性 / @isParent
命名空间 |
没有命名空间 |
注释 |
如果为 true,则此属性必须引用一个概念,并且此属性表示此概念与所引用概念(例如某个国家/地区的大洲)之间的层级关系。 |
类型 |
xs:布尔值 |
属性 |
而应使用以下命令: |
可选 |
default: |
false |
|
使用方数量 |
|
来源 |
<xs:attribute name="isParent" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If true, then this property must reference a
concept, and this property denotes a hierarchical
relationship between this concept and the referenced
concept (e.g., the continent of a country).</xs:documentation>
</xs:annotation>
</xs:attribute>
|
属性:概念属性/ @isMapping
命名空间 |
没有命名空间 |
注释 |
如果为 true,则此属性必须引用一个概念,并且此属性表示此概念与所引用概念之间的映射(一对一)。所引用概念的每个实例最多被此概念的一个实例引用。 |
类型 |
xs:布尔值 |
属性 |
而应使用以下命令: |
可选 |
default: |
false |
|
使用方数量 |
|
来源 |
<xs:attribute name="isMapping" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>If true, then this property must reference a
concept, and this property denotes a mapping
(1-to-1) relationship between this concept and the
referenced concept. Each instance of the referenced
concept is referenced by at most one instance of
this concept.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
使用 oXygen XML 编辑器创建。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-01-19。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]