组件:概念

元素:概念/信息

命名空间 http://schemas.google.com/dspl/2010
注释 文本信息,例如概念的名称和说明。
图示 图示 dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6 dspl13.tmp#id40 dspl13.tmp#id41 dspl13.tmp#id42 dspl13.tmp#id39
类型 概念信息
类型层次结构
属性
content: 复杂
模型 namedescription{0,1}url{0,1}pluralName{0,1}totalName{0,1}同义词*
儿童 descriptionnamepluralNamesynonymtotalNameurl
实例
<info>
  <name>{1,1}</name>
  <description>{0,1}</description>
  <url>{0,1}</url>
</info>
来源
<xs:element name="info" type="ConceptInfo">
  <xs:annotation>
    <xs:documentation>Textual information, such as the name and description of
            the concept.</xs:documentation>
  </xs:annotation>
</xs:element>

元素:概念/主题

命名空间 http://schemas.google.com/dspl/2010
注释 与概念相关联的主题
图示 图示 dspl6.tmp#id44
属性
content: 复杂
minOccurs: 0
maxOccurs: 无界限
属性
QName 类型 已修复 默认 使用 注解
参考 xs:QName 可选 此概念所关联主题的唯一标识符。引用的主题可以在同一个数据集中定义,也可以在外部进行定义,即在另一个数据集中定义。对外部主题的引用必须采用“前缀:other_topic_id”格式,其中“前缀”是用于外部数据集的命名空间的前缀(请参阅 XML 命名空间)。
来源
<xs:element name="topic" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>A topic the concept is associated with.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="ref" type="xs:QName">
      <xs:annotation>
        <xs:documentation>The unique identifier of the topic this concept is
                associated with.

                The referenced topic may be defined in the same
                dataset or externally, i.e., in another dataset. A
                reference to an external topic must be of the form
                "prefix:other_topic_id", where "prefix" is the prefix
                used for the namespace of the external dataset (see
                XML namespaces).</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

元素:概念/类型

命名空间 http://schemas.google.com/dspl/2010
注释 概念的数据类型。概念必须提供类型声明或扩展其他概念。在对概念进行扩展的情况下,它还可能会提供类型声明。扩展概念的类型限制必须比扩展该概念的类型限制小。“限制性小于”(LRT) 是顺序定义如下的部分内容:字符串 LRT float float LRT 整数字符串 LRT 日期字符串 LRT 布尔值
图示 图示 dspl6.tmp#id46
属性
content: 复杂
minOccurs: 0
属性
QName 类型 已修复 默认 使用 注解
参考 DataType 必需
来源
<xs:element name="type" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The data type of the concept. A concept must provide a type declaration or extend
            another concept. In the case where it's extending a concept, it may also
            provide a type declaration. The type of the extended concept must be less restrictive
            than the type of the concept extending it.

            "Less restrictive than" (LRT) is a partial order defined as follows:

            string LRT float
            float LRT integer
            string LRT date
            string LRT boolean</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="ref" type="DataType" use="required"/>
  </xs:complexType>
</xs:element>

元素:概念/属性

命名空间 http://schemas.google.com/dspl/2010
注释 概念的特性。属性表示有关概念的额外信息(例如,占 GDP 的百分比)。
图示 图示 dspl14.tmp#id24 dspl14.tmp#id26 dspl14.tmp#id19 dspl14.tmp#id20 dspl0.tmp#id10 dspl0.tmp#id12 dspl0.tmp#id9 dspl14.tmp#id18
类型 特性
属性
content: 复杂
minOccurs: 0
maxOccurs: 无界限
模型 info{0,1}type{0,1}、(value* | conceptValue{0,1}
儿童 conceptValueinfotypevalue
实例
<attribute concept="" id="">
  <info>{0,1}</info>
  <type format="" ref="">{0,1}</type>
</attribute>
属性
QName 类型 已修复 默认 使用 注解
概念 xs:QName 可选 对与属性值对应的概念的引用。如果属性指定类型,则该类型必须与所引用概念的类型匹配。对外部概念的引用必须采用“前缀:other_concept_id”格式,其中“前缀”是用于外部数据集命名空间的前缀(请参阅 XML 命名空间)。
id 本地 ID 可选 概念属性的 ID。此标识符在概念中必须是唯一的(在各个属性之间)。如果指定了概念属性,则可以省略此 ID。在这种情况下,系统将隐式创建一个 ID,其值为所引用概念的本地名称。例如,<attribute concept="unit:currency"/> 相当于 <attribute id="currency" concept="unit:currency"/>
来源
<xs:element name="attribute" type="Attribute" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>An attribute of the concept. Attributes represent additional
            information about the concept (e.g., GDP is a percentage).</xs:documentation>
  </xs:annotation>
</xs:element>

元素:概念/属性

命名空间 http://schemas.google.com/dspl/2010
注释 概念的属性。属性表示有关概念的实例的更多信息(例如,“city”概念可能具有“country”属性)。
图示 图示 dspl8.tmp#id53 dspl8.tmp#id54 dspl8.tmp#id55 dspl8.tmp#id56 dspl8.tmp#id50 dspl8.tmp#id51 dspl8.tmp#id49
类型 概念属性
属性
content: 复杂
minOccurs: 0
maxOccurs: 无界限
模型 info{0,1}type{0,1}
儿童 infotype
实例
<property concept="" id="" isMapping="false" isParent="false">
  <info>{0,1}</info>
  <type ref="">{0,1}</type>
</property>
属性
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:element name="property" type="ConceptProperty" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>A property of the concept. Properties represent additional
            information about instances of the concept (e.g., a concept
            "city" may have a property "country").</xs:documentation>
  </xs:annotation>
</xs:element>

元素:概念 / defaultValue

命名空间 http://schemas.google.com/dspl/2010
注释 概念的默认值,当应用需要选择概念的可能值之一时使用。
图示 图示 dspl0.tmp#id10 dspl0.tmp#id12 dspl0.tmp#id9 dspl3.tmp#id8
类型
属性
content: 复杂
minOccurs: 0
模型 值* | conceptValue{0,1}
儿童 conceptValuevalue
实例
<defaultValue>
  <value lang="">{0,unbounded}</value>
  <conceptValue concept="">{0,1}</conceptValue>
</defaultValue>
来源
<xs:element name="defaultValue" type="Values" minOccurs="0">
  <xs:annotation>
    <xs:documentation>A default value for the concept, to be used by
            applications when they need to pick one of the possible
            values of the concept.</xs:documentation>
  </xs:annotation>
</xs:element>

元素:概念/表

命名空间 http://schemas.google.com/dspl/2010
注释 对表的引用,该表包含概念及其非常量属性的所有可能值。
图示 图示 dspl5.tmp#id65 dspl5.tmp#id60 dspl5.tmp#id62 dspl5.tmp#id59
类型 概念表映射
属性
content: 复杂
minOccurs: 0
模型 mapconcept{0,1}mapProperty*
儿童 mapconceptmapProperty
实例
<table ref="">
  <mapConcept toColumn="">{0,1}</mapConcept>
  <mapProperty lang="" ref="" toColumn="">{0,unbounded}</mapProperty>
</table>
属性
QName 类型 已修复 默认 使用 注解
参考 本地 ID 必需 包含此概念的数据的表的 ID。
来源
<xs:element name="table" type="ConceptTableMapping" minOccurs="0">
  <xs:annotation>
    <xs:documentation>A reference to a table that contains all the
            possible values for the concept and its non-constant
            properties.</xs:documentation>
  </xs:annotation>
</xs:element>

复杂类型:概念

命名空间 http://schemas.google.com/dspl/2010
注释 概念是数据集中出现的数据类型的定义(例如,“GDP”或“郡/县”)。概念可以与所有可能值的枚举相关联。一些数据集中定义的某个概念可能也会在其他数据集内引用。
图示 图示 dspl6.tmp#id66 dspl6.tmp#id67 dspl6.tmp#id38 dspl6.tmp#id43 dspl6.tmp#id45 dspl6.tmp#id47 dspl6.tmp#id48 dspl6.tmp#id57 dspl6.tmp#id58
使用方数量
元素 dspl/concepts/concept
模型 infotopic*type{0,1}attribute*property*defaultValue{0,1}table{0,1}
儿童 attributedefaultValueinfopropertytabletopictype
属性
QName 类型 已修复 默认 使用 注解
扩展 xs:QName 可选 此概念扩展的概念的唯一标识符。引用的概念可以在同一个数据集中定义,也可以在外部进行定义,即在另一个数据集内进行定义。对外部概念的引用必须采用“前缀:other_concept_id”格式,其中“前缀”是用于外部数据集命名空间的前缀(请参阅 XML 命名空间)。
id ID 必需 概念的唯一标识符,必须在数据集内保持全局唯一。
来源
<xs:complexType name="Concept">
  <xs:annotation>
    <xs:documentation>A concept is a definition of a type of data that appears in the
        dataset (e.g., "GDP" or "County").  A concept may be associated with
        an enumeration of all its possible values or not. A concept defined in
        some dataset may be referenced in other datasets.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="info" type="ConceptInfo">
      <xs:annotation>
        <xs:documentation>Textual information, such as the name and description of
            the concept.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="topic" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>A topic the concept is associated with.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:attribute name="ref" type="xs:QName">
          <xs:annotation>
            <xs:documentation>The unique identifier of the topic this concept is
                associated with.

                The referenced topic may be defined in the same
                dataset or externally, i.e., in another dataset. A
                reference to an external topic must be of the form
                "prefix:other_topic_id", where "prefix" is the prefix
                used for the namespace of the external dataset (see
                XML namespaces).</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:complexType>
    </xs:element>
    <xs:element name="type" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The data type of the concept. A concept must provide a type declaration or extend
            another concept. In the case where it's extending a concept, it may also
            provide a type declaration. The type of the extended concept must be less restrictive
            than the type of the concept extending it.

            "Less restrictive than" (LRT) is a partial order defined as follows:

            string LRT float
            float LRT integer
            string LRT date
            string LRT boolean</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:attribute name="ref" type="DataType" use="required"/>
      </xs:complexType>
    </xs:element>
    <xs:element name="attribute" type="Attribute" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>An attribute of the concept. Attributes represent additional
            information about the concept (e.g., GDP is a percentage).</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="property" type="ConceptProperty" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>A property of the concept. Properties represent additional
            information about instances of the concept (e.g., a concept
            "city" may have a property "country").</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="defaultValue" type="Values" minOccurs="0">
      <xs:annotation>
        <xs:documentation>A default value for the concept, to be used by
            applications when they need to pick one of the possible
            values of the concept.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="table" type="ConceptTableMapping" minOccurs="0">
      <xs:annotation>
        <xs:documentation>A reference to a table that contains all the
            possible values for the concept and its non-constant
            properties.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="id" type="Id" use="required">
    <xs:annotation>
      <xs:documentation>The unique identifier of the concept, which must be globally
          unique within the dataset.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="extends" type="xs:QName" use="optional">
    <xs:annotation>
      <xs:documentation>The unique identifier of a concept that this
          concept extends.

          The referenced concept may be defined in the same
          dataset or externally, i.e., in another dataset. 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:complexType>

属性:概念/主题/ @ref

命名空间 没有命名空间
注释 此概念所关联主题的唯一标识符。引用的主题可以在同一个数据集中定义,也可以在外部进行定义,即在另一个数据集中定义。对外部主题的引用必须采用“前缀:other_topic_id”格式,其中“前缀”是指用于外部数据集的命名空间(请参阅 XML 命名空间)的前缀。
类型 xs:QName
属性
content: simple
使用方数量
元素 概念/主题
来源
<xs:attribute name="ref" type="xs:QName">
  <xs:annotation>
    <xs:documentation>The unique identifier of the topic this concept is
                associated with.

                The referenced topic may be defined in the same
                dataset or externally, i.e., in another dataset. A
                reference to an external topic must be of the form
                "prefix:other_topic_id", where "prefix" is the prefix
                used for the namespace of the external dataset (see
                XML namespaces).</xs:documentation>
  </xs:annotation>
</xs:attribute>

属性:概念 / 类型 / @ref

命名空间 没有命名空间
类型 DataType
属性
而应使用以下命令: 必需
属性
枚举 字符串
枚举 float
枚举 integer
枚举 布尔值
枚举 date
枚举 concept
使用方数量
元素 概念/类型
来源
<xs:attribute name="ref" type="DataType" use="required"/>

属性:概念/ @id

命名空间 没有命名空间
注释 概念的唯一标识符,必须在数据集中具有全局唯一性。
类型 ID
属性
而应使用以下命令: 必需
属性
maxLength 64
使用方数量
复杂类型 概念
来源
<xs:attribute name="id" type="Id" use="required">
  <xs:annotation>
    <xs:documentation>The unique identifier of the concept, which must be globally
          unique within the dataset.</xs:documentation>
  </xs:annotation>
</xs:attribute>

属性:概念 / @extends

命名空间 没有命名空间
注释 此概念扩展的概念的唯一标识符。 引用的概念可以在同一个数据集中定义,也可以在外部进行定义,即在另一个数据集中定义。对外部概念的引用必须采用“前缀:other_concept_id”格式,其中“前缀”是用于外部数据集命名空间的前缀(请参阅 XML 命名空间)。
类型 xs:QName
属性
而应使用以下命令: 可选
使用方数量
复杂类型 概念
来源
<xs:attribute name="extends" type="xs:QName" use="optional">
  <xs:annotation>
    <xs:documentation>The unique identifier of a concept that this
          concept extends.

          The referenced concept may be defined in the same
          dataset or externally, i.e., in another dataset. 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>

使用 oXygen XML 编辑器创建。